#314D14#314D14

#314D14 is a dark, moderate yellow-green. Relative luminance 0.060; OKLCH L 38.5% C 0.090 H 131.9°. Best body text is #FFFFFF at 9.54:1 contrast (WCAG AA passes).

Color values

HEX#314D14
RGBrgb(49, 77, 20)
HSLhsl(89, 59%, 19%)
HSVhsv(89, 74%, 30%)
CMYKcmyk(36.4%, 0%, 74%, 69.8%)
CIE-LABlab(29.44, -21.27, 29.27)
CIE-LCHlch(29.44, 36.18, 126.01°)
OKLaboklab(38.45% -0.0598 0.0667)
OKLCHoklch(38.45% 0.09 131.9)
XYZxyz(4.0467, 6.0111, 1.6087)
Luminance0.0601 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314D14 #30144D
analogous
#4D4D14 #314D14 #154D14
triadic
#314D14 #14314D #4D1431
tetradic
#314D14 #144D4D #30144D #4D1415
square
#314D14 #144D4D #30144D #4D1415
split-complementary
#314D14 #14154D #4D144D
monochromatic
#0F1806 #121C07 #314D14 #507E21 #6FAE2D

Accessibility & contrast

On white

9.54
#314D14 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#314D14 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #314D14
9.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314D14#FFFFFF#000000##FFFFFF
##314D141.009.542.209.54
#FFFFFF9.541.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#51470C
Deuteranopia (green-blind)
#4D4519
Tritanopia (blue-blind)
#324A41
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #314d14;
/* rgb */ color: rgb(49, 77, 20);
/* oklch */ color: oklch(38.5% 0.090 131.9);
Tailwind
colors: {
  custom: {
    50: '#6c7f55',
    500: '#314d14',
    950: '#000000',
  },
}
SCSS
$custom: #314d14;
$custom-light: #6c7f55;
$custom-dark: #000000;
JSON
{
  "hex": "#314d14",
  "rgb": {
    "r": 49,
    "g": 77,
    "b": 20
  },
  "hsl": {
    "h": 89.474,
    "s": 58.763,
    "l": 19.02
  },
  "oklch": {
    "l": 0.38453,
    "c": 0.08959,
    "h": 131.9
  },
  "luminance": 0.06011
}

Semantic roles & 50–950 ramp

primary
#314D14
secondary
#5E3885
accent
#46E293
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#070A03
muted
#7A7C78

Preview Lab

Preview with #314D14

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

Preview Lab → · Contrast checker → · Palette generator →

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