#314C17#314C17

#314C17 is a dark, moderate yellow-green. Relative luminance 0.059; OKLCH L 38.2% C 0.085 H 132.2°. Best body text is #FFFFFF at 9.65:1 contrast (WCAG AA passes).

Color values

HEX#314C17
RGBrgb(49, 76, 23)
HSLhsl(91, 54%, 19%)
HSVhsv(91, 70%, 30%)
CMYKcmyk(35.5%, 0%, 69.7%, 70.2%)
CIE-LABlab(29.12, -20.47, 27.46)
CIE-LCHlch(29.12, 34.25, 126.70°)
OKLaboklab(38.2% -0.0573 0.0633)
OKLCHoklch(38.2% 0.085 132.2)
XYZxyz(4.0057, 5.8836, 1.7350)
Luminance0.0588 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314C17 #32174C
analogous
#4C4C17 #314C17 #174C18
triadic
#314C17 #17314C #4C1731
tetradic
#314C17 #174C4C #32174C #4C1817
square
#314C17 #174C4C #32174C #4C1817
split-complementary
#314C17 #18174C #4C174C
monochromatic
#0F1707 #131D09 #314C17 #4F7B25 #6EAA33

Accessibility & contrast

On white

9.65
#314C17 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#314C17 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #314C17
9.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314C17#FFFFFF#000000##FFFFFF
##314C171.009.652.189.65
#FFFFFF9.651.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F4611
Deuteranopia (green-blind)
#4C441B
Tritanopia (blue-blind)
#324941
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #314c17;
/* rgb */ color: rgb(49, 76, 23);
/* oklch */ color: oklch(38.2% 0.085 132.2);
Tailwind
colors: {
  custom: {
    50: '#6b7e57',
    500: '#314c17',
    950: '#000000',
  },
}
SCSS
$custom: #314c17;
$custom-light: #6b7e57;
$custom-dark: #000000;
JSON
{
  "hex": "#314c17",
  "rgb": {
    "r": 49,
    "g": 76,
    "b": 23
  },
  "hsl": {
    "h": 90.566,
    "s": 53.535,
    "l": 19.412
  },
  "oklch": {
    "l": 0.38199,
    "c": 0.08543,
    "h": 132.2
  },
  "luminance": 0.05884
}

Semantic roles & 50–950 ramp

primary
#314C17
secondary
#603C83
accent
#4BDD95
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#070A03
muted
#7A7C78

Preview Lab

Preview with #314C17

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

Preview Lab → · Contrast checker → · Palette generator →

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