#1B5018

Closest named color: Forest (#0B5509). oklch(38.2% 0.103 142.4), rgb(27, 80, 24).

Aa

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

About this color

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

Hue familyGreens
Lightnessdark (38%)
Chromamoderately saturated (0.103)
Temperaturein between
Nearest nameForest (#0B5509)
Black text2.20:1
White text9.51:1

Values

HEX#1B5018
RGBrgb(27, 80, 24)
HSLhsl(117, 54%, 20%)
OKLCHoklch(38.2% 0.103 142.4)

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 #1B5018 9.51:1 AAA Lc -96.0 Preferred for body text
Black text on #1B5018 2.20:1 Fails Lc 12.2 Not readable
#1B5018 text on white 9.51:1 AAA Lc 91.7 Preferred for body text
#1B5018 text on black 2.20:1 Fails Lc -10.7 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

    #F2F7F1

    oklch(97.1% 0.01 140.5)

  2. Step 100

    100

    #E2EEE0

    oklch(93.6% 0.023 141.2)

  3. Step 200

    200

    #CAE1C7

    oklch(88.6% 0.043 142)

  4. Step 300

    300

    #A4CEA0

    oklch(80.9% 0.078 142.6)

  5. Step 400

    400

    #71B46B

    oklch(70.7% 0.124 142.3)

  6. Step 500

    500

    #47A041

    oklch(63% 0.158 142.4)

  7. Step 600

    600

    #218B1C

    oklch(55.7% 0.172 142.4)

  8. Step 700

    700

    #10750C

    oklch(49% 0.159 142.4)

  9. Step 800

    800

    #136010

    oklch(42.8% 0.133 142.4)

  10. Step 900

    900 (this color)

    #1B5018

    oklch(38.2% 0.103 142.4)

  11. Step 950

    950

    #112E0F

    oklch(27% 0.064 142.4)

Export this scale for Tailwind in the Tailwind colors tool

#1B5018 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)#5248110.074
Deuteranopia (no green cones)#4B441D0.073
Tritanopia (no blue cones)#124D440.067
Achromatopsia (no color)#4545450.103

Harmonies

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

Complementary

The opposite hue (180°).

  • #1B5018

    #1B5018

    oklch(38.2% 0.103 142.4)

  • #5C2D63

    #5C2D63

    oklch(38.2% 0.104 322.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #1B5018

    #1B5018

    oklch(38.2% 0.103 142.4)

  • #444700

    #444700

    oklch(38.2% 0.085 112.5)

  • #004F3F

    #004F3F

    oklch(38.1% 0.073 173.1)

Open the analogous palette in the generator

Split complementary

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

  • #1B5018

    #1B5018

    oklch(38.2% 0.103 142.4)

  • #463674

    #463674

    oklch(38.3% 0.102 292.8)

  • #6A2748

    #6A2748

    oklch(38.2% 0.103 352.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #1B5018

    #1B5018

    oklch(38.2% 0.103 142.4)

  • #234079

    #234079

    oklch(38.1% 0.103 262.3)

  • #702728

    #702728

    oklch(38.2% 0.104 22.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #1B5018

    #1B5018

    oklch(38.2% 0.103 142.4)

  • #004965

    #004965

    oklch(38.1% 0.078 232.4)

  • #5C2D63

    #5C2D63

    oklch(38.2% 0.104 322.3)

  • #6A3100

    #6A3100

    oklch(38.3% 0.098 52.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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