#314915#314915

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

Color values

HEX#314915
RGBrgb(49, 73, 21)
HSLhsl(88, 55%, 18%)
HSVhsv(88, 71%, 29%)
CMYKcmyk(32.9%, 0%, 71.2%, 71.4%)
CIE-LABlab(28.04, -19.09, 27.29)
CIE-LCHlch(28.04, 33.30, 124.97°)
OKLaboklab(37.32% -0.0538 0.0627)
OKLCHoklch(37.32% 0.083 130.6)
XYZxyz(3.7845, 5.4721, 1.5661)
Luminance0.0547 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314915 #2D1549
analogous
#494715 #314915 #174915
triadic
#314915 #153149 #491531
tetradic
#314915 #154947 #2D1549 #491517
square
#314915 #154947 #2D1549 #491517
split-complementary
#314915 #151749 #471549
monochromatic
#101807 #111907 #314915 #517923 #71A830

Accessibility & contrast

On white

10.03
#314915 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #314915
10.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314915#FFFFFF#000000##FFFFFF
##3149151.0010.032.0910.03
#FFFFFF10.031.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.031.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #314915;
/* rgb */ color: rgb(49, 73, 21);
/* oklch */ color: oklch(37.3% 0.083 130.6);
Tailwind
colors: {
  custom: {
    50: '#6b7c55',
    500: '#314915',
    950: '#000000',
  },
}
SCSS
$custom: #314915;
$custom-light: #6b7c55;
$custom-dark: #000000;
JSON
{
  "hex": "#314915",
  "rgb": {
    "r": 49,
    "g": 73,
    "b": 21
  },
  "hsl": {
    "h": 87.692,
    "s": 55.319,
    "l": 18.431
  },
  "oklch": {
    "l": 0.37316,
    "c": 0.08258,
    "h": 130.6
  },
  "luminance": 0.05472
}

Semantic roles & 50–950 ramp

primary
#314915
secondary
#5A3981
accent
#49DF8E
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#070903
muted
#7A7B78

Preview Lab

Preview with #314915

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

Preview Lab → · Contrast checker → · Palette generator →

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