#31942F

Closest named color: Kelley Green (#009337). oklch(58.8% 0.166 142.8), rgb(49, 148, 47).

Aa

Black text reads best on this color (5.40:1).

About this color

#31942F is a medium-dark, vivid green. In OKLCH its lightness is 59%, its chroma 0.166 and its hue 143°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Kelley Green (#009337), ΔE 0.017 away. Black text reads best on it, at 5.40:1.

Hue familyGreens
Lightnessmedium-dark (59%)
Chromavivid (0.166)
Temperaturein between
Nearest nameKelley Green (#009337)
Black text5.40:1
White text3.88:1

Values

HEX#31942F
RGBrgb(49, 148, 47)
HSLhsl(119, 52%, 38%)
OKLCHoklch(58.8% 0.166 142.8)

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 #31942F 3.88:1 AA large text Lc -71.4 Content text, not long reading
Black text on #31942F 5.40:1 AA Lc 38.2 Non-text elements, placeholder text
#31942F text on white 3.88:1 AA large text Lc 65.9 Content text, not long reading
#31942F text on black 5.40:1 AA Lc -35.8 Non-text elements, placeholder text

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

    #F2F7F1

    oklch(97.1% 0.01 140.5)

  2. Step 100

    100

    #E2EEE1

    oklch(93.7% 0.021 143.2)

  3. Step 200

    200

    #CAE1C8

    oklch(88.6% 0.042 143)

  4. Step 300

    300

    #A5CEA1

    oklch(81% 0.076 142.5)

  5. Step 400

    400

    #72B46E

    oklch(70.8% 0.12 142.9)

  6. Step 500

    500

    #49A046

    oklch(63.1% 0.152 142.9)

  7. Step 600

    600 (this color)

    #31942F

    oklch(58.8% 0.166 142.8)

  8. Step 700

    700

    #157515

    oklch(49.1% 0.154 142.8)

  9. Step 800

    800

    #165F15

    oklch(42.6% 0.128 142.8)

  10. Step 900

    900

    #1B4E19

    oklch(37.6% 0.099 142.7)

  11. Step 950

    950

    #112E10

    oklch(27% 0.063 143)

Export this scale for Tailwind in the Tailwind colors tool

#31942F 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)#9786210.118
Deuteranopia (no green cones)#8B7E380.118
Tritanopia (no blue cones)#1B907F0.105
Achromatopsia (no color)#8181810.167

Harmonies

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

Complementary

The opposite hue (180°).

  • #31942F

    #31942F

    oklch(58.8% 0.166 142.8)

  • #AA55B5

    #AA55B5

    oklch(58.9% 0.166 322.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #31942F

    #31942F

    oklch(58.8% 0.166 142.8)

  • #7E8400

    #7E8400

    oklch(58.8% 0.131 112.9)

  • #009276

    #009276

    oklch(58.8% 0.113 172.8)

Open the analogous palette in the generator

Split complementary

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

  • #31942F

    #31942F

    oklch(58.8% 0.166 142.8)

  • #8264D5

    #8264D5

    oklch(58.7% 0.167 292.8)

  • #C34A85

    #C34A85

    oklch(58.8% 0.166 353.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #31942F

    #31942F

    oklch(58.8% 0.166 142.8)

  • #4577DE

    #4577DE

    oklch(58.8% 0.166 262.9)

  • #CC4A4C

    #CC4A4C

    oklch(58.7% 0.165 22.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #31942F

    #31942F

    oklch(58.8% 0.166 142.8)

  • #0088B8

    #0088B8

    oklch(58.9% 0.121 232.3)

  • #AA55B5

    #AA55B5

    oklch(58.9% 0.166 322.9)

  • #BF5E00

    #BF5E00

    oklch(58.9% 0.15 52.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #31942F 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.