#254A22

Closest named color: Pine Green (#0A481E). oklch(37% 0.078 142.3), rgb(37, 74, 34).

Aa

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

About this color

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

Hue familyGreens
Lightnessdark (37%)
Chromamoderately saturated (0.078)
Temperaturein between
Nearest namePine Green (#0A481E)
Black text2.08:1
White text10.08:1

Values

HEX#254A22
RGBrgb(37, 74, 34)
HSLhsl(115, 37%, 21%)
OKLCHoklch(37% 0.078 142.3)

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 #254A22 10.08:1 AAA Lc -97.4 Preferred for body text
Black text on #254A22 2.08:1 Fails Lc 10.7 Not readable
#254A22 text on white 10.08:1 AAA Lc 93.3 Preferred for body text
#254A22 text on black 2.08:1 Fails Lc -9.2 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

    #F3F7F2

    oklch(97.2% 0.008 139.4)

  2. Step 100

    100

    #E4EDE3

    oklch(93.7% 0.016 142.6)

  3. Step 200

    200

    #CDDFCB

    oklch(88.5% 0.033 142.5)

  4. Step 300

    300

    #ACCBA8

    oklch(81% 0.059 141.9)

  5. Step 400

    400

    #7EB079

    oklch(70.7% 0.095 142.3)

  6. Step 500

    500

    #5C9C56

    oklch(63.2% 0.121 142.2)

  7. Step 600

    600

    #40863B

    oklch(55.7% 0.13 142.4)

  8. Step 700

    700

    #31712D

    oklch(49% 0.121 142.5)

  9. Step 800

    800

    #2A5C26

    oklch(42.6% 0.1 142.2)

  10. Step 900

    900 (this color)

    #254A22

    oklch(37% 0.078 142.3)

  11. Step 950

    950

    #172C15

    oklch(26.8% 0.049 142.2)

Export this scale for Tailwind in the Tailwind colors tool

#254A22 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)#4C441F0.057
Deuteranopia (no green cones)#4640250.057
Tritanopia (no blue cones)#2148410.051
Achromatopsia (no color)#4242420.079

Harmonies

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

Complementary

The opposite hue (180°).

  • #254A22

    #254A22

    oklch(37% 0.078 142.3)

  • #533158

    #533158

    oklch(37.1% 0.077 322.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #254A22

    #254A22

    oklch(37% 0.078 142.3)

  • #414406

    #414406

    oklch(37.2% 0.079 112.6)

  • #004C3C

    #004C3C

    oklch(37.1% 0.072 172.5)

Open the analogous palette in the generator

Split complementary

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

  • #254A22

    #254A22

    oklch(37% 0.078 142.3)

  • #413765

    #413765

    oklch(37% 0.078 292.2)

  • #5E2D44

    #5E2D44

    oklch(37% 0.077 352)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #254A22

    #254A22

    oklch(37% 0.078 142.3)

  • #293F69

    #293F69

    oklch(37.1% 0.078 262.3)

  • #632D2C

    #632D2C

    oklch(37% 0.079 22.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #254A22

    #254A22

    oklch(37% 0.078 142.3)

  • #004661

    #004661

    oklch(37% 0.076 232.4)

  • #533158

    #533158

    oklch(37.1% 0.077 322.3)

  • #5F3213

    #5F3213

    oklch(36.9% 0.078 52.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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