#314F18#314F18

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

Color values

HEX#314F18
RGBrgb(49, 79, 24)
HSLhsl(93, 53%, 20%)
HSVhsv(93, 70%, 31%)
CMYKcmyk(38%, 0%, 69.6%, 69%)
CIE-LABlab(30.18, -21.91, 28.12)
CIE-LCHlch(30.18, 35.65, 127.92°)
OKLaboklab(39.07% -0.0612 0.0649)
OKLCHoklch(39.07% 0.089 133.3)
XYZxyz(4.2274, 6.3107, 1.8593)
Luminance0.0631 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314F18 #36184F
analogous
#4C4F18 #314F18 #184F1A
triadic
#314F18 #18314F #4F1831
tetradic
#314F18 #184C4F #36184F #4F1A18
square
#314F18 #184C4F #36184F #4F1A18
split-complementary
#314F18 #1A184F #4F184C
monochromatic
#0F1707 #14200A #314F18 #4E7E26 #6BAD35

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##314F18#FFFFFF#000000##FFFFFF
##314F181.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)
#524911
Deuteranopia (green-blind)
#4E461C
Tritanopia (blue-blind)
#314C44
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #314f18;
/* rgb */ color: rgb(49, 79, 24);
/* oklch */ color: oklch(39.1% 0.089 133.3);
Tailwind
colors: {
  custom: {
    50: '#6c8058',
    500: '#314f18',
    950: '#000000',
  },
}
SCSS
$custom: #314f18;
$custom-light: #6c8058;
$custom-dark: #000000;
JSON
{
  "hex": "#314f18",
  "rgb": {
    "r": 49,
    "g": 79,
    "b": 24
  },
  "hsl": {
    "h": 92.727,
    "s": 53.398,
    "l": 20.196
  },
  "oklch": {
    "l": 0.39071,
    "c": 0.08918,
    "h": 133.3
  },
  "luminance": 0.06311
}

Semantic roles & 50–950 ramp

primary
#314F18
secondary
#653D86
accent
#4BDD9B
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#070A03
muted
#7A7C78

Preview Lab

Preview with #314F18

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

Preview Lab → · Contrast checker → · Palette generator →

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