#287C42

Closest named color: Jungle Green (#048243). oklch(52.1% 0.121 150.1), rgb(40, 124, 66).

Aa

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

About this color

#287C42 is a medium-dark, moderately saturated green. In OKLCH its lightness is 52%, its chroma 0.121 and its hue 150°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Jungle Green (#048243), ΔE 0.020 away. White text reads best on it, at 5.18:1.

Hue familyGreens
Lightnessmedium-dark (52%)
Chromamoderately saturated (0.121)
Temperaturein between
Nearest nameJungle Green (#048243)
Black text4.05:1
White text5.18:1

Values

HEX#287C42
RGBrgb(40, 124, 66)
HSLhsl(139, 51%, 32%)
OKLCHoklch(52.1% 0.121 150.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 #287C42 5.18:1 AA Lc -80.7 Fine for body text
Black text on #287C42 4.05:1 AA large text Lc 28.7 Dividers and decoration only
#287C42 text on white 5.18:1 AA Lc 75.3 Fine for body text
#287C42 text on black 4.05:1 AA large text Lc -26.4 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 700.

  1. Step 50

    50

    #F2F7F3

    oklch(97.1% 0.007 151.9)

  2. Step 100

    100

    #E2EDE4

    oklch(93.5% 0.017 151.1)

  3. Step 200

    200

    #CBE0CE

    oklch(88.6% 0.033 149.5)

  4. Step 300

    300

    #A7CCAD

    oklch(81% 0.058 149.6)

  5. Step 400

    400

    #75B182

    oklch(70.6% 0.093 150.3)

  6. Step 500

    500

    #4D9D62

    oklch(63% 0.119 150.3)

  7. Step 600

    600

    #2B8848

    oklch(55.7% 0.13 150)

  8. Step 700

    700 (this color)

    #287C42

    oklch(52.1% 0.121 150.1)

  9. Step 800

    800

    #1B5E30

    oklch(42.8% 0.1 150.1)

  10. Step 900

    900

    #1E4D2B

    oklch(37.8% 0.077 150.2)

  11. Step 950

    950

    #132D19

    oklch(27% 0.049 149.6)

Export this scale for Tailwind in the Tailwind colors tool

#287C42 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)#7D713E0.101
Deuteranopia (no green cones)#726A460.098
Tritanopia (no blue cones)#057A6E0.066
Achromatopsia (no color)#6D6D6D0.121

Harmonies

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

Complementary

The opposite hue (180°).

  • #287C42

    #287C42

    oklch(52.1% 0.121 150.1)

  • #8F4D8A

    #8F4D8A

    oklch(52.1% 0.12 330)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #287C42

    #287C42

    oklch(52.1% 0.121 150.1)

  • #617309

    #617309

    oklch(52.2% 0.121 120.1)

  • #007B6B

    #007B6B

    oklch(52.2% 0.095 179.5)

Open the analogous palette in the generator

Split complementary

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

  • #287C42

    #287C42

    oklch(52.1% 0.121 150.1)

  • #7557A4

    #7557A4

    oklch(52.2% 0.121 300.2)

  • #9F4866

    #9F4866

    oklch(52.2% 0.12 0.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #287C42

    #287C42

    oklch(52.1% 0.121 150.1)

  • #4F64AE

    #4F64AE

    oklch(52.2% 0.119 270)

  • #A34A3D

    #A34A3D

    oklch(52% 0.121 30.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #287C42

    #287C42

    oklch(52.1% 0.121 150.1)

  • #0070A7

    #0070A7

    oklch(52% 0.12 240.6)

  • #8F4D8A

    #8F4D8A

    oklch(52.1% 0.12 330)

  • #9A5504

    #9A5504

    oklch(52% 0.121 59.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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