#255C40

Closest named color: Pine (#2B5D34). oklch(42.9% 0.075 158.6), rgb(37, 92, 64).

Aa

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

About this color

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

Hue familyGreens
Lightnessdark (43%)
Chromamoderately saturated (0.075)
Temperaturein between
Nearest namePine (#2B5D34)
Black text2.68:1
White text7.82:1

Values

HEX#255C40
RGBrgb(37, 92, 64)
HSLhsl(149, 43%, 25%)
OKLCHoklch(42.9% 0.075 158.6)

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 #255C40 7.82:1 AAA Lc -91.7 Preferred for body text
Black text on #255C40 2.68:1 Fails Lc 17.0 Dividers and decoration only
#255C40 text on white 7.82:1 AAA Lc 87.0 Fine for body text
#255C40 text on black 2.68:1 Fails Lc -15.1 Dividers and decoration only

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

    #F2F7F4

    oklch(97.2% 0.007 160.1)

  2. Step 100

    100

    #E3EDE7

    oklch(93.7% 0.013 159.9)

  3. Step 200

    200

    #CCDED3

    oklch(88.4% 0.024 159.1)

  4. Step 300

    300

    #AACAB6

    oklch(81% 0.044 157.8)

  5. Step 400

    400

    #7BAE90

    oklch(70.6% 0.07 158.2)

  6. Step 500

    500

    #569A75

    oklch(63.1% 0.09 158.6)

  7. Step 600

    600

    #38855E

    oklch(55.7% 0.098 158.7)

  8. Step 700

    700

    #2A704D

    oklch(49.1% 0.091 158.5)

  9. Step 800

    800 (this color)

    #255C40

    oklch(42.9% 0.075 158.6)

  10. Step 900

    900

    #234B36

    oklch(37.7% 0.059 158.9)

  11. Step 950

    950

    #152C20

    oklch(27% 0.037 159.8)

Export this scale for Tailwind in the Tailwind colors tool

#255C40 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)#5B553E0.070
Deuteranopia (no green cones)#5350420.067
Tritanopia (no blue cones)#125B540.034
Achromatopsia (no color)#5252520.076

Harmonies

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

Complementary

The opposite hue (180°).

  • #255C40

    #255C40

    oklch(42.9% 0.075 158.6)

  • #6A3F5D

    #6A3F5D

    oklch(42.9% 0.074 339)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #255C40

    #255C40

    oklch(42.9% 0.075 158.6)

  • #435729

    #435729

    oklch(42.8% 0.074 128.5)

  • #005C58

    #005C58

    oklch(42.8% 0.074 189.6)

Open the analogous palette in the generator

Split complementary

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

  • #255C40

    #255C40

    oklch(42.9% 0.075 158.6)

  • #5B446F

    #5B446F

    oklch(42.9% 0.074 308.1)

  • #723D47

    #723D47

    oklch(42.9% 0.075 8.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #255C40

    #255C40

    oklch(42.9% 0.075 158.6)

  • #474B78

    #474B78

    oklch(43% 0.074 278.9)

  • #724030

    #724030

    oklch(42.8% 0.075 38.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #255C40

    #255C40

    oklch(42.9% 0.075 158.6)

  • #2C5377

    #2C5377

    oklch(43.1% 0.075 248.2)

  • #6A3F5D

    #6A3F5D

    oklch(42.9% 0.074 339)

  • #6A471C

    #6A471C

    oklch(42.8% 0.075 68.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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