#31491A#31491A

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

Color values

HEX#31491A
RGBrgb(49, 73, 26)
HSLhsl(91, 47%, 19%)
HSVhsv(91, 64%, 29%)
CMYKcmyk(32.9%, 0%, 64.4%, 71.4%)
CIE-LABlab(28.09, -18.56, 24.75)
CIE-LCHlch(28.09, 30.93, 126.87°)
OKLaboklab(37.38% -0.0518 0.0579)
OKLCHoklch(37.38% 0.078 131.8)
XYZxyz(3.8356, 5.4925, 1.8352)
Luminance0.0549 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31491A #321A49
analogous
#49491A #31491A #1A491A
triadic
#31491A #1A3149 #491A31
tetradic
#31491A #1A4949 #321A49 #491A1A
square
#31491A #1A4949 #321A49 #491A1A
split-complementary
#31491A #1A1A49 #491A49
monochromatic
#0F1708 #131C0A #31491A #4F762A #6EA33A

Accessibility & contrast

On white

10.01
#31491A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #31491A
10.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31491A#FFFFFF#000000##FFFFFF
##31491A1.0010.012.1010.01
#FFFFFF10.011.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.011.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #31491a;
/* rgb */ color: rgb(49, 73, 26);
/* oklch */ color: oklch(37.4% 0.078 131.8);
Tailwind
colors: {
  custom: {
    50: '#6b7c58',
    500: '#31491a',
    950: '#000000',
  },
}
SCSS
$custom: #31491a;
$custom-light: #6b7c58;
$custom-dark: #000000;
JSON
{
  "hex": "#31491a",
  "rgb": {
    "r": 49,
    "g": 73,
    "b": 26
  },
  "hsl": {
    "h": 90.638,
    "s": 47.475,
    "l": 19.412
  },
  "oklch": {
    "l": 0.37379,
    "c": 0.07772,
    "h": 131.8
  },
  "luminance": 0.05493
}

Semantic roles & 50–950 ramp

primary
#31491A
secondary
#60407F
accent
#51D795
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#070903
muted
#7A7B78

Preview Lab

Preview with #31491A

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

Preview Lab → · Contrast checker → · Palette generator →

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