#31441B#31441B

#31441B is a dark, moderate yellow-green. Relative luminance 0.049; OKLCH L 36.0% C 0.068 H 129.9°. Best body text is #FFFFFF at 10.64:1 contrast (WCAG AA passes).

Color values

HEX#31441B
RGBrgb(49, 68, 27)
HSLhsl(88, 43%, 19%)
HSVhsv(88, 60%, 27%)
CMYKcmyk(27.9%, 0%, 60.3%, 73.3%)
CIE-LABlab(26.35, -15.70, 22.16)
CIE-LCHlch(26.35, 27.16, 125.31°)
OKLaboklab(35.97% -0.0438 0.0525)
OKLCHoklch(35.97% 0.068 129.9)
XYZxyz(3.5315, 4.8663, 1.7899)
Luminance0.0487 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31441B #2E1B44
analogous
#44421B #31441B #1C441B
triadic
#31441B #1B3144 #441B31
tetradic
#31441B #1B4442 #2E1B44 #441B1C
square
#31441B #1B4442 #2E1B44 #441B1C
split-complementary
#31441B #1B1C44 #421B44
monochromatic
#101609 #11180A #31441B #51702C #709C3E

Accessibility & contrast

On white

10.64
#31441B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#31441B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #31441B
10.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31441B#FFFFFF#000000##FFFFFF
##31441B1.0010.641.9710.64
#FFFFFF10.641.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#473F17
Deuteranopia (green-blind)
#443E1E
Tritanopia (blue-blind)
#32413B
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #31441b;
/* rgb */ color: rgb(49, 68, 27);
/* oklch */ color: oklch(36.0% 0.068 129.9);
Tailwind
colors: {
  custom: {
    50: '#6a7859',
    500: '#31441b',
    950: '#000000',
  },
}
SCSS
$custom: #31441b;
$custom-light: #6a7859;
$custom-dark: #000000;
JSON
{
  "hex": "#31441b",
  "rgb": {
    "r": 49,
    "g": 68,
    "b": 27
  },
  "hsl": {
    "h": 87.805,
    "s": 43.158,
    "l": 18.627
  },
  "oklch": {
    "l": 0.35969,
    "c": 0.06835,
    "h": 129.9
  },
  "luminance": 0.04866
}

Semantic roles & 50–950 ramp

primary
#31441B
secondary
#5B417A
accent
#55D38F
background
#F6F7F5
surface
#EBEDE9
border
#C6C8C5
text
#060803
muted
#7A7B78

Preview Lab

Preview with #31441B

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

Preview Lab → · Contrast checker → · Palette generator →

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