#254F02

Closest named color: Forest (#0B5509). oklch(38.2% 0.111 135.5), rgb(37, 79, 2).

Aa

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

About this color

#254F02 is a dark, moderately saturated green. In OKLCH its lightness is 38%, its chroma 0.111 and its hue 135°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Forest (#0B5509), ΔE 0.023 away. White text reads best on it, at 9.55:1.

Hue familyGreens
Lightnessdark (38%)
Chromamoderately saturated (0.111)
Temperaturein between
Nearest nameForest (#0B5509)
Black text2.19:1
White text9.55:1

Values

HEX#254F02
RGBrgb(37, 79, 2)
HSLhsl(93, 95%, 16%)
OKLCHoklch(38.2% 0.111 135.5)

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 #254F02 9.55:1 AAA Lc -96.1 Preferred for body text
Black text on #254F02 2.19:1 Fails Lc 12.1 Not readable
#254F02 text on white 9.55:1 AAA Lc 91.8 Preferred for body text
#254F02 text on black 2.19:1 Fails Lc -10.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

    #F2F7F0

    oklch(97% 0.011 136.6)

  2. Step 100

    100

    #E3EEDE

    oklch(93.6% 0.024 135.7)

  3. Step 200

    200

    #CCE1C2

    oklch(88.6% 0.047 135.5)

  4. Step 300

    300

    #A9CD97

    oklch(80.8% 0.083 135.4)

  5. Step 400

    400

    #7AB35B

    oklch(70.7% 0.134 135.6)

  6. Step 500

    500

    #579F22

    oklch(63.1% 0.17 135.4)

  7. Step 600

    600

    #438700

    oklch(55.6% 0.164 135.4)

  8. Step 700

    700

    #377200

    oklch(49.2% 0.145 135.5)

  9. Step 800

    800

    #2C5D00

    oklch(42.7% 0.126 135.4)

  10. Step 900

    900 (this color)

    #254F02

    oklch(38.2% 0.111 135.5)

  11. Step 950

    950

    #162E06

    oklch(27.2% 0.07 135.4)

Export this scale for Tailwind in the Tailwind colors tool

#254F02 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)#5247000.068
Deuteranopia (no green cones)#4D440C0.067
Tritanopia (no blue cones)#234C420.080
Achromatopsia (no color)#4545450.111

Harmonies

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

Complementary

The opposite hue (180°).

  • #254F02

    #254F02

    oklch(38.2% 0.111 135.5)

  • #592D6A

    #592D6A

    oklch(38.3% 0.11 315.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #254F02

    #254F02

    oklch(38.2% 0.111 135.5)

  • #494500

    #494500

    oklch(38.2% 0.081 105.9)

  • #005038

    #005038

    oklch(38.2% 0.08 165)

Open the analogous palette in the generator

Split complementary

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

  • #254F02

    #254F02

    oklch(38.2% 0.111 135.5)

  • #3F377A

    #3F377A

    oklch(38.2% 0.11 285.4)

  • #6A2550

    #6A2550

    oklch(38.2% 0.111 345.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #254F02

    #254F02

    oklch(38.2% 0.111 135.5)

  • #11427C

    #11427C

    oklch(38.2% 0.111 255.5)

  • #72232F

    #72232F

    oklch(38.2% 0.111 15.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #254F02

    #254F02

    oklch(38.2% 0.111 135.5)

  • #004A60

    #004A60

    oklch(38.1% 0.073 225.9)

  • #592D6A

    #592D6A

    oklch(38.3% 0.11 315.7)

  • #6F2B00

    #6F2B00

    oklch(38.2% 0.108 45.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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