#314E15#314E15

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

Color values

HEX#314E15
RGBrgb(49, 78, 21)
HSLhsl(91, 58%, 19%)
HSVhsv(91, 73%, 31%)
CMYKcmyk(37.2%, 0%, 73.1%, 69.4%)
CIE-LABlab(29.80, -21.69, 29.18)
CIE-LCHlch(29.80, 36.36, 126.63°)
OKLaboklab(38.75% -0.0609 0.0667)
OKLCHoklch(38.75% 0.09 132.4)
XYZxyz(4.1263, 6.1557, 1.6801)
Luminance0.0616 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314E15 #32154E
analogous
#4E4E15 #314E15 #154E15
triadic
#314E15 #15314E #4E1531
tetradic
#314E15 #154E4E #32154E #4E1515
square
#314E15 #154E4E #32154E #4E1515
split-complementary
#314E15 #15154E #4E154E
monochromatic
#0F1806 #131E08 #314E15 #4F7E22 #6EAE2F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##314E15#FFFFFF#000000##FFFFFF
##314E151.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)
#52480D
Deuteranopia (green-blind)
#4D451A
Tritanopia (blue-blind)
#324B42
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #314e15;
/* rgb */ color: rgb(49, 78, 21);
/* oklch */ color: oklch(38.8% 0.090 132.4);
Tailwind
colors: {
  custom: {
    50: '#6c8056',
    500: '#314e15',
    950: '#000000',
  },
}
SCSS
$custom: #314e15;
$custom-light: #6c8056;
$custom-dark: #000000;
JSON
{
  "hex": "#314e15",
  "rgb": {
    "r": 49,
    "g": 78,
    "b": 21
  },
  "hsl": {
    "h": 90.526,
    "s": 57.576,
    "l": 19.412
  },
  "oklch": {
    "l": 0.38751,
    "c": 0.09028,
    "h": 132.4
  },
  "luminance": 0.06156
}

Semantic roles & 50–950 ramp

primary
#314E15
secondary
#603986
accent
#47E195
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#070A03
muted
#7A7C78

Preview Lab

Preview with #314E15

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

Preview Lab → · Contrast checker → · Palette generator →

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