#31491C#31491C

#31491C is a dark, moderate yellow-green. Relative luminance 0.055; OKLCH L 37.4% C 0.076 H 132.4°. Best body text is #FFFFFF at 10.00:1 contrast (WCAG AA passes).

Color values

HEX#31491C
RGBrgb(49, 73, 28)
HSLhsl(92, 45%, 20%)
HSVhsv(92, 62%, 29%)
CMYKcmyk(32.9%, 0%, 61.6%, 71.4%)
CIE-LABlab(28.12, -18.32, 23.68)
CIE-LCHlch(28.12, 29.94, 127.73°)
OKLaboklab(37.41% -0.051 0.0558)
OKLCHoklch(37.41% 0.076 132.4)
XYZxyz(3.8587, 5.5018, 1.9570)
Luminance0.0550 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31491C #341C49
analogous
#48491C #31491C #1C491E
triadic
#31491C #1C3149 #491C31
tetradic
#31491C #1C4849 #341C49 #491E1C
square
#31491C #1C4849 #341C49 #491E1C
split-complementary
#31491C #1E1C49 #491C48
monochromatic
#0F1608 #131D0B #31491C #4F752D #6CA13E

Accessibility & contrast

On white

10.00
#31491C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#31491C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #31491C
10.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31491C#FFFFFF#000000##FFFFFF
##31491C1.0010.002.1010.00
#FFFFFF10.001.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C4418
Deuteranopia (green-blind)
#49421F
Tritanopia (blue-blind)
#32463F
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #31491c;
/* rgb */ color: rgb(49, 73, 28);
/* oklch */ color: oklch(37.4% 0.076 132.4);
Tailwind
colors: {
  custom: {
    50: '#6b7c5a',
    500: '#31491c',
    950: '#000000',
  },
}
SCSS
$custom: #31491c;
$custom-light: #6b7c5a;
$custom-dark: #000000;
JSON
{
  "hex": "#31491c",
  "rgb": {
    "r": 49,
    "g": 73,
    "b": 28
  },
  "hsl": {
    "h": 92,
    "s": 44.554,
    "l": 19.804
  },
  "oklch": {
    "l": 0.37407,
    "c": 0.07561,
    "h": 132.4
  },
  "luminance": 0.05502
}

Semantic roles & 50–950 ramp

primary
#31491C
secondary
#62427E
accent
#54D498
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#070904
muted
#7A7B79

Preview Lab

Preview with #31491C

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

Preview Lab → · Contrast checker → · Palette generator →

#31491C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva