#254F2C

Closest named color: Pine Green (#0A481E). oklch(38.7% 0.075 147.6), rgb(37, 79, 44).

Aa

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

About this color

#254F2C is a dark, moderately saturated green. In OKLCH its lightness is 39%, its chroma 0.075 and its hue 148°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Pine Green (#0A481E), ΔE 0.038 away. White text reads best on it, at 9.40:1.

Hue familyGreens
Lightnessdark (39%)
Chromamoderately saturated (0.075)
Temperaturein between
Nearest namePine Green (#0A481E)
Black text2.23:1
White text9.40:1

Values

HEX#254F2C
RGBrgb(37, 79, 44)
HSLhsl(130, 36%, 23%)
OKLCHoklch(38.7% 0.075 147.6)

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 #254F2C 9.40:1 AAA Lc -95.9 Preferred for body text
Black text on #254F2C 2.23:1 Fails Lc 12.4 Not readable
#254F2C text on white 9.40:1 AAA Lc 91.6 Preferred for body text
#254F2C text on black 2.23:1 Fails Lc -10.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

    #F2F7F3

    oklch(97.1% 0.007 151.9)

  2. Step 100

    100

    #E3EDE4

    oklch(93.6% 0.016 148.4)

  3. Step 200

    200

    #CCDFCE

    oklch(88.5% 0.031 148.4)

  4. Step 300

    300

    #A9CBAC

    oklch(80.9% 0.056 147.4)

  5. Step 400

    400

    #7AB080

    oklch(70.6% 0.09 147.3)

  6. Step 500

    500

    #559C60

    oklch(63% 0.115 147.6)

  7. Step 600

    600

    #368746

    oklch(55.7% 0.126 147.6)

  8. Step 700

    700

    #287237

    oklch(49.1% 0.117 147.4)

  9. Step 800

    800

    #235D2E

    oklch(42.7% 0.097 147.4)

  10. Step 900

    900 (this color)

    #254F2C

    oklch(38.7% 0.075 147.6)

  11. Step 950

    950

    #152D19

    oklch(27.1% 0.048 148)

Export this scale for Tailwind in the Tailwind colors tool

#254F2C 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)#50492A0.061
Deuteranopia (no green cones)#4A452E0.059
Tritanopia (no blue cones)#1E4D460.044
Achromatopsia (no color)#4646460.076

Harmonies

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

Complementary

The opposite hue (180°).

  • #254F2C

    #254F2C

    oklch(38.7% 0.075 147.6)

  • #593559

    #593559

    oklch(38.7% 0.075 326.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #254F2C

    #254F2C

    oklch(38.7% 0.075 147.6)

  • #414914

    #414914

    oklch(38.6% 0.075 117.4)

  • #005044

    #005044

    oklch(38.6% 0.071 178.2)

Open the analogous palette in the generator

Split complementary

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

  • #254F2C

    #254F2C

    oklch(38.7% 0.075 147.6)

  • #493B67

    #493B67

    oklch(38.8% 0.074 297.5)

  • #643244

    #643244

    oklch(38.8% 0.075 358.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #254F2C

    #254F2C

    oklch(38.7% 0.075 147.6)

  • #33426D

    #33426D

    oklch(38.8% 0.076 268.2)

  • #67332D

    #67332D

    oklch(38.8% 0.076 27.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #254F2C

    #254F2C

    oklch(38.7% 0.075 147.6)

  • #124967

    #124967

    oklch(38.6% 0.075 237.8)

  • #593559

    #593559

    oklch(38.7% 0.075 326.9)

  • #623916

    #623916

    oklch(38.8% 0.076 58)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #254F2C 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.