#314919#314919

#314919 is a dark, moderate yellow-green. Relative luminance 0.055; OKLCH L 37.4% C 0.079 H 131.6°. Best body text is #FFFFFF at 10.01:1 contrast (WCAG AA passes).

Color values

HEX#314919
RGBrgb(49, 73, 25)
HSLhsl(90, 49%, 19%)
HSVhsv(90, 66%, 29%)
CMYKcmyk(32.9%, 0%, 65.8%, 71.4%)
CIE-LABlab(28.08, -18.67, 25.27)
CIE-LCHlch(28.08, 31.42, 126.46°)
OKLaboklab(37.36% -0.0522 0.0589)
OKLCHoklch(37.36% 0.079 131.6)
XYZxyz(3.8246, 5.4881, 1.7773)
Luminance0.0549 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314919 #311949
analogous
#494919 #314919 #194919
triadic
#314919 #193149 #491931
tetradic
#314919 #194949 #311949 #491919
square
#314919 #194949 #311949 #491919
split-complementary
#314919 #191949 #491949
monochromatic
#0F1708 #121B09 #314919 #507729 #6EA438

Accessibility & contrast

On white

10.01
#314919 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #314919
10.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314919#FFFFFF#000000##FFFFFF
##3149191.0010.012.1010.01
#FFFFFF10.011.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C4314
Deuteranopia (green-blind)
#49421C
Tritanopia (blue-blind)
#32463F
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #314919;
/* rgb */ color: rgb(49, 73, 25);
/* oklch */ color: oklch(37.4% 0.079 131.6);
Tailwind
colors: {
  custom: {
    50: '#6b7c58',
    500: '#314919',
    950: '#000000',
  },
}
SCSS
$custom: #314919;
$custom-light: #6b7c58;
$custom-dark: #000000;
JSON
{
  "hex": "#314919",
  "rgb": {
    "r": 49,
    "g": 73,
    "b": 25
  },
  "hsl": {
    "h": 90,
    "s": 48.98,
    "l": 19.216
  },
  "oklch": {
    "l": 0.37365,
    "c": 0.07874,
    "h": 131.6
  },
  "luminance": 0.05488
}

Semantic roles & 50–950 ramp

primary
#314919
secondary
#5F3E7F
accent
#4FD994
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#070903
muted
#7A7B78

Preview Lab

Preview with #314919

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

Preview Lab → · Contrast checker → · Palette generator →

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