#314816#314816

#314816 is a dark, moderate yellow-green. Relative luminance 0.053; OKLCH L 37.0% C 0.080 H 130.4°. Best body text is #FFFFFF at 10.15:1 contrast (WCAG AA passes).

Color values

HEX#314816
RGBrgb(49, 72, 22)
HSLhsl(88, 53%, 18%)
HSVhsv(88, 69%, 28%)
CMYKcmyk(31.9%, 0%, 69.4%, 71.8%)
CIE-LABlab(27.70, -18.46, 26.41)
CIE-LCHlch(27.70, 32.22, 124.94°)
OKLaboklab(37.04% -0.0519 0.061)
OKLCHoklch(37.04% 0.08 130.4)
XYZxyz(3.7288, 5.3455, 1.5942)
Luminance0.0535 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314816 #2D1648
analogous
#484616 #314816 #184816
triadic
#314816 #163148 #481631
tetradic
#314816 #164846 #2D1648 #481618
square
#314816 #164846 #2D1648 #481618
split-complementary
#314816 #161848 #461648
monochromatic
#101707 #111908 #314816 #517724 #71A633

Accessibility & contrast

On white

10.15
#314816 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#314816 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #314816
10.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314816#FFFFFF#000000##FFFFFF
##3148161.0010.152.0710.15
#FFFFFF10.151.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B4210
Deuteranopia (green-blind)
#48411A
Tritanopia (blue-blind)
#32453D
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #314816;
/* rgb */ color: rgb(49, 72, 22);
/* oklch */ color: oklch(37.0% 0.080 130.4);
Tailwind
colors: {
  custom: {
    50: '#6b7b56',
    500: '#314816',
    950: '#000000',
  },
}
SCSS
$custom: #314816;
$custom-light: #6b7b56;
$custom-dark: #000000;
JSON
{
  "hex": "#314816",
  "rgb": {
    "r": 49,
    "g": 72,
    "b": 22
  },
  "hsl": {
    "h": 87.6,
    "s": 53.191,
    "l": 18.431
  },
  "oklch": {
    "l": 0.37042,
    "c": 0.08007,
    "h": 130.4
  },
  "luminance": 0.05346
}

Semantic roles & 50–950 ramp

primary
#314816
secondary
#5A3A7F
accent
#4BDD8E
background
#F6F7F5
surface
#EBEDE9
border
#C6C8C5
text
#070903
muted
#7A7B78

Preview Lab

Preview with #314816

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

Preview Lab → · Contrast checker → · Palette generator →

#314816 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva