#314E0B#314E0B

#314E0B is a dark, moderate yellow-green. Relative luminance 0.061; OKLCH L 38.7% C 0.097 H 130.9°. Best body text is #FFFFFF at 9.44:1 contrast (WCAG AA passes).

Color values

HEX#314E0B
RGBrgb(49, 78, 11)
HSLhsl(86, 75%, 17%)
HSVhsv(86, 86%, 31%)
CMYKcmyk(37.2%, 0%, 85.9%, 69.4%)
CIE-LABlab(29.73, -22.44, 33.30)
CIE-LCHlch(29.73, 40.16, 123.98°)
OKLaboklab(38.67% -0.0638 0.0736)
OKLCHoklch(38.67% 0.097 130.9)
XYZxyz(4.0514, 6.1258, 1.2855)
Luminance0.0613 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314E0B #280B4E
analogous
#4E490B #314E0B #104E0B
triadic
#314E0B #0B314E #4E0B31
tetradic
#314E0B #0B4E49 #280B4E #4E0B10
square
#314E0B #0B4E49 #280B4E #4E0B10
split-complementary
#314E0B #0B104E #490B4E
monochromatic
#111B04 #111B04 #314E0B #538413 #74B91A

Accessibility & contrast

On white

9.44
#314E0B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#314E0B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #314E0B
9.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314E0B#FFFFFF#000000##FFFFFF
##314E0B1.009.442.239.44
#FFFFFF9.441.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#524700
Deuteranopia (green-blind)
#4E4512
Tritanopia (blue-blind)
#324A42
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #314e0b;
/* rgb */ color: rgb(49, 78, 11);
/* oklch */ color: oklch(38.7% 0.097 130.9);
Tailwind
colors: {
  custom: {
    50: '#6c8050',
    500: '#314e0b',
    950: '#000000',
  },
}
SCSS
$custom: #314e0b;
$custom-light: #6c8050;
$custom-dark: #000000;
JSON
{
  "hex": "#314e0b",
  "rgb": {
    "r": 49,
    "g": 78,
    "b": 11
  },
  "hsl": {
    "h": 85.97,
    "s": 75.281,
    "l": 17.451
  },
  "oklch": {
    "l": 0.38666,
    "c": 0.0974,
    "h": 130.9
  },
  "luminance": 0.06126
}

Semantic roles & 50–950 ramp

primary
#314E0B
secondary
#542B8A
accent
#36F287
background
#F6F7F4
surface
#ECEEE7
border
#C7C9C3
text
#070A02
muted
#7A7C78

Preview Lab

Preview with #314E0B

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

Preview Lab → · Contrast checker → · Palette generator →

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