#314A17#314A17

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

Color values

HEX#314A17
RGBrgb(49, 74, 23)
HSLhsl(89, 53%, 19%)
HSVhsv(89, 69%, 29%)
CMYKcmyk(33.8%, 0%, 68.9%, 71%)
CIE-LABlab(28.41, -19.42, 26.69)
CIE-LCHlch(28.41, 33.00, 126.04°)
OKLaboklab(37.63% -0.0545 0.0617)
OKLCHoklch(37.63% 0.082 131.4)
XYZxyz(3.8700, 5.6123, 1.6898)
Luminance0.0561 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314A17 #30174A
analogous
#4A4A17 #314A17 #184A17
triadic
#314A17 #17314A #4A1731
tetradic
#314A17 #174A4A #30174A #4A1718
square
#314A17 #174A4A #30174A #4A1718
split-complementary
#314A17 #17184A #4A174A
monochromatic
#0F1707 #121B08 #314A17 #507926 #6FA734

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##314A17#FFFFFF#000000##FFFFFF
##314A171.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)
#4D4411
Deuteranopia (green-blind)
#4A421B
Tritanopia (blue-blind)
#32473F
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #314a17;
/* rgb */ color: rgb(49, 74, 23);
/* oklch */ color: oklch(37.6% 0.082 131.4);
Tailwind
colors: {
  custom: {
    50: '#6b7c56',
    500: '#314a17',
    950: '#000000',
  },
}
SCSS
$custom: #314a17;
$custom-light: #6b7c56;
$custom-dark: #000000;
JSON
{
  "hex": "#314a17",
  "rgb": {
    "r": 49,
    "g": 74,
    "b": 23
  },
  "hsl": {
    "h": 89.412,
    "s": 52.577,
    "l": 19.02
  },
  "oklch": {
    "l": 0.37626,
    "c": 0.08229,
    "h": 131.4
  },
  "luminance": 0.05612
}

Semantic roles & 50–950 ramp

primary
#314A17
secondary
#5E3C81
accent
#4CDC92
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#070903
muted
#7A7B78

Preview Lab

Preview with #314A17

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

Preview Lab → · Contrast checker → · Palette generator →

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