#315A02

Closest named color: Navy Green (#35530A). oklch(42.1% 0.118 133.4), rgb(49, 90, 2).

Aa

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

About this color

#315A02 is a dark, moderately saturated green. In OKLCH its lightness is 42%, its chroma 0.118 and its hue 133°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Navy Green (#35530A), ΔE 0.024 away. White text reads best on it, at 8.09:1.

Hue familyGreens
Lightnessdark (42%)
Chromamoderately saturated (0.118)
Temperaturein between
Nearest nameNavy Green (#35530A)
Black text2.59:1
White text8.09:1

Values

HEX#315A02
RGBrgb(49, 90, 2)
HSLhsl(88, 96%, 18%)
OKLCHoklch(42.1% 0.118 133.4)

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 #315A02 8.09:1 AAA Lc -92.4 Preferred for body text
Black text on #315A02 2.59:1 Fails Lc 16.2 Dividers and decoration only
#315A02 text on white 8.09:1 AAA Lc 87.8 Fine for body text
#315A02 text on black 2.59:1 Fails Lc -14.4 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

    #F3F7F1

    oklch(97.1% 0.009 134.9)

  2. Step 100

    100

    #E5EDE0

    oklch(93.6% 0.019 133.1)

  3. Step 200

    200

    #CFDFC6

    oklch(88.5% 0.038 134.1)

  4. Step 300

    300

    #AFCB9D

    oklch(80.9% 0.07 133.3)

  5. Step 400

    400

    #85B067

    oklch(70.8% 0.111 133.4)

  6. Step 500

    500

    #669B3A

    oklch(63.1% 0.141 133.2)

  7. Step 600

    600

    #4C850C

    oklch(55.6% 0.153 133.4)

  8. Step 700

    700

    #3E7000

    oklch(49% 0.139 133.3)

  9. Step 800

    800 (this color)

    #315A02

    oklch(42.1% 0.118 133.4)

  10. Step 900

    900

    #2D4B11

    oklch(37.6% 0.091 133)

  11. Step 950

    950

    #1A2C0C

    oklch(26.9% 0.058 133.6)

Export this scale for Tailwind in the Tailwind colors tool

#315A02 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)#5E52000.068
Deuteranopia (no green cones)#594F0F0.068
Tritanopia (no blue cones)#31564B0.087
Achromatopsia (no color)#5050500.119

Harmonies

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

Complementary

The opposite hue (180°).

  • #315A02

    #315A02

    oklch(42.1% 0.118 133.4)

  • #64367A

    #64367A

    oklch(42.1% 0.118 313.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #315A02

    #315A02

    oklch(42.1% 0.118 133.4)

  • #564F00

    #564F00

    oklch(42.1% 0.089 103.7)

  • #005C3F

    #005C3F

    oklch(42% 0.09 163.4)

Open the analogous palette in the generator

Split complementary

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

  • #315A02

    #315A02

    oklch(42.1% 0.118 133.4)

  • #47418B

    #47418B

    oklch(42.1% 0.119 283.7)

  • #772E5E

    #772E5E

    oklch(42.1% 0.118 343.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #315A02

    #315A02

    oklch(42.1% 0.118 133.4)

  • #114E8B

    #114E8B

    oklch(42.1% 0.117 252.9)

  • #812B3A

    #812B3A

    oklch(42.1% 0.118 13.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #315A02

    #315A02

    oklch(42.1% 0.118 133.4)

  • #00566D

    #00566D

    oklch(42.1% 0.079 223.9)

  • #64367A

    #64367A

    oklch(42.1% 0.118 313.7)

  • #803208

    #803208

    oklch(42.2% 0.118 43.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #315A02 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.