#287F5A

Closest named color: Sea Green (#2E8B57). oklch(53.5% 0.101 161.3), rgb(40, 127, 90).

Aa

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

About this color

#287F5A is a medium-dark, moderately saturated green. In OKLCH its lightness is 53%, its chroma 0.101 and its hue 161°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Sea Green (#2E8B57), ΔE 0.040 away. White text reads best on it, at 4.91:1.

Hue familyGreens
Lightnessmedium-dark (53%)
Chromamoderately saturated (0.101)
Temperaturein between
Nearest nameSea Green (#2E8B57)
Black text4.27:1
White text4.91:1

Values

HEX#287F5A
RGBrgb(40, 127, 90)
HSLhsl(154, 52%, 33%)
OKLCHoklch(53.5% 0.101 161.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 #287F5A 4.91:1 AA Lc -79.2 Fine for body text
Black text on #287F5A 4.27:1 AA large text Lc 30.3 Non-text elements, placeholder text
#287F5A text on white 4.91:1 AA Lc 73.7 Content text, not long reading
#287F5A text on black 4.27:1 AA large text Lc -28.0 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 600.

  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

    #CBDFD4

    oklch(88.6% 0.026 161.9)

  4. Step 300

    300

    #A8CAB7

    oklch(80.9% 0.045 160.7)

  5. Step 400

    400

    #77AF92

    oklch(70.7% 0.073 161.2)

  6. Step 500

    500

    #509B77

    oklch(63.1% 0.094 161.2)

  7. Step 600

    600 (this color)

    #287F5A

    oklch(53.5% 0.101 161.3)

  8. Step 700

    700

    #21714F

    oklch(49.1% 0.095 161.1)

  9. Step 800

    800

    #1E5C41

    oklch(42.7% 0.078 161.3)

  10. Step 900

    900

    #1F4C37

    oklch(37.8% 0.062 161)

  11. Step 950

    950

    #142C20

    oklch(26.9% 0.038 160.6)

Export this scale for Tailwind in the Tailwind colors tool

#287F5A 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)#7D75580.097
Deuteranopia (no green cones)#726D5C0.095
Tritanopia (no blue cones)#007F750.041
Achromatopsia (no color)#7171710.102

Harmonies

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

Complementary

The opposite hue (180°).

  • #287F5A

    #287F5A

    oklch(53.5% 0.101 161.3)

  • #94547E

    #94547E

    oklch(53.4% 0.101 341.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #287F5A

    #287F5A

    oklch(53.5% 0.101 161.3)

  • #587937

    #587937

    oklch(53.5% 0.101 131.1)

  • #007E7A

    #007E7A

    oklch(53.5% 0.092 190.9)

Open the analogous palette in the generator

Split complementary

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

  • #287F5A

    #287F5A

    oklch(53.5% 0.101 161.3)

  • #805B98

    #805B98

    oklch(53.4% 0.101 311.2)

  • #9F525E

    #9F525E

    oklch(53.5% 0.102 11.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #287F5A

    #287F5A

    oklch(53.5% 0.101 161.3)

  • #6365A6

    #6365A6

    oklch(53.4% 0.101 281.1)

  • #9E573D

    #9E573D

    oklch(53.4% 0.102 40.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #287F5A

    #287F5A

    oklch(53.5% 0.101 161.3)

  • #3D70A6

    #3D70A6

    oklch(53.5% 0.102 251.5)

  • #94547E

    #94547E

    oklch(53.4% 0.101 341.3)

  • #91621E

    #91621E

    oklch(53.4% 0.101 71.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #287F5A 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.