#255B21

Closest named color: Pine (#2B5D34). oklch(42% 0.106 142.2), rgb(37, 91, 33).

Aa

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

About this color

#255B21 is a dark, moderately saturated green. In OKLCH its lightness is 42%, its chroma 0.106 and its hue 142°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Pine (#2B5D34), ΔE 0.025 away. White text reads best on it, at 8.08:1.

Hue familyGreens
Lightnessdark (42%)
Chromamoderately saturated (0.106)
Temperaturein between
Nearest namePine (#2B5D34)
Black text2.59:1
White text8.08:1

Values

HEX#255B21
RGBrgb(37, 91, 33)
HSLhsl(116, 47%, 24%)
OKLCHoklch(42% 0.106 142.2)

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 #255B21 8.08:1 AAA Lc -92.4 Preferred for body text
Black text on #255B21 2.59:1 Fails Lc 16.3 Dividers and decoration only
#255B21 text on white 8.08:1 AAA Lc 87.7 Fine for body text
#255B21 text on black 2.59:1 Fails Lc -14.4 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 800.

  1. Step 50

    50

    #F2F7F2

    oklch(97.1% 0.008 145.5)

  2. Step 100

    100

    #E3EDE2

    oklch(93.6% 0.018 142.8)

  3. Step 200

    200

    #CDDFCB

    oklch(88.5% 0.033 142.5)

  4. Step 300

    300

    #AACBA7

    oklch(80.8% 0.061 142.8)

  5. Step 400

    400

    #7CB177

    oklch(70.8% 0.1 142.4)

  6. Step 500

    500

    #599C53

    oklch(63% 0.126 142.2)

  7. Step 600

    600

    #3C8736

    oklch(55.7% 0.138 142.2)

  8. Step 700

    700

    #2D7228

    oklch(49.1% 0.129 142.2)

  9. Step 800

    800 (this color)

    #255B21

    oklch(42% 0.106 142.2)

  10. Step 900

    900

    #254C22

    oklch(37.6% 0.082 142.4)

  11. Step 950

    950

    #162D14

    oklch(27% 0.053 142.3)

Export this scale for Tailwind in the Tailwind colors tool

#255B21 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)#5D531B0.075
Deuteranopia (no green cones)#564E260.076
Tritanopia (no blue cones)#1D584E0.068
Achromatopsia (no color)#5050500.107

Harmonies

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

Complementary

The opposite hue (180°).

  • #255B21

    #255B21

    oklch(42% 0.106 142.2)

  • #67376F

    #67376F

    oklch(42% 0.105 321.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #255B21

    #255B21

    oklch(42% 0.106 142.2)

  • #4F5200

    #4F5200

    oklch(42.2% 0.093 112.2)

  • #005B48

    #005B48

    oklch(42% 0.081 172.2)

Open the analogous palette in the generator

Split complementary

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

  • #255B21

    #255B21

    oklch(42% 0.106 142.2)

  • #504081

    #504081

    oklch(42.1% 0.105 292.6)

  • #773153

    #773153

    oklch(42.1% 0.106 352.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #255B21

    #255B21

    oklch(42% 0.106 142.2)

  • #2C4B86

    #2C4B86

    oklch(42.1% 0.105 262)

  • #7D3132

    #7D3132

    oklch(42.1% 0.106 22)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #255B21

    #255B21

    oklch(42% 0.106 142.2)

  • #005474

    #005474

    oklch(41.9% 0.086 232.8)

  • #67376F

    #67376F

    oklch(42% 0.105 321.7)

  • #783903

    #783903

    oklch(42% 0.105 52.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #255B21 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.