#314F15#314F15

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

Color values

HEX#314F15
RGBrgb(49, 79, 21)
HSLhsl(91, 58%, 20%)
HSVhsv(91, 73%, 31%)
CMYKcmyk(38%, 0%, 73.4%, 69%)
CIE-LABlab(30.15, -22.20, 29.55)
CIE-LCHlch(30.15, 36.96, 126.92°)
OKLaboklab(39.04% -0.0623 0.0674)
OKLCHoklch(39.04% 0.092 132.7)
XYZxyz(4.1979, 6.2989, 1.7039)
Luminance0.0630 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314F15 #33154F
analogous
#4E4F15 #314F15 #154F16
triadic
#314F15 #15314F #4F1531
tetradic
#314F15 #154E4F #33154F #4F1615
square
#314F15 #154E4F #33154F #4F1615
split-complementary
#314F15 #16154F #4F154E
monochromatic
#0F1806 #131F08 #314F15 #4F7F22 #6DB02F

Accessibility & contrast

On white

9.29
#314F15 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #314F15
9.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314F15#FFFFFF#000000##FFFFFF
##314F151.009.292.269.29
#FFFFFF9.291.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#53490D
Deuteranopia (green-blind)
#4E461A
Tritanopia (blue-blind)
#314C43
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #314f15;
/* rgb */ color: rgb(49, 79, 21);
/* oklch */ color: oklch(39.0% 0.092 132.7);
Tailwind
colors: {
  custom: {
    50: '#6c8056',
    500: '#314f15',
    950: '#000000',
  },
}
SCSS
$custom: #314f15;
$custom-light: #6c8056;
$custom-dark: #000000;
JSON
{
  "hex": "#314f15",
  "rgb": {
    "r": 49,
    "g": 79,
    "b": 21
  },
  "hsl": {
    "h": 91.034,
    "s": 58,
    "l": 19.608
  },
  "oklch": {
    "l": 0.39038,
    "c": 0.0918,
    "h": 132.7
  },
  "luminance": 0.06299
}

Semantic roles & 50–950 ramp

primary
#314F15
secondary
#613987
accent
#47E197
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#070A03
muted
#7A7C78

Preview Lab

Preview with #314F15

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

Preview Lab → · Contrast checker → · Palette generator →

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