#314E16#314E16

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

Color values

HEX#314E16
RGBrgb(49, 78, 22)
HSLhsl(91, 56%, 20%)
HSVhsv(91, 72%, 31%)
CMYKcmyk(37.2%, 0%, 71.8%, 69.4%)
CIE-LABlab(29.81, -21.60, 28.71)
CIE-LCHlch(29.81, 35.92, 126.96°)
OKLaboklab(38.76% -0.0605 0.0658)
OKLCHoklch(38.76% 0.089 132.6)
XYZxyz(4.1358, 6.1595, 1.7299)
Luminance0.0616 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314E16 #33164E
analogous
#4D4E16 #314E16 #164E17
triadic
#314E16 #16314E #4E1631
tetradic
#314E16 #164D4E #33164E #4E1716
square
#314E16 #164D4E #33164E #4E1716
split-complementary
#314E16 #17164E #4E164D
monochromatic
#0F1807 #131E09 #314E16 #4F7E23 #6DAD31

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##314E16#FFFFFF#000000##FFFFFF
##314E161.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)
#51480F
Deuteranopia (green-blind)
#4D451B
Tritanopia (blue-blind)
#314B42
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #314e16;
/* rgb */ color: rgb(49, 78, 22);
/* oklch */ color: oklch(38.8% 0.089 132.6);
Tailwind
colors: {
  custom: {
    50: '#6c8056',
    500: '#314e16',
    950: '#000000',
  },
}
SCSS
$custom: #314e16;
$custom-light: #6c8056;
$custom-dark: #000000;
JSON
{
  "hex": "#314e16",
  "rgb": {
    "r": 49,
    "g": 78,
    "b": 22
  },
  "hsl": {
    "h": 91.071,
    "s": 56,
    "l": 19.608
  },
  "oklch": {
    "l": 0.38761,
    "c": 0.08942,
    "h": 132.6
  },
  "luminance": 0.0616
}

Semantic roles & 50–950 ramp

primary
#314E16
secondary
#613A85
accent
#49DF97
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#070A03
muted
#7A7C78

Preview Lab

Preview with #314E16

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

Preview Lab → · Contrast checker → · Palette generator →

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