#314916#314916

#314916 is a dark, moderate yellow-green. Relative luminance 0.055; OKLCH L 37.3% C 0.082 H 130.8°. Best body text is #FFFFFF at 10.02:1 contrast (WCAG AA passes).

Color values

HEX#314916
RGBrgb(49, 73, 22)
HSLhsl(88, 54%, 19%)
HSVhsv(88, 70%, 29%)
CMYKcmyk(32.9%, 0%, 69.9%, 71.4%)
CIE-LABlab(28.05, -18.99, 26.80)
CIE-LCHlch(28.05, 32.85, 125.33°)
OKLaboklab(37.33% -0.0534 0.0618)
OKLCHoklch(37.33% 0.082 130.8)
XYZxyz(3.7939, 5.4759, 1.6160)
Luminance0.0548 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314916 #2E1649
analogous
#494716 #314916 #174916
triadic
#314916 #163149 #491631
tetradic
#314916 #164947 #2E1649 #491617
square
#314916 #164947 #2E1649 #491617
split-complementary
#314916 #161749 #471649
monochromatic
#101807 #111A08 #314916 #517824 #70A732

Accessibility & contrast

On white

10.02
#314916 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#314916 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #314916
10.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314916#FFFFFF#000000##FFFFFF
##3149161.0010.022.1010.02
#FFFFFF10.021.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C4310
Deuteranopia (green-blind)
#49421A
Tritanopia (blue-blind)
#32463E
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #314916;
/* rgb */ color: rgb(49, 73, 22);
/* oklch */ color: oklch(37.3% 0.082 130.8);
Tailwind
colors: {
  custom: {
    50: '#6b7c56',
    500: '#314916',
    950: '#000000',
  },
}
SCSS
$custom: #314916;
$custom-light: #6b7c56;
$custom-dark: #000000;
JSON
{
  "hex": "#314916",
  "rgb": {
    "r": 49,
    "g": 73,
    "b": 22
  },
  "hsl": {
    "h": 88.235,
    "s": 53.684,
    "l": 18.627
  },
  "oklch": {
    "l": 0.37328,
    "c": 0.08165,
    "h": 130.8
  },
  "luminance": 0.05476
}

Semantic roles & 50–950 ramp

primary
#314916
secondary
#5B3A80
accent
#4BDD90
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#070903
muted
#7A7B78

Preview Lab

Preview with #314916

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

Preview Lab → · Contrast checker → · Palette generator →

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