#314B19#314B19

#314B19 is a dark, moderate yellow-green. Relative luminance 0.058; OKLCH L 37.9% C 0.082 H 132.3°. Best body text is #FFFFFF at 9.76:1 contrast (WCAG AA passes).

Color values

HEX#314B19
RGBrgb(49, 75, 25)
HSLhsl(91, 50%, 20%)
HSVhsv(91, 67%, 29%)
CMYKcmyk(34.7%, 0%, 66.7%, 70.6%)
CIE-LABlab(28.79, -19.74, 26.06)
CIE-LCHlch(28.79, 32.69, 127.13°)
OKLaboklab(37.94% -0.0551 0.0606)
OKLCHoklch(37.94% 0.082 132.3)
XYZxyz(3.9581, 5.7552, 1.8218)
Luminance0.0575 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314B19 #33194B
analogous
#4A4B19 #314B19 #194B1A
triadic
#314B19 #19314B #4B1931
tetradic
#314B19 #194A4B #33194B #4B1A19
square
#314B19 #194A4B #33194B #4B1A19
split-complementary
#314B19 #1A194B #4B194A
monochromatic
#0F1708 #131D0A #314B19 #4F7928 #6DA738

Accessibility & contrast

On white

9.76
#314B19 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #314B19
9.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314B19#FFFFFF#000000##FFFFFF
##314B191.009.762.159.76
#FFFFFF9.761.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.761.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #314b19;
/* rgb */ color: rgb(49, 75, 25);
/* oklch */ color: oklch(37.9% 0.082 132.3);
Tailwind
colors: {
  custom: {
    50: '#6b7d58',
    500: '#314b19',
    950: '#000000',
  },
}
SCSS
$custom: #314b19;
$custom-light: #6b7d58;
$custom-dark: #000000;
JSON
{
  "hex": "#314b19",
  "rgb": {
    "r": 49,
    "g": 75,
    "b": 25
  },
  "hsl": {
    "h": 91.2,
    "s": 50,
    "l": 19.608
  },
  "oklch": {
    "l": 0.37937,
    "c": 0.08195,
    "h": 132.3
  },
  "luminance": 0.05755
}

Semantic roles & 50–950 ramp

primary
#314B19
secondary
#613E81
accent
#4EDA97
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#070903
muted
#7A7B78

Preview Lab

Preview with #314B19

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

Preview Lab → · Contrast checker → · Palette generator →

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