#314F14#314F14

#314F14 is a dark, moderate yellow-green. Relative luminance 0.063; OKLCH L 39.0% C 0.093 H 132.5°. Best body text is #FFFFFF at 9.30:1 contrast (WCAG AA passes).

Color values

HEX#314F14
RGBrgb(49, 79, 20)
HSLhsl(91, 60%, 19%)
HSVhsv(91, 75%, 31%)
CMYKcmyk(38%, 0%, 74.7%, 69%)
CIE-LABlab(30.15, -22.29, 30.01)
CIE-LCHlch(30.15, 37.38, 126.61°)
OKLaboklab(39.03% -0.0626 0.0682)
OKLCHoklch(39.03% 0.093 132.5)
XYZxyz(4.1888, 6.2953, 1.6561)
Luminance0.0630 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314F14 #32144F
analogous
#4F4F14 #314F14 #144F14
triadic
#314F14 #14314F #4F1431
tetradic
#314F14 #144F4F #32144F #4F1414
square
#314F14 #144F4F #32144F #4F1414
split-complementary
#314F14 #14144F #4F144F
monochromatic
#0F1806 #131E08 #314F14 #4F8020 #6EB12D

Accessibility & contrast

On white

9.30
#314F14 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#314F14 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #314F14
9.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314F14#FFFFFF#000000##FFFFFF
##314F141.009.302.269.30
#FFFFFF9.301.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#53480B
Deuteranopia (green-blind)
#4E4619
Tritanopia (blue-blind)
#324C43
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #314f14;
/* rgb */ color: rgb(49, 79, 20);
/* oklch */ color: oklch(39.0% 0.093 132.5);
Tailwind
colors: {
  custom: {
    50: '#6c8055',
    500: '#314f14',
    950: '#000000',
  },
}
SCSS
$custom: #314f14;
$custom-light: #6c8055;
$custom-dark: #000000;
JSON
{
  "hex": "#314f14",
  "rgb": {
    "r": 49,
    "g": 79,
    "b": 20
  },
  "hsl": {
    "h": 90.508,
    "s": 59.596,
    "l": 19.412
  },
  "oklch": {
    "l": 0.39028,
    "c": 0.09261,
    "h": 132.5
  },
  "luminance": 0.06295
}

Semantic roles & 50–950 ramp

primary
#314F14
secondary
#603887
accent
#45E395
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#070A03
muted
#7A7C78

Preview Lab

Preview with #314F14

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

Preview Lab → · Contrast checker → · Palette generator →

#314F14 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva