#314F17#314F17

#314F17 is a dark, moderate yellow-green. Relative luminance 0.063; OKLCH L 39.1% C 0.090 H 133.1°. Best body text is #FFFFFF at 9.29:1 contrast (WCAG AA passes).

Color values

HEX#314F17
RGBrgb(49, 79, 23)
HSLhsl(92, 55%, 20%)
HSVhsv(92, 71%, 31%)
CMYKcmyk(38%, 0%, 70.9%, 69%)
CIE-LABlab(30.17, -22.01, 28.61)
CIE-LCHlch(30.17, 36.10, 127.58°)
OKLaboklab(39.06% -0.0616 0.0658)
OKLCHoklch(39.06% 0.09 133.1)
XYZxyz(4.2172, 6.3066, 1.8055)
Luminance0.0631 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314F17 #35174F
analogous
#4D4F17 #314F17 #174F19
triadic
#314F17 #17314F #4F1731
tetradic
#314F17 #174D4F #35174F #4F1917
square
#314F17 #174D4F #35174F #4F1917
split-complementary
#314F17 #19174F #4F174D
monochromatic
#0F1807 #142009 #314F17 #4E7E25 #6CAE33

Accessibility & contrast

On white

9.29
#314F17 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#314F17 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #314F17
9.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314F17#FFFFFF#000000##FFFFFF
##314F171.009.292.269.29
#FFFFFF9.291.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#524910
Deuteranopia (green-blind)
#4E461C
Tritanopia (blue-blind)
#314C43
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #314f17;
/* rgb */ color: rgb(49, 79, 23);
/* oklch */ color: oklch(39.1% 0.090 133.1);
Tailwind
colors: {
  custom: {
    50: '#6c8057',
    500: '#314f17',
    950: '#000000',
  },
}
SCSS
$custom: #314f17;
$custom-light: #6c8057;
$custom-dark: #000000;
JSON
{
  "hex": "#314f17",
  "rgb": {
    "r": 49,
    "g": 79,
    "b": 23
  },
  "hsl": {
    "h": 92.143,
    "s": 54.902,
    "l": 20
  },
  "oklch": {
    "l": 0.39059,
    "c": 0.09008,
    "h": 133.1
  },
  "luminance": 0.06307
}

Semantic roles & 50–950 ramp

primary
#314F17
secondary
#643C86
accent
#4ADE99
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#070A03
muted
#7A7C78

Preview Lab

Preview with #314F17

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

Preview Lab → · Contrast checker → · Palette generator →

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