#314D11#314D11

#314D11 is a dark, moderate yellow-green. Relative luminance 0.060; OKLCH L 38.4% C 0.092 H 131.4°. Best body text is #FFFFFF at 9.54:1 contrast (WCAG AA passes).

Color values

HEX#314D11
RGBrgb(49, 77, 17)
HSLhsl(88, 64%, 18%)
HSVhsv(88, 78%, 30%)
CMYKcmyk(36.4%, 0%, 77.9%, 69.8%)
CIE-LABlab(29.41, -21.52, 30.61)
CIE-LCHlch(29.41, 37.42, 125.12°)
OKLaboklab(38.42% -0.0608 0.069)
OKLCHoklch(38.42% 0.092 131.4)
XYZxyz(4.0216, 6.0010, 1.4766)
Luminance0.0600 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314D11 #2D114D
analogous
#4D4B11 #314D11 #134D11
triadic
#314D11 #11314D #4D1131
tetradic
#314D11 #114D4B #2D114D #4D1113
square
#314D11 #114D4B #2D114D #4D1113
split-complementary
#314D11 #11134D #4B114D
monochromatic
#101906 #111B06 #314D11 #517F1C #71B127

Accessibility & contrast

On white

9.54
#314D11 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#314D11 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #314D11
9.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314D11#FFFFFF#000000##FFFFFF
##314D111.009.542.209.54
#FFFFFF9.541.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#514707
Deuteranopia (green-blind)
#4D4516
Tritanopia (blue-blind)
#324941
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #314d11;
/* rgb */ color: rgb(49, 77, 17);
/* oklch */ color: oklch(38.4% 0.092 131.4);
Tailwind
colors: {
  custom: {
    50: '#6c7f53',
    500: '#314d11',
    950: '#000000',
  },
}
SCSS
$custom: #314d11;
$custom-light: #6c7f53;
$custom-dark: #000000;
JSON
{
  "hex": "#314d11",
  "rgb": {
    "r": 49,
    "g": 77,
    "b": 17
  },
  "hsl": {
    "h": 88,
    "s": 63.83,
    "l": 18.431
  },
  "oklch": {
    "l": 0.38425,
    "c": 0.09197,
    "h": 131.4
  },
  "luminance": 0.06001
}

Semantic roles & 50–950 ramp

primary
#314D11
secondary
#5A3386
accent
#41E78E
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#070A03
muted
#7A7C78

Preview Lab

Preview with #314D11

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

Preview Lab → · Contrast checker → · Palette generator →

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