#255B1F

Closest named color: Pine (#2B5D34). oklch(42% 0.108 141.7), rgb(37, 91, 31).

Aa

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

About this color

#255B1F is a dark, moderately saturated green. In OKLCH its lightness is 42%, its chroma 0.108 and its hue 142°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Pine (#2B5D34), ΔE 0.027 away. White text reads best on it, at 8.09:1.

Hue familyGreens
Lightnessdark (42%)
Chromamoderately saturated (0.108)
Temperaturein between
Nearest namePine (#2B5D34)
Black text2.59:1
White text8.09:1

Values

HEX#255B1F
RGBrgb(37, 91, 31)
HSLhsl(114, 49%, 24%)
OKLCHoklch(42% 0.108 141.7)

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 #255B1F 8.09:1 AAA Lc -92.4 Preferred for body text
Black text on #255B1F 2.59:1 Fails Lc 16.2 Dividers and decoration only
#255B1F text on white 8.09:1 AAA Lc 87.8 Fine for body text
#255B1F text on black 2.59:1 Fails Lc -14.4 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 800.

  1. Step 50

    50

    #F2F7F2

    oklch(97.1% 0.008 145.5)

  2. Step 100

    100

    #E3EDE2

    oklch(93.6% 0.018 142.8)

  3. Step 200

    200

    #CDDFCA

    oklch(88.4% 0.034 141.2)

  4. Step 300

    300

    #AACBA6

    oklch(80.8% 0.062 142.1)

  5. Step 400

    400

    #7CB175

    oklch(70.8% 0.102 141.6)

  6. Step 500

    500

    #599D51

    oklch(63.2% 0.129 141.7)

  7. Step 600

    600

    #3C8734

    oklch(55.7% 0.14 141.8)

  8. Step 700

    700

    #2E7226

    oklch(49.1% 0.13 141.6)

  9. Step 800

    800 (this color)

    #255B1F

    oklch(42% 0.108 141.7)

  10. Step 900

    900

    #254C20

    oklch(37.6% 0.084 141.5)

  11. Step 950

    950

    #162D14

    oklch(27% 0.053 142.3)

Export this scale for Tailwind in the Tailwind colors tool

#255B1F 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)#5D53180.075
Deuteranopia (no green cones)#564E240.076
Tritanopia (no blue cones)#1E584E0.070
Achromatopsia (no color)#5050500.108

Harmonies

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

Complementary

The opposite hue (180°).

  • #255B1F

    #255B1F

    oklch(42% 0.108 141.7)

  • #673670

    #673670

    oklch(41.9% 0.108 321.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #255B1F

    #255B1F

    oklch(42% 0.108 141.7)

  • #4F5100

    #4F5100

    oklch(41.9% 0.092 111.4)

  • #005B48

    #005B48

    oklch(42% 0.081 172.2)

Open the analogous palette in the generator

Split complementary

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

  • #255B1F

    #255B1F

    oklch(42% 0.108 141.7)

  • #4F4082

    #4F4082

    oklch(42% 0.107 291.6)

  • #773053

    #773053

    oklch(41.9% 0.108 352)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #255B1F

    #255B1F

    oklch(42% 0.108 141.7)

  • #2A4B87

    #2A4B87

    oklch(42% 0.107 261.3)

  • #7D3032

    #7D3032

    oklch(41.9% 0.107 21.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #255B1F

    #255B1F

    oklch(42% 0.108 141.7)

  • #005473

    #005473

    oklch(41.9% 0.085 232)

  • #673670

    #673670

    oklch(41.9% 0.108 321.2)

  • #793801

    #793801

    oklch(42% 0.108 51.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #255B1F 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.