#314F11#314F11

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

Color values

HEX#314F11
RGBrgb(49, 79, 17)
HSLhsl(89, 65%, 19%)
HSVhsv(89, 78%, 31%)
CMYKcmyk(38%, 0%, 78.5%, 69%)
CIE-LABlab(30.12, -22.54, 31.32)
CIE-LCHlch(30.12, 38.59, 125.74°)
OKLaboklab(39% -0.0636 0.0705)
OKLCHoklch(39% 0.095 132)
XYZxyz(4.1637, 6.2852, 1.5240)
Luminance0.0629 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314F11 #2F114F
analogous
#4F4E11 #314F11 #124F11
triadic
#314F11 #11314F #4F1131
tetradic
#314F11 #114F4E #2F114F #4F1112
square
#314F11 #114F4E #2F114F #4F1112
split-complementary
#314F11 #11124F #4E114F
monochromatic
#101905 #121D06 #314F11 #50811C #6FB427

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##314F11#FFFFFF#000000##FFFFFF
##314F111.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)
#534807
Deuteranopia (green-blind)
#4F4617
Tritanopia (blue-blind)
#324B43
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #314f11;
/* rgb */ color: rgb(49, 79, 17);
/* oklch */ color: oklch(39.0% 0.095 132.0);
Tailwind
colors: {
  custom: {
    50: '#6c8054',
    500: '#314f11',
    950: '#000000',
  },
}
SCSS
$custom: #314f11;
$custom-light: #6c8054;
$custom-dark: #000000;
JSON
{
  "hex": "#314f11",
  "rgb": {
    "r": 49,
    "g": 79,
    "b": 17
  },
  "hsl": {
    "h": 89.032,
    "s": 64.583,
    "l": 18.824
  },
  "oklch": {
    "l": 0.39,
    "c": 0.09492,
    "h": 132
  },
  "luminance": 0.06285
}

Semantic roles & 50–950 ramp

primary
#314F11
secondary
#5D3388
accent
#40E891
background
#F6F7F4
surface
#ECEEE8
border
#C7C9C4
text
#070A03
muted
#7A7C78

Preview Lab

Preview with #314F11

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

Preview Lab → · Contrast checker → · Palette generator →

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