#31570E#31570E

#31570E is a dark, moderate yellow-green. Relative luminance 0.075; OKLCH L 41.3% C 0.108 H 133.8°. Best body text is #FFFFFF at 8.40:1 contrast (WCAG AA passes).

Color values

HEX#31570E
RGBrgb(49, 87, 14)
HSLhsl(91, 72%, 20%)
HSVhsv(91, 84%, 34%)
CMYKcmyk(43.7%, 0%, 83.9%, 65.9%)
CIE-LABlab(32.92, -26.64, 35.23)
CIE-LCHlch(32.92, 44.17, 127.10°)
OKLaboklab(41.28% -0.0749 0.0782)
OKLCHoklch(41.28% 0.108 133.8)
XYZxyz(4.7540, 7.5008, 1.6127)
Luminance0.0750 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31570E #340E57
analogous
#56570E #31570E #0E5710
triadic
#31570E #0E3157 #570E31
tetradic
#31570E #0E5657 #340E57 #57100E
square
#31570E #0E5657 #340E57 #57100E
split-complementary
#31570E #100E57 #570E56
monochromatic
#0F1A04 #132206 #31570E #4F8C16 #6CC01F

Accessibility & contrast

On white

8.40
#31570E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#31570E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #31570E
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31570E#FFFFFF#000000##FFFFFF
##31570E1.008.402.508.40
#FFFFFF8.401.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B4F00
Deuteranopia (green-blind)
#564C16
Tritanopia (blue-blind)
#315349
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #31570e;
/* rgb */ color: rgb(49, 87, 14);
/* oklch */ color: oklch(41.3% 0.108 133.8);
Tailwind
colors: {
  custom: {
    50: '#6d8753',
    500: '#31570e',
    950: '#000000',
  },
}
SCSS
$custom: #31570e;
$custom-light: #6d8753;
$custom-dark: #000000;
JSON
{
  "hex": "#31570e",
  "rgb": {
    "r": 49,
    "g": 87,
    "b": 14
  },
  "hsl": {
    "h": 91.233,
    "s": 72.277,
    "l": 19.804
  },
  "oklch": {
    "l": 0.41282,
    "c": 0.10827,
    "h": 133.8
  },
  "luminance": 0.07501
}

Semantic roles & 50–950 ramp

primary
#31570E
secondary
#623091
accent
#39EF98
background
#F6F8F4
surface
#ECEFE8
border
#C7CAC4
text
#070B03
muted
#7A7C78

Preview Lab

Preview with #31570E

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#31570E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva