#314B16#314B16

#314B16 is a dark, moderate yellow-green. Relative luminance 0.057; OKLCH L 37.9% C 0.085 H 131.6°. Best body text is #FFFFFF at 9.77:1 contrast (WCAG AA passes).

Color values

HEX#314B16
RGBrgb(49, 75, 22)
HSLhsl(89, 55%, 19%)
HSVhsv(89, 71%, 29%)
CMYKcmyk(34.7%, 0%, 70.7%, 70.6%)
CIE-LABlab(28.75, -20.05, 27.57)
CIE-LCHlch(28.75, 34.08, 126.03°)
OKLaboklab(37.9% -0.0563 0.0634)
OKLCHoklch(37.9% 0.085 131.6)
XYZxyz(3.9275, 5.7429, 1.6605)
Luminance0.0574 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314B16 #30164B
analogous
#4B4B16 #314B16 #174B16
triadic
#314B16 #16314B #4B1631
tetradic
#314B16 #164B4B #30164B #4B1617
square
#314B16 #164B4B #30164B #4B1617
split-complementary
#314B16 #16174B #4B164B
monochromatic
#0F1807 #121C08 #314B16 #507A24 #6FAA32

Accessibility & contrast

On white

9.77
#314B16 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#314B16 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #314B16
9.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314B16#FFFFFF#000000##FFFFFF
##314B161.009.772.159.77
#FFFFFF9.771.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E450F
Deuteranopia (green-blind)
#4B431A
Tritanopia (blue-blind)
#324840
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #314b16;
/* rgb */ color: rgb(49, 75, 22);
/* oklch */ color: oklch(37.9% 0.085 131.6);
Tailwind
colors: {
  custom: {
    50: '#6b7d56',
    500: '#314b16',
    950: '#000000',
  },
}
SCSS
$custom: #314b16;
$custom-light: #6b7d56;
$custom-dark: #000000;
JSON
{
  "hex": "#314b16",
  "rgb": {
    "r": 49,
    "g": 75,
    "b": 22
  },
  "hsl": {
    "h": 89.434,
    "s": 54.639,
    "l": 19.02
  },
  "oklch": {
    "l": 0.37901,
    "c": 0.08478,
    "h": 131.6
  },
  "luminance": 0.05743
}

Semantic roles & 50–950 ramp

primary
#314B16
secondary
#5E3A83
accent
#4ADE93
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#070903
muted
#7A7B78

Preview Lab

Preview with #314B16

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

Preview Lab → · Contrast checker → · Palette generator →

#314B16 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva