#31490D#31490D

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

Color values

HEX#31490D
RGBrgb(49, 73, 13)
HSLhsl(84, 70%, 17%)
HSVhsv(84, 82%, 29%)
CMYKcmyk(32.9%, 0%, 82.2%, 71.4%)
CIE-LABlab(27.97, -19.75, 30.87)
CIE-LCHlch(27.97, 36.64, 122.61°)
OKLaboklab(37.24% -0.0563 0.0689)
OKLCHoklch(37.24% 0.089 129.3)
XYZxyz(3.7218, 5.4470, 1.2360)
Luminance0.0545 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31490D #250D49
analogous
#49430D #31490D #13490D
triadic
#31490D #0D3149 #490D31
tetradic
#31490D #0D4943 #250D49 #490D13
square
#31490D #0D4943 #250D49 #490D13
split-complementary
#31490D #0D1349 #430D49
monochromatic
#111A05 #111A05 #31490D #547D16 #77B120

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##31490D#FFFFFF#000000##FFFFFF
##31490D1.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)
#4D4303
Deuteranopia (green-blind)
#4A4113
Tritanopia (blue-blind)
#33453E
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #31490d;
/* rgb */ color: rgb(49, 73, 13);
/* oklch */ color: oklch(37.2% 0.089 129.3);
Tailwind
colors: {
  custom: {
    50: '#6c7c51',
    500: '#31490d',
    950: '#000000',
  },
}
SCSS
$custom: #31490d;
$custom-light: #6c7c51;
$custom-dark: #000000;
JSON
{
  "hex": "#31490d",
  "rgb": {
    "r": 49,
    "g": 73,
    "b": 13
  },
  "hsl": {
    "h": 84,
    "s": 69.767,
    "l": 16.863
  },
  "oklch": {
    "l": 0.3724,
    "c": 0.08896,
    "h": 129.3
  },
  "luminance": 0.05447
}

Semantic roles & 50–950 ramp

primary
#31490D
secondary
#502D84
accent
#3BED82
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#070902
muted
#7A7B78

Preview Lab

Preview with #31490D

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

Preview Lab → · Contrast checker → · Palette generator →

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