#314F19#314F19

#314F19 is a dark, moderate yellow-green. Relative luminance 0.063; OKLCH L 39.1% C 0.088 H 133.6°. Best body text is #FFFFFF at 9.28:1 contrast (WCAG AA passes).

Color values

HEX#314F19
RGBrgb(49, 79, 25)
HSLhsl(93, 52%, 20%)
HSVhsv(93, 68%, 31%)
CMYKcmyk(38%, 0%, 68.4%, 69%)
CIE-LABlab(30.19, -21.81, 27.63)
CIE-LCHlch(30.19, 35.20, 128.28°)
OKLaboklab(39.08% -0.0608 0.064)
OKLCHoklch(39.08% 0.088 133.6)
XYZxyz(4.2380, 6.3149, 1.9151)
Luminance0.0631 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314F19 #37194F
analogous
#4C4F19 #314F19 #194F1C
triadic
#314F19 #19314F #4F1931
tetradic
#314F19 #194C4F #37194F #4F1C19
square
#314F19 #194C4F #37194F #4F1C19
split-complementary
#314F19 #1C194F #4F194C
monochromatic
#0E1707 #14210A #314F19 #4E7D28 #6BAC36

Accessibility & contrast

On white

9.28
#314F19 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #314F19
9.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314F19#FFFFFF#000000##FFFFFF
##314F191.009.282.269.28
#FFFFFF9.281.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#524913
Deuteranopia (green-blind)
#4E461D
Tritanopia (blue-blind)
#314C44
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #314f19;
/* rgb */ color: rgb(49, 79, 25);
/* oklch */ color: oklch(39.1% 0.088 133.6);
Tailwind
colors: {
  custom: {
    50: '#6c8058',
    500: '#314f19',
    950: '#000000',
  },
}
SCSS
$custom: #314f19;
$custom-light: #6c8058;
$custom-dark: #000000;
JSON
{
  "hex": "#314f19",
  "rgb": {
    "r": 49,
    "g": 79,
    "b": 25
  },
  "hsl": {
    "h": 93.333,
    "s": 51.923,
    "l": 20.392
  },
  "oklch": {
    "l": 0.39083,
    "c": 0.08827,
    "h": 133.6
  },
  "luminance": 0.06315
}

Semantic roles & 50–950 ramp

primary
#314F19
secondary
#663E85
accent
#4CDB9C
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#070A03
muted
#7A7C78

Preview Lab

Preview with #314F19

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

Preview Lab → · Contrast checker → · Palette generator →

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