#31470A#31470A

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

Color values

HEX#31470A
RGBrgb(49, 71, 10)
HSLhsl(82, 75%, 16%)
HSVhsv(82, 86%, 28%)
CMYKcmyk(31%, 0%, 85.9%, 72.2%)
CIE-LABlab(27.25, -18.88, 31.34)
CIE-LCHlch(27.25, 36.59, 121.07°)
OKLaboklab(36.64% -0.0542 0.0693)
OKLCHoklch(36.64% 0.088 128)
XYZxyz(3.5747, 5.1813, 1.0989)
Luminance0.0518 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31470A #200A47
analogous
#473E0A #31470A #12470A
triadic
#31470A #0A3147 #470A31
tetradic
#31470A #0A473E #200A47 #470A12
square
#31470A #0A473E #200A47 #470A12
split-complementary
#31470A #0A1247 #3E0A47
monochromatic
#131B04 #131B04 #31470A #567D12 #7BB219

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##31470A#FFFFFF#000000##FFFFFF
##31470A1.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)
#4B4100
Deuteranopia (green-blind)
#484010
Tritanopia (blue-blind)
#33433C
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #31470a;
/* rgb */ color: rgb(49, 71, 10);
/* oklch */ color: oklch(36.6% 0.088 128.0);
Tailwind
colors: {
  custom: {
    50: '#6c7a4f',
    500: '#31470a',
    950: '#000000',
  },
}
SCSS
$custom: #31470a;
$custom-light: #6c7a4f;
$custom-dark: #000000;
JSON
{
  "hex": "#31470a",
  "rgb": {
    "r": 49,
    "g": 71,
    "b": 10
  },
  "hsl": {
    "h": 81.639,
    "s": 75.309,
    "l": 15.882
  },
  "oklch": {
    "l": 0.36643,
    "c": 0.08799,
    "h": 128
  },
  "luminance": 0.05181
}

Semantic roles & 50–950 ramp

primary
#31470A
secondary
#4A2984
accent
#36F27A
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#070902
muted
#7A7B78

Preview Lab

Preview with #31470A

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

Preview Lab → · Contrast checker → · Palette generator →

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