#31470E#31470E

#31470E is a dark, moderate yellow-green. Relative luminance 0.052; OKLCH L 36.7% C 0.085 H 128.6°. Best body text is #FFFFFF at 10.30:1 contrast (WCAG AA passes).

Color values

HEX#31470E
RGBrgb(49, 71, 14)
HSLhsl(83, 67%, 17%)
HSVhsv(83, 80%, 28%)
CMYKcmyk(31%, 0%, 80.3%, 72.2%)
CIE-LABlab(27.27, -18.62, 29.76)
CIE-LCHlch(27.27, 35.10, 122.03°)
OKLaboklab(36.67% -0.0532 0.0667)
OKLCHoklch(36.67% 0.085 128.6)
XYZxyz(3.5991, 5.1911, 1.2277)
Luminance0.0519 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31470E #240E47
analogous
#47410E #31470E #15470E
triadic
#31470E #0E3147 #470E31
tetradic
#31470E #0E4741 #240E47 #470E15
square
#31470E #0E4741 #240E47 #470E15
split-complementary
#31470E #0E1547 #410E47
monochromatic
#121A05 #121A05 #31470E #547A18 #78AD22

Accessibility & contrast

On white

10.30
#31470E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#31470E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #31470E
10.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31470E#FFFFFF#000000##FFFFFF
##31470E1.0010.302.0410.30
#FFFFFF10.301.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B4105
Deuteranopia (green-blind)
#484013
Tritanopia (blue-blind)
#33433C
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #31470e;
/* rgb */ color: rgb(49, 71, 14);
/* oklch */ color: oklch(36.7% 0.085 128.6);
Tailwind
colors: {
  custom: {
    50: '#6b7a51',
    500: '#31470e',
    950: '#000000',
  },
}
SCSS
$custom: #31470e;
$custom-light: #6b7a51;
$custom-dark: #000000;
JSON
{
  "hex": "#31470e",
  "rgb": {
    "r": 49,
    "g": 71,
    "b": 14
  },
  "hsl": {
    "h": 83.158,
    "s": 67.059,
    "l": 16.667
  },
  "oklch": {
    "l": 0.36673,
    "c": 0.0853,
    "h": 128.6
  },
  "luminance": 0.05191
}

Semantic roles & 50–950 ramp

primary
#31470E
secondary
#4F2F82
accent
#3EEA80
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#070902
muted
#7A7B78

Preview Lab

Preview with #31470E

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

Preview Lab → · Contrast checker → · Palette generator →

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