#255B40

Closest named color: Pine (#2B5D34). oklch(42.6% 0.074 159.1), rgb(37, 91, 64).

Aa

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

About this color

#255B40 is a dark, moderately saturated green. In OKLCH its lightness is 43%, its chroma 0.074 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.021 away. White text reads best on it, at 7.92:1.

Hue familyGreens
Lightnessdark (43%)
Chromamoderately saturated (0.074)
Temperaturein between
Nearest namePine (#2B5D34)
Black text2.64:1
White text7.92:1

Values

HEX#255B40
RGBrgb(37, 91, 64)
HSLhsl(150, 42%, 25%)
OKLCHoklch(42.6% 0.074 159.1)

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 #255B40 7.92:1 AAA Lc -92.0 Preferred for body text
Black text on #255B40 2.64:1 Fails Lc 16.7 Dividers and decoration only
#255B40 text on white 7.92:1 AAA Lc 87.3 Fine for body text
#255B40 text on black 2.64:1 Fails Lc -14.8 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

    #F2F7F4

    oklch(97.2% 0.007 160.1)

  2. Step 100

    100

    #E3ECE7

    oklch(93.5% 0.012 162)

  3. Step 200

    200

    #CDDED3

    oklch(88.5% 0.024 157.5)

  4. Step 300

    300

    #AACAB7

    oklch(81% 0.043 159.2)

  5. Step 400

    400

    #7BAE91

    oklch(70.6% 0.069 159.1)

  6. Step 500

    500

    #579A76

    oklch(63.1% 0.088 159)

  7. Step 600

    600

    #39845F

    oklch(55.5% 0.095 159.5)

  8. Step 700

    700

    #2B704E

    oklch(49.1% 0.089 158.9)

  9. Step 800

    800 (this color)

    #255B40

    oklch(42.6% 0.074 159.1)

  10. Step 900

    900

    #244B36

    oklch(37.7% 0.058 158.4)

  11. Step 950

    950

    #162C20

    oklch(27% 0.036 158.9)

Export this scale for Tailwind in the Tailwind colors tool

#255B40 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)#5A543E0.069
Deuteranopia (no green cones)#524F420.067
Tritanopia (no blue cones)#125B540.033
Achromatopsia (no color)#5151510.074

Harmonies

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

Complementary

The opposite hue (180°).

  • #255B40

    #255B40

    oklch(42.6% 0.074 159.1)

  • #693E5C

    #693E5C

    oklch(42.6% 0.074 339)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #255B40

    #255B40

    oklch(42.6% 0.074 159.1)

  • #425729

    #425729

    oklch(42.7% 0.074 129.3)

  • #015B57

    #015B57

    oklch(42.5% 0.073 189.6)

Open the analogous palette in the generator

Split complementary

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

  • #255B40

    #255B40

    oklch(42.6% 0.074 159.1)

  • #5B436D

    #5B436D

    oklch(42.6% 0.073 309.8)

  • #713D46

    #713D46

    oklch(42.7% 0.073 9.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #255B40

    #255B40

    oklch(42.6% 0.074 159.1)

  • #464A76

    #464A76

    oklch(42.6% 0.073 278.9)

  • #714030

    #714030

    oklch(42.7% 0.073 38.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #255B40

    #255B40

    oklch(42.6% 0.074 159.1)

  • #2C5275

    #2C5275

    oklch(42.7% 0.073 248.1)

  • #693E5C

    #693E5C

    oklch(42.6% 0.074 339)

  • #69471D

    #69471D

    oklch(42.7% 0.074 69.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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