#314B0E#314B0E

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

Color values

HEX#314B0E
RGBrgb(49, 75, 14)
HSLhsl(86, 69%, 17%)
HSVhsv(86, 81%, 29%)
CMYKcmyk(34.7%, 0%, 81.3%, 70.6%)
CIE-LABlab(28.69, -20.72, 31.16)
CIE-LCHlch(28.69, 37.42, 123.63°)
OKLaboklab(37.82% -0.0589 0.0696)
OKLCHoklch(37.82% 0.091 130.2)
XYZxyz(3.8619, 5.7167, 1.3153)
Luminance0.0572 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314B0E #280E4B
analogous
#4B470E #314B0E #124B0E
triadic
#314B0E #0E314B #4B0E31
tetradic
#314B0E #0E4B47 #280E4B #4B0E12
square
#314B0E #0E4B47 #280E4B #4B0E12
split-complementary
#314B0E #0E124B #470E4B
monochromatic
#111A05 #111A05 #314B0E #537F18 #74B221

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##314B0E#FFFFFF#000000##FFFFFF
##314B0E1.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)
#4F4504
Deuteranopia (green-blind)
#4B4314
Tritanopia (blue-blind)
#32473F
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #314b0e;
/* rgb */ color: rgb(49, 75, 14);
/* oklch */ color: oklch(37.8% 0.091 130.2);
Tailwind
colors: {
  custom: {
    50: '#6c7d51',
    500: '#314b0e',
    950: '#000000',
  },
}
SCSS
$custom: #314b0e;
$custom-light: #6c7d51;
$custom-dark: #000000;
JSON
{
  "hex": "#314b0e",
  "rgb": {
    "r": 49,
    "g": 75,
    "b": 14
  },
  "hsl": {
    "h": 85.574,
    "s": 68.539,
    "l": 17.451
  },
  "oklch": {
    "l": 0.37824,
    "c": 0.0912,
    "h": 130.2
  },
  "luminance": 0.05717
}

Semantic roles & 50–950 ramp

primary
#314B0E
secondary
#542F86
accent
#3CEB87
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#070902
muted
#7A7B78

Preview Lab

Preview with #314B0E

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

Preview Lab → · Contrast checker → · Palette generator →

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