#31480E#31480E

#31480E is a dark, moderate yellow-green. Relative luminance 0.053; OKLCH L 37.0% C 0.087 H 129.0°. Best body text is #FFFFFF at 10.18:1 contrast (WCAG AA passes).

Color values

HEX#31480E
RGBrgb(49, 72, 14)
HSLhsl(84, 67%, 17%)
HSVhsv(84, 81%, 28%)
CMYKcmyk(31.9%, 0%, 80.6%, 71.8%)
CIE-LABlab(27.63, -19.15, 30.11)
CIE-LCHlch(27.63, 35.68, 122.46°)
OKLaboklab(36.96% -0.0546 0.0675)
OKLCHoklch(36.96% 0.087 129)
XYZxyz(3.6632, 5.3193, 1.2491)
Luminance0.0532 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31480E #250E48
analogous
#48420E #31480E #14480E
triadic
#31480E #0E3148 #480E31
tetradic
#31480E #0E4842 #250E48 #480E14
square
#31480E #0E4842 #250E48 #480E14
split-complementary
#31480E #0E1448 #420E48
monochromatic
#111A05 #111A05 #31480E #547B18 #77AE22

Accessibility & contrast

On white

10.18
#31480E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#31480E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #31480E
10.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31480E#FFFFFF#000000##FFFFFF
##31480E1.0010.182.0610.18
#FFFFFF10.181.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C4205
Deuteranopia (green-blind)
#494113
Tritanopia (blue-blind)
#33443D
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #31480e;
/* rgb */ color: rgb(49, 72, 14);
/* oklch */ color: oklch(37.0% 0.087 129.0);
Tailwind
colors: {
  custom: {
    50: '#6c7b51',
    500: '#31480e',
    950: '#000000',
  },
}
SCSS
$custom: #31480e;
$custom-light: #6c7b51;
$custom-dark: #000000;
JSON
{
  "hex": "#31480e",
  "rgb": {
    "r": 49,
    "g": 72,
    "b": 14
  },
  "hsl": {
    "h": 83.793,
    "s": 67.442,
    "l": 16.863
  },
  "oklch": {
    "l": 0.36961,
    "c": 0.08679,
    "h": 129
  },
  "luminance": 0.05319
}

Semantic roles & 50–950 ramp

primary
#31480E
secondary
#502F83
accent
#3DEA82
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#070902
muted
#7A7B78

Preview Lab

Preview with #31480E

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

Preview Lab → · Contrast checker → · Palette generator →

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