#31490A#31490A

#31490A is a dark, moderate yellow-green. Relative luminance 0.054; OKLCH L 37.2% C 0.091 H 128.9°. Best body text is #FFFFFF at 10.06:1 contrast (WCAG AA passes).

Color values

HEX#31490A
RGBrgb(49, 73, 10)
HSLhsl(83, 76%, 16%)
HSVhsv(83, 86%, 29%)
CMYKcmyk(32.9%, 0%, 86.3%, 71.4%)
CIE-LABlab(27.95, -19.94, 32.00)
CIE-LCHlch(27.95, 37.70, 121.92°)
OKLaboklab(37.22% -0.0571 0.0707)
OKLCHoklch(37.22% 0.091 128.9)
XYZxyz(3.7039, 5.4399, 1.1420)
Luminance0.0544 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31490A #220A49
analogous
#49420A #31490A #12490A
triadic
#31490A #0A3149 #490A31
tetradic
#31490A #0A4942 #220A49 #490A12
square
#31490A #0A4942 #220A49 #490A12
split-complementary
#31490A #0A1249 #420A49
monochromatic
#121B04 #121B04 #31490A #557F11 #79B519

Accessibility & contrast

On white

10.06
#31490A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#31490A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #31490A
10.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31490A#FFFFFF#000000##FFFFFF
##31490A1.0010.062.0910.06
#FFFFFF10.061.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D4300
Deuteranopia (green-blind)
#4A4111
Tritanopia (blue-blind)
#33453D
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #31490a;
/* rgb */ color: rgb(49, 73, 10);
/* oklch */ color: oklch(37.2% 0.091 128.9);
Tailwind
colors: {
  custom: {
    50: '#6c7c4f',
    500: '#31490a',
    950: '#000000',
  },
}
SCSS
$custom: #31490a;
$custom-light: #6c7c4f;
$custom-dark: #000000;
JSON
{
  "hex": "#31490a",
  "rgb": {
    "r": 49,
    "g": 73,
    "b": 10
  },
  "hsl": {
    "h": 82.857,
    "s": 75.904,
    "l": 16.275
  },
  "oklch": {
    "l": 0.37218,
    "c": 0.09087,
    "h": 128.9
  },
  "luminance": 0.0544
}

Semantic roles & 50–950 ramp

primary
#31490A
secondary
#4C2986
accent
#35F27D
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#070902
muted
#7A7B78

Preview Lab

Preview with #31490A

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

Preview Lab → · Contrast checker → · Palette generator →

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