#31440B#31440B

#31440B is a dark, moderate yellow-green. Relative luminance 0.048; OKLCH L 35.8% C 0.083 H 126.7°. Best body text is #FFFFFF at 10.70:1 contrast (WCAG AA passes).

Color values

HEX#31440B
RGBrgb(49, 68, 11)
HSLhsl(80, 72%, 15%)
HSVhsv(80, 84%, 27%)
CMYKcmyk(27.9%, 0%, 83.8%, 73.3%)
CIE-LABlab(26.19, -17.20, 29.95)
CIE-LCHlch(26.19, 34.54, 119.87°)
OKLaboklab(35.79% -0.0496 0.0666)
OKLCHoklch(35.79% 0.083 126.7)
XYZxyz(3.3942, 4.8113, 1.0664)
Luminance0.0481 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31440B #1E0B44
analogous
#443A0B #31440B #14440B
triadic
#31440B #0B3144 #440B31
tetradic
#31440B #0B443A #1E0B44 #440B14
square
#31440B #0B443A #1E0B44 #440B14
split-complementary
#31440B #0B1444 #3A0B44
monochromatic
#131A04 #131A04 #31440B #577914 #7DAD1C

Accessibility & contrast

On white

10.70
#31440B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#31440B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #31440B
10.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31440B#FFFFFF#000000##FFFFFF
##31440B1.0010.701.9610.70
#FFFFFF10.701.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#483F02
Deuteranopia (green-blind)
#453E10
Tritanopia (blue-blind)
#334039
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #31440b;
/* rgb */ color: rgb(49, 68, 11);
/* oklch */ color: oklch(35.8% 0.083 126.7);
Tailwind
colors: {
  custom: {
    50: '#6b784f',
    500: '#31440b',
    950: '#000000',
  },
}
SCSS
$custom: #31440b;
$custom-light: #6b784f;
$custom-dark: #000000;
JSON
{
  "hex": "#31440b",
  "rgb": {
    "r": 49,
    "g": 68,
    "b": 11
  },
  "hsl": {
    "h": 80,
    "s": 72.152,
    "l": 15.49
  },
  "oklch": {
    "l": 0.35788,
    "c": 0.083,
    "h": 126.7
  },
  "luminance": 0.04811
}

Semantic roles & 50–950 ramp

primary
#31440B
secondary
#472A81
accent
#39EF76
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#070802
muted
#7A7B78

Preview Lab

Preview with #31440B

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

Preview Lab → · Contrast checker → · Palette generator →

#31440B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva