#318C42

Closest named color: Sea Green (#2E8B57). oklch(56.8% 0.139 146.9), rgb(49, 140, 66).

Aa

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

About this color

#318C42 is a medium-dark, moderately saturated green. In OKLCH its lightness is 57%, its chroma 0.139 and its hue 147°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Sea Green (#2E8B57), ΔE 0.027 away. Black text reads best on it, at 4.96:1.

Hue familyGreens
Lightnessmedium-dark (57%)
Chromamoderately saturated (0.139)
Temperaturein between
Nearest nameSea Green (#2E8B57)
Black text4.96:1
White text4.23:1

Values

HEX#318C42
RGBrgb(49, 140, 66)
HSLhsl(131, 48%, 37%)
OKLCHoklch(56.8% 0.139 146.9)

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 #318C42 4.23:1 AA large text Lc -74.4 Content text, not long reading
Black text on #318C42 4.96:1 AA Lc 35.2 Non-text elements, placeholder text
#318C42 text on white 4.23:1 AA large text Lc 68.9 Content text, not long reading
#318C42 text on black 4.96:1 AA Lc -32.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

    #F2F7F2

    oklch(97.1% 0.008 145.5)

  2. Step 100

    100

    #E2EDE3

    oklch(93.5% 0.018 148.1)

  3. Step 200

    200

    #CBE0CC

    oklch(88.6% 0.035 146.6)

  4. Step 300

    300

    #A7CCA9

    oklch(80.9% 0.063 146.4)

  5. Step 400

    400

    #75B27C

    oklch(70.8% 0.1 147.2)

  6. Step 500

    500

    #4E9E59

    oklch(63.1% 0.129 146.8)

  7. Step 600

    600 (this color)

    #318C42

    oklch(56.8% 0.139 146.9)

  8. Step 700

    700

    #1E7330

    oklch(49% 0.129 146.8)

  9. Step 800

    800

    #1C5E29

    oklch(42.7% 0.107 147)

  10. Step 900

    900

    #1E4D26

    oklch(37.7% 0.083 147.2)

  11. Step 950

    950

    #132D16

    oklch(26.9% 0.053 146.4)

Export this scale for Tailwind in the Tailwind colors tool

#318C42 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)#8E803C0.109
Deuteranopia (no green cones)#8278470.107
Tritanopia (no blue cones)#17897B0.082
Achromatopsia (no color)#7B7B7B0.140

Harmonies

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

Complementary

The opposite hue (180°).

  • #318C42

    #318C42

    oklch(56.8% 0.139 146.9)

  • #A156A1

    #A156A1

    oklch(56.9% 0.139 327.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #318C42

    #318C42

    oklch(56.8% 0.139 146.9)

  • #728000

    #728000

    oklch(56.8% 0.131 117.1)

  • #008B76

    #008B76

    oklch(56.9% 0.106 177)

Open the analogous palette in the generator

Split complementary

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

  • #318C42

    #318C42

    oklch(56.8% 0.139 146.9)

  • #8062BE

    #8062BE

    oklch(56.8% 0.14 296.8)

  • #B54F78

    #B54F78

    oklch(57% 0.139 357.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #318C42

    #318C42

    oklch(56.8% 0.139 146.9)

  • #5271C8

    #5271C8

    oklch(56.8% 0.139 267.2)

  • #BB5148

    #BB5148

    oklch(56.9% 0.139 27.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #318C42

    #318C42

    oklch(56.8% 0.139 146.9)

  • #0080B6

    #0080B6

    oklch(56.8% 0.124 236.9)

  • #A156A1

    #A156A1

    oklch(56.9% 0.139 327.2)

  • #B25D00

    #B25D00

    oklch(56.8% 0.138 56.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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