#314E14#314E14

#314E14 is a dark, moderate yellow-green. Relative luminance 0.062; OKLCH L 38.7% C 0.091 H 132.2°. Best body text is #FFFFFF at 9.42:1 contrast (WCAG AA passes).

Color values

HEX#314E14
RGBrgb(49, 78, 20)
HSLhsl(90, 59%, 19%)
HSVhsv(90, 74%, 31%)
CMYKcmyk(37.2%, 0%, 74.4%, 69.4%)
CIE-LABlab(29.79, -21.78, 29.64)
CIE-LCHlch(29.79, 36.78, 126.31°)
OKLaboklab(38.74% -0.0612 0.0675)
OKLCHoklch(38.74% 0.091 132.2)
XYZxyz(4.1172, 6.1521, 1.6322)
Luminance0.0615 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314E14 #31144E
analogous
#4E4E14 #314E14 #144E14
triadic
#314E14 #14314E #4E1431
tetradic
#314E14 #144E4E #31144E #4E1414
square
#314E14 #144E4E #31144E #4E1414
split-complementary
#314E14 #14144E #4E144E
monochromatic
#0F1806 #121D08 #314E14 #507F20 #6EAF2D

Accessibility & contrast

On white

9.42
#314E14 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #314E14
9.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314E14#FFFFFF#000000##FFFFFF
##314E141.009.422.239.42
#FFFFFF9.421.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#52480C
Deuteranopia (green-blind)
#4E4519
Tritanopia (blue-blind)
#324B42
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #314e14;
/* rgb */ color: rgb(49, 78, 20);
/* oklch */ color: oklch(38.7% 0.091 132.2);
Tailwind
colors: {
  custom: {
    50: '#6c8055',
    500: '#314e14',
    950: '#000000',
  },
}
SCSS
$custom: #314e14;
$custom-light: #6c8055;
$custom-dark: #000000;
JSON
{
  "hex": "#314e14",
  "rgb": {
    "r": 49,
    "g": 78,
    "b": 20
  },
  "hsl": {
    "h": 90,
    "s": 59.184,
    "l": 19.216
  },
  "oklch": {
    "l": 0.38741,
    "c": 0.09111,
    "h": 132.2
  },
  "luminance": 0.06152
}

Semantic roles & 50–950 ramp

primary
#314E14
secondary
#5F3886
accent
#45E294
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#070A03
muted
#7A7C78

Preview Lab

Preview with #314E14

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

Preview Lab → · Contrast checker → · Palette generator →

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