#1B540A

Closest named color: Forest (#0B5509). oklch(39.3% 0.118 139.9), rgb(27, 84, 10).

Aa

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

About this color

#1B540A is a dark, moderately saturated green. In OKLCH its lightness is 39%, its chroma 0.118 and its hue 140°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Forest (#0B5509), ΔE 0.009 away. White text reads best on it, at 9.05:1.

Hue familyGreens
Lightnessdark (39%)
Chromamoderately saturated (0.118)
Temperaturein between
Nearest nameForest (#0B5509)
Black text2.31:1
White text9.05:1

Values

HEX#1B540A
RGBrgb(27, 84, 10)
HSLhsl(106, 79%, 18%)
OKLCHoklch(39.3% 0.118 139.9)

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 #1B540A 9.05:1 AAA Lc -94.9 Preferred for body text
Black text on #1B540A 2.31:1 Fails Lc 13.5 Not readable
#1B540A text on white 9.05:1 AAA Lc 90.4 Preferred for body text
#1B540A text on black 2.31:1 Fails Lc -11.8 Not readable

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 900.

  1. Step 50

    50

    #F1F8F0

    oklch(97.2% 0.013 141.8)

  2. Step 100

    100

    #E1EEDE

    oklch(93.5% 0.025 139.8)

  3. Step 200

    200

    #C9E2C3

    oklch(88.6% 0.05 139.6)

  4. Step 300

    300

    #A3CF99

    oklch(80.9% 0.088 139.9)

  5. Step 400

    400

    #6EB65E

    oklch(70.8% 0.142 140)

  6. Step 500

    500

    #42A227

    oklch(63.1% 0.181 139.8)

  7. Step 600

    600

    #298A00

    oklch(55.5% 0.178 139.9)

  8. Step 700

    700

    #217400

    oklch(49% 0.157 139.9)

  9. Step 800

    800

    #196000

    oklch(42.8% 0.138 140)

  10. Step 900

    900 (this color)

    #1B540A

    oklch(39.3% 0.118 139.9)

  11. Step 950

    950

    #0F2F07

    oklch(27.1% 0.075 139.9)

Export this scale for Tailwind in the Tailwind colors tool

#1B540A 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)#574B000.080
Deuteranopia (no green cones)#5047130.079
Tritanopia (no blue cones)#1351470.080
Achromatopsia (no color)#4949490.119

Harmonies

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

Complementary

The opposite hue (180°).

  • #1B540A

    #1B540A

    oklch(39.3% 0.118 139.9)

  • #612C6C

    #612C6C

    oklch(39.3% 0.118 320.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #1B540A

    #1B540A

    oklch(39.3% 0.118 139.9)

  • #494900

    #494900

    oklch(39.2% 0.086 109.8)

  • #00533F

    #00533F

    oklch(39.3% 0.078 169.6)

Open the analogous palette in the generator

Split complementary

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

  • #1B540A

    #1B540A

    oklch(39.3% 0.118 139.9)

  • #473780

    #473780

    oklch(39.4% 0.118 290)

  • #71244F

    #71244F

    oklch(39.2% 0.119 349.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #1B540A

    #1B540A

    oklch(39.3% 0.118 139.9)

  • #1C4384

    #1C4384

    oklch(39.3% 0.118 260.1)

  • #79232A

    #79232A

    oklch(39.3% 0.119 20)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #1B540A

    #1B540A

    oklch(39.3% 0.118 139.9)

  • #004D68

    #004D68

    oklch(39.4% 0.079 230.3)

  • #612C6C

    #612C6C

    oklch(39.3% 0.118 320.5)

  • #703100

    #703100

    oklch(39.3% 0.104 50)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #1B540A 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.