#314A19#314A19

#314A19 is a dark, moderate yellow-green. Relative luminance 0.056; OKLCH L 37.7% C 0.080 H 131.9°. Best body text is #FFFFFF at 9.89:1 contrast (WCAG AA passes).

Color values

HEX#314A19
RGBrgb(49, 74, 25)
HSLhsl(91, 49%, 19%)
HSVhsv(91, 66%, 29%)
CMYKcmyk(33.8%, 0%, 66.2%, 71%)
CIE-LABlab(28.43, -19.21, 25.67)
CIE-LCHlch(28.43, 32.06, 126.81°)
OKLaboklab(37.65% -0.0537 0.0598)
OKLCHoklch(37.65% 0.08 131.9)
XYZxyz(3.8908, 5.6206, 1.7994)
Luminance0.0562 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314A19 #32194A
analogous
#4A4A19 #314A19 #194A1A
triadic
#314A19 #19314A #4A1931
tetradic
#314A19 #194A4A #32194A #4A1A19
square
#314A19 #194A4A #32194A #4A1A19
split-complementary
#314A19 #1A194A #4A194A
monochromatic
#0F1708 #131C0A #314A19 #4F7828 #6EA538

Accessibility & contrast

On white

9.89
#314A19 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#314A19 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #314A19
9.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314A19#FFFFFF#000000##FFFFFF
##314A191.009.892.129.89
#FFFFFF9.891.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D4414
Deuteranopia (green-blind)
#4A421D
Tritanopia (blue-blind)
#32473F
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #314a19;
/* rgb */ color: rgb(49, 74, 25);
/* oklch */ color: oklch(37.7% 0.080 131.9);
Tailwind
colors: {
  custom: {
    50: '#6b7c58',
    500: '#314a19',
    950: '#000000',
  },
}
SCSS
$custom: #314a19;
$custom-light: #6b7c58;
$custom-dark: #000000;
JSON
{
  "hex": "#314a19",
  "rgb": {
    "r": 49,
    "g": 74,
    "b": 25
  },
  "hsl": {
    "h": 90.612,
    "s": 49.495,
    "l": 19.412
  },
  "oklch": {
    "l": 0.37651,
    "c": 0.08035,
    "h": 131.9
  },
  "luminance": 0.05621
}

Semantic roles & 50–950 ramp

primary
#314A19
secondary
#603E80
accent
#4FD995
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#070903
muted
#7A7B78

Preview Lab

Preview with #314A19

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

Preview Lab → · Contrast checker → · Palette generator →

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