#1B5301

Closest named color: Forest (#0B5509). oklch(39% 0.121 138.8), rgb(27, 83, 1).

Aa

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

About this color

#1B5301 is a dark, moderately saturated green. In OKLCH its lightness is 39%, its chroma 0.121 and its hue 139°. 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.19:1.

Hue familyGreens
Lightnessdark (39%)
Chromamoderately saturated (0.121)
Temperaturein between
Nearest nameForest (#0B5509)
Black text2.28:1
White text9.19:1

Values

HEX#1B5301
RGBrgb(27, 83, 1)
HSLhsl(101, 98%, 16%)
OKLCHoklch(39% 0.121 138.8)

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 #1B5301 9.19:1 AAA Lc -95.2 Preferred for body text
Black text on #1B5301 2.28:1 Fails Lc 13.2 Not readable
#1B5301 text on white 9.19:1 AAA Lc 90.8 Preferred for body text
#1B5301 text on black 2.28:1 Fails Lc -11.5 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

    #C9E2C2

    oklch(88.6% 0.051 138.9)

  4. Step 300

    300

    #A3CF96

    oklch(80.8% 0.091 138.6)

  5. Step 400

    400

    #6FB659

    oklch(70.8% 0.146 138.7)

  6. Step 500

    500

    #43A21C

    oklch(63.1% 0.186 138.9)

  7. Step 600

    600

    #318900

    oklch(55.5% 0.174 138.8)

  8. Step 700

    700

    #287400

    oklch(49.2% 0.155 138.8)

  9. Step 800

    800

    #1F5F00

    oklch(42.7% 0.134 138.9)

  10. Step 900

    900 (this color)

    #1B5301

    oklch(39% 0.121 138.8)

  11. Step 950

    950

    #0F2F05

    oklch(27.1% 0.077 139.2)

Export this scale for Tailwind in the Tailwind colors tool

#1B5301 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)#564A000.081
Deuteranopia (no green cones)#4F460D0.079
Tritanopia (no blue cones)#1450450.083
Achromatopsia (no color)#4848480.122

Harmonies

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

Complementary

The opposite hue (180°).

  • #1B5301

    #1B5301

    oklch(39% 0.121 138.8)

  • #5F2A6D

    #5F2A6D

    oklch(38.8% 0.122 318.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #1B5301

    #1B5301

    oklch(39% 0.121 138.8)

  • #494800

    #494800

    oklch(39% 0.084 108.8)

  • #00523D

    #00523D

    oklch(39% 0.079 168.4)

Open the analogous palette in the generator

Split complementary

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

  • #1B5301

    #1B5301

    oklch(39% 0.121 138.8)

  • #453681

    #453681

    oklch(39.1% 0.121 288.7)

  • #71224F

    #71224F

    oklch(39% 0.122 349.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #1B5301

    #1B5301

    oklch(39% 0.121 138.8)

  • #164284

    #164284

    oklch(38.9% 0.121 258.8)

  • #79202A

    #79202A

    oklch(39% 0.122 18.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #1B5301

    #1B5301

    oklch(39% 0.121 138.8)

  • #004C65

    #004C65

    oklch(38.9% 0.076 228.6)

  • #5F2A6D

    #5F2A6D

    oklch(38.8% 0.122 318.8)

  • #702F00

    #702F00

    oklch(39% 0.106 48.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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