#314914#314914

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

Color values

HEX#314914
RGBrgb(49, 73, 20)
HSLhsl(87, 57%, 18%)
HSVhsv(87, 73%, 29%)
CMYKcmyk(32.9%, 0%, 72.6%, 71.4%)
CIE-LABlab(28.03, -19.18, 27.77)
CIE-LCHlch(28.03, 33.76, 124.63°)
OKLaboklab(37.31% -0.0541 0.0636)
OKLCHoklch(37.31% 0.083 130.4)
XYZxyz(3.7754, 5.4684, 1.5183)
Luminance0.0547 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314914 #2C1449
analogous
#494614 #314914 #164914
triadic
#314914 #143149 #491431
tetradic
#314914 #144946 #2C1449 #491416
square
#314914 #144946 #2C1449 #491416
split-complementary
#314914 #141649 #461449
monochromatic
#101807 #111907 #314914 #517921 #71A92E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##314914#FFFFFF#000000##FFFFFF
##3149141.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)
#4D430D
Deuteranopia (green-blind)
#494218
Tritanopia (blue-blind)
#32463E
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #314914;
/* rgb */ color: rgb(49, 73, 20);
/* oklch */ color: oklch(37.3% 0.083 130.4);
Tailwind
colors: {
  custom: {
    50: '#6b7c54',
    500: '#314914',
    950: '#000000',
  },
}
SCSS
$custom: #314914;
$custom-light: #6b7c54;
$custom-dark: #000000;
JSON
{
  "hex": "#314914",
  "rgb": {
    "r": 49,
    "g": 73,
    "b": 20
  },
  "hsl": {
    "h": 87.17,
    "s": 56.989,
    "l": 18.235
  },
  "oklch": {
    "l": 0.37305,
    "c": 0.08347,
    "h": 130.4
  },
  "luminance": 0.05469
}

Semantic roles & 50–950 ramp

primary
#314914
secondary
#593881
accent
#48E08D
background
#F6F7F5
surface
#EBEEE8
border
#C6C9C4
text
#070903
muted
#7A7B78

Preview Lab

Preview with #314914

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

Preview Lab → · Contrast checker → · Palette generator →

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