#254A18

Closest named color: Pine Green (#0A481E). oklch(36.9% 0.089 138.5), rgb(37, 74, 24).

Aa

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

About this color

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

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

Values

HEX#254A18
RGBrgb(37, 74, 24)
HSLhsl(104, 51%, 19%)
OKLCHoklch(36.9% 0.089 138.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 #254A18 10.13:1 AAA Lc -97.5 Preferred for body text
Black text on #254A18 2.07:1 Fails Lc 10.6 Not readable
#254A18 text on white 10.13:1 AAA Lc 93.4 Preferred for body text
#254A18 text on black 2.07: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

    #E4EDE1

    oklch(93.6% 0.019 137.8)

  3. Step 200

    200

    #CDDFC8

    oklch(88.4% 0.037 138.9)

  4. Step 300

    300

    #ACCBA2

    oklch(80.8% 0.066 138.1)

  5. Step 400

    400

    #7FB16F

    oklch(70.8% 0.107 138.3)

  6. Step 500

    500

    #5C9C47

    oklch(63% 0.136 138.5)

  7. Step 600

    600

    #418726

    oklch(55.7% 0.149 138.4)

  8. Step 700

    700

    #327218

    oklch(49.1% 0.138 138.5)

  9. Step 800

    800

    #2B5D17

    oklch(42.8% 0.114 138.3)

  10. Step 900

    900 (this color)

    #254A18

    oklch(36.9% 0.089 138.5)

  11. Step 950

    950

    #172D10

    oklch(27% 0.058 138.6)

Export this scale for Tailwind in the Tailwind colors tool

#254A18 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)#4C43120.058
Deuteranopia (no green cones)#47401C0.059
Tritanopia (no blue cones)#22473F0.061
Achromatopsia (no color)#4141410.089

Harmonies

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

Complementary

The opposite hue (180°).

  • #254A18

    #254A18

    oklch(36.9% 0.089 138.5)

  • #532E5D

    #532E5D

    oklch(36.8% 0.089 318.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #254A18

    #254A18

    oklch(36.9% 0.089 138.5)

  • #434200

    #434200

    oklch(36.8% 0.08 108.8)

  • #004C38

    #004C38

    oklch(37% 0.075 168)

Open the analogous palette in the generator

Split complementary

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

  • #254A18

    #254A18

    oklch(36.9% 0.089 138.5)

  • #3E366B

    #3E366B

    oklch(36.9% 0.089 288.2)

  • #602947

    #602947

    oklch(36.8% 0.089 348.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #254A18

    #254A18

    oklch(36.9% 0.089 138.5)

  • #203F6D

    #203F6D

    oklch(36.9% 0.088 258.2)

  • #66292D

    #66292D

    oklch(36.9% 0.088 18.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #254A18

    #254A18

    oklch(36.9% 0.089 138.5)

  • #00465D

    #00465D

    oklch(36.8% 0.072 228.2)

  • #532E5D

    #532E5D

    oklch(36.8% 0.089 318.8)

  • #642E0D

    #642E0D

    oklch(36.9% 0.089 47.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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