#314A0D#314A0D

#314A0D is a dark, moderate yellow-green. Relative luminance 0.056; OKLCH L 37.5% C 0.090 H 129.7°. Best body text is #FFFFFF at 9.92:1 contrast (WCAG AA passes).

Color values

HEX#314A0D
RGBrgb(49, 74, 13)
HSLhsl(85, 70%, 17%)
HSVhsv(85, 82%, 29%)
CMYKcmyk(33.8%, 0%, 82.4%, 71%)
CIE-LABlab(28.33, -20.27, 31.21)
CIE-LCHlch(28.33, 37.21, 123.00°)
OKLaboklab(37.53% -0.0577 0.0696)
OKLCHoklch(37.53% 0.09 129.7)
XYZxyz(3.7880, 5.5795, 1.2581)
Luminance0.0558 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314A0D #260D4A
analogous
#4A450D #314A0D #134A0D
triadic
#314A0D #0D314A #4A0D31
tetradic
#314A0D #0D4A45 #260D4A #4A0D13
square
#314A0D #0D4A45 #260D4A #4A0D13
split-complementary
#314A0D #0D134A #450D4A
monochromatic
#111A05 #111A05 #314A0D #537E16 #76B21F

Accessibility & contrast

On white

9.92
#314A0D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#314A0D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #314A0D
9.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314A0D#FFFFFF#000000##FFFFFF
##314A0D1.009.922.129.92
#FFFFFF9.921.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E4403
Deuteranopia (green-blind)
#4A4213
Tritanopia (blue-blind)
#33463E
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #314a0d;
/* rgb */ color: rgb(49, 74, 13);
/* oklch */ color: oklch(37.5% 0.090 129.7);
Tailwind
colors: {
  custom: {
    50: '#6c7c51',
    500: '#314a0d',
    950: '#000000',
  },
}
SCSS
$custom: #314a0d;
$custom-light: #6c7c51;
$custom-dark: #000000;
JSON
{
  "hex": "#314a0d",
  "rgb": {
    "r": 49,
    "g": 74,
    "b": 13
  },
  "hsl": {
    "h": 84.59,
    "s": 70.115,
    "l": 17.059
  },
  "oklch": {
    "l": 0.37528,
    "c": 0.09042,
    "h": 129.7
  },
  "luminance": 0.0558
}

Semantic roles & 50–950 ramp

primary
#314A0D
secondary
#512E85
accent
#3BED84
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#070902
muted
#7A7B78

Preview Lab

Preview with #314A0D

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

Preview Lab → · Contrast checker → · Palette generator →

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