#31490E#31490E

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

Color values

HEX#31490E
RGBrgb(49, 73, 14)
HSLhsl(84, 68%, 17%)
HSVhsv(84, 81%, 29%)
CMYKcmyk(32.9%, 0%, 80.8%, 71.4%)
CIE-LABlab(27.98, -19.68, 30.46)
CIE-LCHlch(27.98, 36.26, 122.86°)
OKLaboklab(37.25% -0.056 0.0682)
OKLCHoklch(37.25% 0.088 129.4)
XYZxyz(3.7284, 5.4497, 1.2708)
Luminance0.0545 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31490E #260E49
analogous
#49440E #31490E #14490E
triadic
#31490E #0E3149 #490E31
tetradic
#31490E #0E4944 #260E49 #490E14
square
#31490E #0E4944 #260E49 #490E14
split-complementary
#31490E #0E1449 #440E49
monochromatic
#111A05 #111A05 #31490E #537C18 #76B022

Accessibility & contrast

On white

10.05
#31490E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #31490E
10.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31490E#FFFFFF#000000##FFFFFF
##31490E1.0010.052.0910.05
#FFFFFF10.051.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D4304
Deuteranopia (green-blind)
#4A4114
Tritanopia (blue-blind)
#33453E
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #31490e;
/* rgb */ color: rgb(49, 73, 14);
/* oklch */ color: oklch(37.2% 0.088 129.4);
Tailwind
colors: {
  custom: {
    50: '#6c7c51',
    500: '#31490e',
    950: '#000000',
  },
}
SCSS
$custom: #31490e;
$custom-light: #6c7c51;
$custom-dark: #000000;
JSON
{
  "hex": "#31490e",
  "rgb": {
    "r": 49,
    "g": 73,
    "b": 14
  },
  "hsl": {
    "h": 84.407,
    "s": 67.816,
    "l": 17.059
  },
  "oklch": {
    "l": 0.37248,
    "c": 0.08826,
    "h": 129.4
  },
  "luminance": 0.0545
}

Semantic roles & 50–950 ramp

primary
#31490E
secondary
#512F84
accent
#3DEB84
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#070902
muted
#7A7B78

Preview Lab

Preview with #31490E

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

Preview Lab → · Contrast checker → · Palette generator →

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