#314912#314912

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

Color values

HEX#314912
RGBrgb(49, 73, 18)
HSLhsl(86, 60%, 18%)
HSVhsv(86, 75%, 29%)
CMYKcmyk(32.9%, 0%, 75.3%, 71.4%)
CIE-LABlab(28.01, -19.36, 28.71)
CIE-LCHlch(28.01, 34.63, 123.99°)
OKLaboklab(37.29% -0.0548 0.0652)
OKLCHoklch(37.29% 0.085 130)
XYZxyz(3.7583, 5.4616, 1.4283)
Luminance0.0546 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314912 #2A1249
analogous
#494512 #314912 #154912
triadic
#314912 #123149 #491231
tetradic
#314912 #124945 #2A1249 #491215
square
#314912 #124945 #2A1249 #491215
split-complementary
#314912 #121549 #451249
monochromatic
#101906 #101906 #314912 #527A1E #73AB2A

Accessibility & contrast

On white

10.04
#314912 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#314912 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #314912
10.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314912#FFFFFF#000000##FFFFFF
##3149121.0010.042.0910.04
#FFFFFF10.041.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D430A
Deuteranopia (green-blind)
#494217
Tritanopia (blue-blind)
#32463E
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #314912;
/* rgb */ color: rgb(49, 73, 18);
/* oklch */ color: oklch(37.3% 0.085 130.0);
Tailwind
colors: {
  custom: {
    50: '#6b7c53',
    500: '#314912',
    950: '#000000',
  },
}
SCSS
$custom: #314912;
$custom-light: #6b7c53;
$custom-dark: #000000;
JSON
{
  "hex": "#314912",
  "rgb": {
    "r": 49,
    "g": 73,
    "b": 18
  },
  "hsl": {
    "h": 86.182,
    "s": 60.44,
    "l": 17.843
  },
  "oklch": {
    "l": 0.37285,
    "c": 0.08518,
    "h": 130
  },
  "luminance": 0.05462
}

Semantic roles & 50–950 ramp

primary
#314912
secondary
#563582
accent
#44E48A
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#070903
muted
#7A7B78

Preview Lab

Preview with #314912

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

Preview Lab → · Contrast checker → · Palette generator →

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