#315F0F

Closest named color: Dark Green (#006400). oklch(43.6% 0.119 135.5), rgb(49, 95, 15).

Aa

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

About this color

#315F0F is a dark, moderately saturated green. In OKLCH its lightness is 44%, its chroma 0.119 and its hue 135°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Green (#006400), ΔE 0.034 away. White text reads best on it, at 7.56:1.

Hue familyGreens
Lightnessdark (44%)
Chromamoderately saturated (0.119)
Temperaturein between
Nearest nameDark Green (#006400)
Black text2.77:1
White text7.56:1

Values

HEX#315F0F
RGBrgb(49, 95, 15)
HSLhsl(95, 73%, 22%)
OKLCHoklch(43.6% 0.119 135.5)

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 #315F0F 7.56:1 AAA Lc -90.9 Preferred for body text
Black text on #315F0F 2.77:1 Fails Lc 18.0 Dividers and decoration only
#315F0F text on white 7.56:1 AAA Lc 86.1 Fine for body text
#315F0F text on black 2.77:1 Fails Lc -16.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 800.

  1. Step 50

    50

    #F3F7F1

    oklch(97.1% 0.009 134.9)

  2. Step 100

    100

    #E4EDE0

    oklch(93.6% 0.02 135.8)

  3. Step 200

    200

    #CEDFC6

    oklch(88.4% 0.038 135.5)

  4. Step 300

    300

    #ADCB9F

    oklch(80.8% 0.068 135.8)

  5. Step 400

    400

    #81B069

    oklch(70.6% 0.111 135.6)

  6. Step 500

    500

    #619C3E

    oklch(63.1% 0.141 135.5)

  7. Step 600

    600

    #468615

    oklch(55.6% 0.154 135.5)

  8. Step 700

    700

    #387103

    oklch(49% 0.142 135.3)

  9. Step 800

    800 (this color)

    #315F0F

    oklch(43.6% 0.119 135.5)

  10. Step 900

    900

    #2A4C14

    oklch(37.7% 0.092 135.4)

  11. Step 950

    950

    #192D0D

    oklch(27.1% 0.06 135.4)

Export this scale for Tailwind in the Tailwind colors tool

#315F0F 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)#6356000.072
Deuteranopia (no green cones)#5D53180.072
Tritanopia (no blue cones)#2F5B500.085
Achromatopsia (no color)#5454540.119

Harmonies

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

Complementary

The opposite hue (180°).

  • #315F0F

    #315F0F

    oklch(43.6% 0.119 135.5)

  • #6A3A7D

    #6A3A7D

    oklch(43.7% 0.118 315.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #315F0F

    #315F0F

    oklch(43.6% 0.119 135.5)

  • #595400

    #595400

    oklch(43.7% 0.093 105.7)

  • #006145

    #006145

    oklch(43.7% 0.091 165.3)

Open the analogous palette in the generator

Split complementary

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

  • #315F0F

    #315F0F

    oklch(43.6% 0.119 135.5)

  • #4D458F

    #4D458F

    oklch(43.7% 0.118 285.3)

  • #7D3160

    #7D3160

    oklch(43.6% 0.12 345.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #315F0F

    #315F0F

    oklch(43.6% 0.119 135.5)

  • #1D5191

    #1D5191

    oklch(43.6% 0.119 255.6)

  • #86303B

    #86303B

    oklch(43.6% 0.118 15.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #315F0F

    #315F0F

    oklch(43.6% 0.119 135.5)

  • #005A74

    #005A74

    oklch(43.5% 0.083 225.9)

  • #6A3A7D

    #6A3A7D

    oklch(43.7% 0.118 315.6)

  • #843708

    #843708

    oklch(43.6% 0.118 45.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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