#254A0C

Closest named color: Darkgreen (#054907). oklch(36.8% 0.098 135.8), rgb(37, 74, 12).

Aa

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

About this color

#254A0C is a dark, moderately saturated green. In OKLCH its lightness is 37%, its chroma 0.098 and its hue 136°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Darkgreen (#054907), ΔE 0.025 away. White text reads best on it, at 10.17:1.

Hue familyGreens
Lightnessdark (37%)
Chromamoderately saturated (0.098)
Temperaturein between
Nearest nameDarkgreen (#054907)
Black text2.06:1
White text10.17:1

Values

HEX#254A0C
RGBrgb(37, 74, 12)
HSLhsl(96, 72%, 17%)
OKLCHoklch(36.8% 0.098 135.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 #254A0C 10.17:1 AAA Lc -97.5 Preferred for body text
Black text on #254A0C 2.06:1 Fails Lc 10.5 Not readable
#254A0C text on white 10.17:1 AAA Lc 93.4 Preferred for body text
#254A0C text on black 2.06:1 Fails Lc -9.1 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

    #F3F7F1

    oklch(97.1% 0.009 134.9)

  2. Step 100

    100

    #E4EDDF

    oklch(93.5% 0.021 134.1)

  3. Step 200

    200

    #CDE0C5

    oklch(88.5% 0.042 136.3)

  4. Step 300

    300

    #ACCC9D

    oklch(80.9% 0.073 135.8)

  5. Step 400

    400

    #7FB165

    oklch(70.7% 0.118 135.6)

  6. Step 500

    500

    #5D9D37

    oklch(63.1% 0.151 135.8)

  7. Step 600

    600

    #428702

    oklch(55.6% 0.164 135.7)

  8. Step 700

    700

    #367200

    oklch(49.2% 0.146 135.8)

  9. Step 800

    800

    #2B5D00

    oklch(42.6% 0.126 135.7)

  10. Step 900

    900 (this color)

    #254A0C

    oklch(36.8% 0.098 135.8)

  11. Step 950

    950

    #182D0B

    oklch(27% 0.062 135.4)

Export this scale for Tailwind in the Tailwind colors tool

#254A0C 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)#4D43020.060
Deuteranopia (no green cones)#4840130.061
Tritanopia (no blue cones)#24473E0.070
Achromatopsia (no color)#4141410.099

Harmonies

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

Complementary

The opposite hue (180°).

  • #254A0C

    #254A0C

    oklch(36.8% 0.098 135.8)

  • #532C62

    #532C62

    oklch(36.8% 0.099 315.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #254A0C

    #254A0C

    oklch(36.8% 0.098 135.8)

  • #454100

    #454100

    oklch(36.7% 0.078 105.7)

  • #004B35

    #004B35

    oklch(36.6% 0.076 165.7)

Open the analogous palette in the generator

Split complementary

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

  • #254A0C

    #254A0C

    oklch(36.8% 0.098 135.8)

  • #3C3570

    #3C3570

    oklch(36.8% 0.098 285.9)

  • #62264A

    #62264A

    oklch(36.8% 0.098 346)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #254A0C

    #254A0C

    oklch(36.8% 0.098 135.8)

  • #163F72

    #163F72

    oklch(36.8% 0.099 255.7)

  • #69242D

    #69242D

    oklch(36.7% 0.099 15.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #254A0C

    #254A0C

    oklch(36.8% 0.098 135.8)

  • #00465B

    #00465B

    oklch(36.7% 0.07 225.9)

  • #532C62

    #532C62

    oklch(36.8% 0.099 315.9)

  • #672A06

    #672A06

    oklch(36.7% 0.098 45.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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