#31470D#31470D

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

Color values

HEX#31470D
RGBrgb(49, 71, 13)
HSLhsl(83, 69%, 16%)
HSVhsv(83, 82%, 28%)
CMYKcmyk(31%, 0%, 81.7%, 72.2%)
CIE-LABlab(27.26, -18.69, 30.17)
CIE-LCHlch(27.26, 35.49, 121.77°)
OKLaboklab(36.67% -0.0534 0.0674)
OKLCHoklch(36.67% 0.086 128.4)
XYZxyz(3.5925, 5.1884, 1.1929)
Luminance0.0519 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31470D #230D47
analogous
#47400D #31470D #14470D
triadic
#31470D #0D3147 #470D31
tetradic
#31470D #0D4740 #230D47 #470D14
square
#31470D #0D4740 #230D47 #470D14
split-complementary
#31470D #0D1447 #400D47
monochromatic
#121A05 #121A05 #31470D #557B16 #78AE20

Accessibility & contrast

On white

10.31
#31470D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #31470D
10.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31470D#FFFFFF#000000##FFFFFF
##31470D1.0010.312.0410.31
#FFFFFF10.311.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.311.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #31470d;
/* rgb */ color: rgb(49, 71, 13);
/* oklch */ color: oklch(36.7% 0.086 128.4);
Tailwind
colors: {
  custom: {
    50: '#6c7a50',
    500: '#31470d',
    950: '#000000',
  },
}
SCSS
$custom: #31470d;
$custom-light: #6c7a50;
$custom-dark: #000000;
JSON
{
  "hex": "#31470d",
  "rgb": {
    "r": 49,
    "g": 71,
    "b": 13
  },
  "hsl": {
    "h": 82.759,
    "s": 69.048,
    "l": 16.471
  },
  "oklch": {
    "l": 0.36665,
    "c": 0.08602,
    "h": 128.4
  },
  "luminance": 0.05189
}

Semantic roles & 50–950 ramp

primary
#31470D
secondary
#4E2D82
accent
#3CEC7F
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#070902
muted
#7A7B78

Preview Lab

Preview with #31470D

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

Preview Lab → · Contrast checker → · Palette generator →

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