#1F5230

Closest named color: Pine (#2B5D34). oklch(39.4% 0.079 151.9), rgb(31, 82, 48).

Aa

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

About this color

#1F5230 is a dark, moderately saturated green. In OKLCH its lightness is 39%, its chroma 0.079 and its hue 152°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Pine (#2B5D34), ΔE 0.039 away. White text reads best on it, at 9.09:1.

Hue familyGreens
Lightnessdark (39%)
Chromamoderately saturated (0.079)
Temperaturein between
Nearest namePine (#2B5D34)
Black text2.30:1
White text9.09:1

Values

HEX#1F5230
RGBrgb(31, 82, 48)
HSLhsl(140, 45%, 22%)
OKLCHoklch(39.4% 0.079 151.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 #1F5230 9.09:1 AAA Lc -95.1 Preferred for body text
Black text on #1F5230 2.30:1 Fails Lc 13.3 Not readable
#1F5230 text on white 9.09:1 AAA Lc 90.7 Preferred for body text
#1F5230 text on black 2.30:1 Fails Lc -11.6 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

    #F2F7F3

    oklch(97.1% 0.007 151.9)

  2. Step 100

    100

    #E2EDE4

    oklch(93.5% 0.017 151.1)

  3. Step 200

    200

    #CAE0CF

    oklch(88.6% 0.033 152.4)

  4. Step 300

    300

    #A5CCAE

    oklch(80.9% 0.059 151.9)

  5. Step 400

    400

    #72B283

    oklch(70.7% 0.095 151.8)

  6. Step 500

    500

    #489E64

    oklch(63.1% 0.121 152)

  7. Step 600

    600

    #22894A

    oklch(55.7% 0.133 151.7)

  8. Step 700

    700

    #11743B

    oklch(49.2% 0.124 151.7)

  9. Step 800

    800

    #145E31

    oklch(42.6% 0.102 151.8)

  10. Step 900

    900 (this color)

    #1F5230

    oklch(39.4% 0.079 151.9)

  11. Step 950

    950

    #112D1A

    oklch(26.9% 0.049 152.2)

Export this scale for Tailwind in the Tailwind colors tool

#1F5230 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)#524B2E0.068
Deuteranopia (no green cones)#4B46320.067
Tritanopia (no blue cones)#1151490.041
Achromatopsia (no color)#4848480.080

Harmonies

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

Complementary

The opposite hue (180°).

  • #1F5230

    #1F5230

    oklch(39.4% 0.079 151.9)

  • #5E3559

    #5E3559

    oklch(39.4% 0.079 331.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #1F5230

    #1F5230

    oklch(39.4% 0.079 151.9)

  • #3F4C16

    #3F4C16

    oklch(39.3% 0.079 121.7)

  • #005249

    #005249

    oklch(39.4% 0.07 182.3)

Open the analogous palette in the generator

Split complementary

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

  • #1F5230

    #1F5230

    oklch(39.4% 0.079 151.9)

  • #4E3B69

    #4E3B69

    oklch(39.4% 0.079 302)

  • #683243

    #683243

    oklch(39.4% 0.08 1.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #1F5230

    #1F5230

    oklch(39.4% 0.079 151.9)

  • #374371

    #374371

    oklch(39.5% 0.079 271.3)

  • #6A342A

    #6A342A

    oklch(39.3% 0.079 31.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #1F5230

    #1F5230

    oklch(39.4% 0.079 151.9)

  • #164A6D

    #164A6D

    oklch(39.3% 0.08 242.6)

  • #5E3559

    #5E3559

    oklch(39.4% 0.079 331.5)

  • #643B11

    #643B11

    oklch(39.4% 0.079 61.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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