#31420F

Closest named color: Dark Olive (#373E02). oklch(35.3% 0.077 126.1), rgb(49, 66, 15).

Aa

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

About this color

#31420F is a dark, moderately saturated green. In OKLCH its lightness is 35%, its chroma 0.077 and its hue 126°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Olive (#373E02), ΔE 0.014 away. White text reads best on it, at 10.95:1.

Hue familyGreens
Lightnessdark (35%)
Chromamoderately saturated (0.077)
Temperaturein between
Nearest nameDark Olive (#373E02)
Black text1.91:1
White text10.95:1

Values

HEX#31420F
RGBrgb(49, 66, 15)
HSLhsl(80, 63%, 16%)
OKLCHoklch(35.3% 0.077 126.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 #31420F 10.95:1 AAA Lc -99.1 Preferred for body text
Black text on #31420F 1.91:1 Fails Lc 8.6 Not readable
#31420F text on white 10.95:1 AAA Lc 95.3 Preferred for body text
#31420F text on black 1.91:1 Fails Lc -7.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 900.

  1. Step 50

    50

    #F4F6F1

    oklch(97% 0.007 124.4)

  2. Step 100

    100

    #E7ECE0

    oklch(93.6% 0.017 125.3)

  3. Step 200

    200

    #D4DDC7

    oklch(88.5% 0.031 125.2)

  4. Step 300

    300

    #B7C8A0

    oklch(80.9% 0.058 126.4)

  5. Step 400

    400

    #92AB6B

    oklch(70.6% 0.092 126)

  6. Step 500

    500

    #779641

    oklch(63.1% 0.118 126.3)

  7. Step 600

    600

    #60801D

    oklch(55.6% 0.128 126.3)

  8. Step 700

    700

    #506C0D

    oklch(49.1% 0.119 125.9)

  9. Step 800

    800

    #415810

    oklch(42.7% 0.099 126.2)

  10. Step 900

    900 (this color)

    #31420F

    oklch(35.3% 0.077 126.1)

  11. Step 950

    950

    #202B0F

    oklch(27.1% 0.049 127.2)

Export this scale for Tailwind in the Tailwind colors tool

#31420F 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)#463D080.036
Deuteranopia (no green cones)#443C130.037
Tritanopia (no blue cones)#333F380.061
Achromatopsia (no color)#3C3C3C0.077

Harmonies

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

Complementary

The opposite hue (180°).

  • #31420F

    #31420F

    oklch(35.3% 0.077 126.1)

  • #452F5B

    #452F5B

    oklch(35.2% 0.078 305.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #31420F

    #31420F

    oklch(35.3% 0.077 126.1)

  • #463A00

    #463A00

    oklch(35.1% 0.072 96)

  • #0D472A

    #0D472A

    oklch(35.3% 0.077 156.3)

Open the analogous palette in the generator

Split complementary

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

  • #31420F

    #31420F

    oklch(35.3% 0.077 126.1)

  • #313663

    #313663

    oklch(35.2% 0.078 276.8)

  • #542A4A

    #542A4A

    oklch(35.3% 0.077 336.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #31420F

    #31420F

    oklch(35.3% 0.077 126.1)

  • #113E61

    #113E61

    oklch(35.3% 0.078 246.3)

  • #5C2835

    #5C2835

    oklch(35.3% 0.077 6.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #31420F

    #31420F

    oklch(35.3% 0.077 126.1)

  • #004350

    #004350

    oklch(35.3% 0.063 216)

  • #452F5B

    #452F5B

    oklch(35.2% 0.078 305.8)

  • #5C2B1D

    #5C2B1D

    oklch(35.3% 0.076 36.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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