#314A0B#314A0B

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

Color values

HEX#314A0B
RGBrgb(49, 74, 11)
HSLhsl(84, 74%, 17%)
HSVhsv(84, 85%, 29%)
CMYKcmyk(33.8%, 0%, 85.1%, 71%)
CIE-LABlab(28.31, -20.40, 31.97)
CIE-LCHlch(28.31, 37.93, 122.54°)
OKLaboklab(37.51% -0.0583 0.0708)
OKLCHoklch(37.51% 0.092 129.5)
XYZxyz(3.7758, 5.5746, 1.1936)
Luminance0.0558 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314A0B #240B4A
analogous
#4A440B #314A0B #114A0B
triadic
#314A0B #0B314A #4A0B31
tetradic
#314A0B #0B4A44 #240B4A #4A0B11
square
#314A0B #0B4A44 #240B4A #4A0B11
split-complementary
#314A0B #0B114A #440B4A
monochromatic
#121B04 #121B04 #314A0B #547F13 #78B51B

Accessibility & contrast

On white

9.93
#314A0B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #314A0B
9.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314A0B#FFFFFF#000000##FFFFFF
##314A0B1.009.932.129.93
#FFFFFF9.931.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.931.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #314a0b;
/* rgb */ color: rgb(49, 74, 11);
/* oklch */ color: oklch(37.5% 0.092 129.5);
Tailwind
colors: {
  custom: {
    50: '#6c7c50',
    500: '#314a0b',
    950: '#000000',
  },
}
SCSS
$custom: #314a0b;
$custom-light: #6c7c50;
$custom-dark: #000000;
JSON
{
  "hex": "#314a0b",
  "rgb": {
    "r": 49,
    "g": 74,
    "b": 11
  },
  "hsl": {
    "h": 83.81,
    "s": 74.118,
    "l": 16.667
  },
  "oklch": {
    "l": 0.37513,
    "c": 0.0917,
    "h": 129.5
  },
  "luminance": 0.05575
}

Semantic roles & 50–950 ramp

primary
#314A0B
secondary
#4F2B86
accent
#37F181
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#070902
muted
#7A7B78

Preview Lab

Preview with #314A0B

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

Preview Lab → · Contrast checker → · Palette generator →

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