#1B7A20

Closest named color: Tree Green (#2A7E19). oklch(50.8% 0.152 143.5), rgb(27, 122, 32).

Aa

White text reads best on this color (5.45:1).

About this color

#1B7A20 is a medium-dark, vivid green. In OKLCH its lightness is 51%, its chroma 0.152 and its hue 144°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Tree Green (#2A7E19), ΔE 0.017 away. White text reads best on it, at 5.45:1.

Hue familyGreens
Lightnessmedium-dark (51%)
Chromavivid (0.152)
Temperaturein between
Nearest nameTree Green (#2A7E19)
Black text3.85:1
White text5.45:1

Values

HEX#1B7A20
RGBrgb(27, 122, 32)
HSLhsl(123, 64%, 29%)
OKLCHoklch(50.8% 0.152 143.5)

Contrast

WCAG 2 contrast ratios are the conformance target: AA needs 4.5:1 for body text and 3:1 for large text, AAA needs 7:1. APCA Lc values are supplementary guidance from the WCAG 3 drafts.

PairWCAG 2ResultAPCAAPCA guidance
White text on #1B7A20 5.45:1 AA Lc -82.0 Fine for body text
Black text on #1B7A20 3.85:1 AA large text Lc 27.4 Dividers and decoration only
#1B7A20 text on white 5.45:1 AA Lc 76.7 Fine for body text
#1B7A20 text on black 3.85:1 AA large text Lc -25.0 Dividers and decoration only

Tints and shades

A 50–950 scale built in OKLCH: the hue is held, lightness follows a Tailwind v4-like curve, and every step is kept inside the sRGB gamut. This color sits at step 700.

  1. Step 50

    50

    #F2F7F1

    oklch(97.1% 0.01 140.5)

  2. Step 100

    100

    #E2EEE1

    oklch(93.7% 0.021 143.2)

  3. Step 200

    200

    #CAE1C8

    oklch(88.6% 0.042 143)

  4. Step 300

    300

    #A5CDA3

    oklch(80.8% 0.072 143.7)

  5. Step 400

    400

    #72B470

    oklch(70.8% 0.118 143.6)

  6. Step 500

    500

    #48A048

    oklch(63.1% 0.151 143.5)

  7. Step 600

    600

    #238A28

    oklch(55.6% 0.163 143.6)

  8. Step 700

    700 (this color)

    #1B7A20

    oklch(50.8% 0.152 143.5)

  9. Step 800

    800

    #155F19

    oklch(42.6% 0.125 143.6)

  10. Step 900

    900

    #1A4E1B

    oklch(37.6% 0.098 143.6)

  11. Step 950

    950

    #112E11

    oklch(27% 0.062 143.6)

Export this scale for Tailwind in the Tailwind colors tool

#1B7A20 with color blindness

Simulated with the Machado et al. (2009) model. ΔE is how far the color moves: below about 0.02 you would not notice a change.

VisionSeen asShift (ΔE)
Protanopia (no red cones)#7D6E110.110
Deuteranopia (no green cones)#7267290.109
Tritanopia (no blue cones)#0076680.097
Achromatopsia (no color)#6969690.153

Harmonies

Hue rotations in OKLCH that keep this color's lightness and chroma.

Complementary

The opposite hue (180°).

  • #1B7A20

    #1B7A20

    oklch(50.8% 0.152 143.5)

  • #8D4196

    #8D4196

    oklch(50.7% 0.151 323.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #1B7A20

    #1B7A20

    oklch(50.8% 0.152 143.5)

  • #666C00

    #666C00

    oklch(50.9% 0.114 113.5)

  • #007761

    #007761

    oklch(50.8% 0.097 173.9)

Open the analogous palette in the generator

Split complementary

The two hues beside the complement (150° and 210°).

  • #1B7A20

    #1B7A20

    oklch(50.8% 0.152 143.5)

  • #6C4FB2

    #6C4FB2

    oklch(50.8% 0.151 293.8)

  • #A3376C

    #A3376C

    oklch(50.8% 0.152 353.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #1B7A20

    #1B7A20

    oklch(50.8% 0.152 143.5)

  • #365FBB

    #365FBB

    oklch(50.7% 0.152 263.8)

  • #AB3739

    #AB3739

    oklch(50.7% 0.152 23.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #1B7A20

    #1B7A20

    oklch(50.8% 0.152 143.5)

  • #006E98

    #006E98

    oklch(50.7% 0.106 233.8)

  • #8D4196

    #8D4196

    oklch(50.7% 0.151 323.3)

  • #9C4C00

    #9C4C00

    oklch(50.7% 0.129 53.2)

Open the square palette in the generator

Palettes with this color

Curated palettes that contain a color within ΔE 0.04 (OKLab) of #1B7A20, closest first.

No curated palette has a color within ΔE 0.04 of #1B7A20.

Similar named colors

The eight closest entries in our named color list, with their ΔE distance.

Use #1B7A20 in your product

Turn it into light and dark UI roles checked for contrast, then export to Tailwind v4, shadcn/ui, CSS or design tokens.