#314B0D#314B0D

#314B0D is a dark, moderate yellow-green. Relative luminance 0.057; OKLCH L 37.8% C 0.092 H 130.1°. Best body text is #FFFFFF at 9.80:1 contrast (WCAG AA passes).

Color values

HEX#314B0D
RGBrgb(49, 75, 13)
HSLhsl(85, 70%, 17%)
HSVhsv(85, 83%, 29%)
CMYKcmyk(34.7%, 0%, 82.7%, 70.6%)
CIE-LABlab(28.68, -20.79, 31.55)
CIE-LCHlch(28.68, 37.78, 123.38°)
OKLaboklab(37.82% -0.0591 0.0703)
OKLCHoklch(37.82% 0.092 130.1)
XYZxyz(3.8553, 5.7141, 1.2805)
Luminance0.0571 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314B0D #270D4B
analogous
#4B460D #314B0D #124B0D
triadic
#314B0D #0D314B #4B0D31
tetradic
#314B0D #0D4B46 #270D4B #4B0D12
square
#314B0D #0D4B46 #270D4B #4B0D12
split-complementary
#314B0D #0D124B #460D4B
monochromatic
#111A05 #111A05 #314B0D #537F16 #75B31F

Accessibility & contrast

On white

9.80
#314B0D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#314B0D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #314B0D
9.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314B0D#FFFFFF#000000##FFFFFF
##314B0D1.009.802.149.80
#FFFFFF9.801.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F4502
Deuteranopia (green-blind)
#4B4313
Tritanopia (blue-blind)
#32473F
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #314b0d;
/* rgb */ color: rgb(49, 75, 13);
/* oklch */ color: oklch(37.8% 0.092 130.1);
Tailwind
colors: {
  custom: {
    50: '#6c7d51',
    500: '#314b0d',
    950: '#000000',
  },
}
SCSS
$custom: #314b0d;
$custom-light: #6c7d51;
$custom-dark: #000000;
JSON
{
  "hex": "#314b0d",
  "rgb": {
    "r": 49,
    "g": 75,
    "b": 13
  },
  "hsl": {
    "h": 85.161,
    "s": 70.455,
    "l": 17.255
  },
  "oklch": {
    "l": 0.37816,
    "c": 0.09187,
    "h": 130.1
  },
  "luminance": 0.05714
}

Semantic roles & 50–950 ramp

primary
#314B0D
secondary
#532E86
accent
#3BED85
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#070902
muted
#7A7B78

Preview Lab

Preview with #314B0D

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

Preview Lab → · Contrast checker → · Palette generator →

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