#314E17#314E17

#314E17 is a dark, moderate yellow-green. Relative luminance 0.062; OKLCH L 38.8% C 0.089 H 132.8°. Best body text is #FFFFFF at 9.41:1 contrast (WCAG AA passes).

Color values

HEX#314E17
RGBrgb(49, 78, 23)
HSLhsl(92, 54%, 20%)
HSVhsv(92, 71%, 31%)
CMYKcmyk(37.2%, 0%, 70.5%, 69.4%)
CIE-LABlab(29.82, -21.50, 28.23)
CIE-LCHlch(29.82, 35.48, 127.30°)
OKLaboklab(38.77% -0.0602 0.0649)
OKLCHoklch(38.77% 0.089 132.8)
XYZxyz(4.1456, 6.1634, 1.7817)
Luminance0.0616 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314E17 #34174E
analogous
#4D4E17 #314E17 #174E18
triadic
#314E17 #17314E #4E1731
tetradic
#314E17 #174D4E #34174E #4E1817
square
#314E17 #174D4E #34174E #4E1817
split-complementary
#314E17 #18174E #4E174D
monochromatic
#0F1807 #131F09 #314E17 #4F7D25 #6CAD33

Accessibility & contrast

On white

9.41
#314E17 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#314E17 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #314E17
9.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314E17#FFFFFF#000000##FFFFFF
##314E171.009.412.239.41
#FFFFFF9.411.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#514810
Deuteranopia (green-blind)
#4D451B
Tritanopia (blue-blind)
#314B43
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #314e17;
/* rgb */ color: rgb(49, 78, 23);
/* oklch */ color: oklch(38.8% 0.089 132.8);
Tailwind
colors: {
  custom: {
    50: '#6c8057',
    500: '#314e17',
    950: '#000000',
  },
}
SCSS
$custom: #314e17;
$custom-light: #6c8057;
$custom-dark: #000000;
JSON
{
  "hex": "#314e17",
  "rgb": {
    "r": 49,
    "g": 78,
    "b": 23
  },
  "hsl": {
    "h": 91.636,
    "s": 54.455,
    "l": 19.804
  },
  "oklch": {
    "l": 0.38773,
    "c": 0.08854,
    "h": 132.8
  },
  "luminance": 0.06164
}

Semantic roles & 50–950 ramp

primary
#314E17
secondary
#623C85
accent
#4ADE98
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#070A03
muted
#7A7C78

Preview Lab

Preview with #314E17

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

Preview Lab → · Contrast checker → · Palette generator →

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