#314A11#314A11

#314A11 is a dark, moderate yellow-green. Relative luminance 0.056; OKLCH L 37.6% C 0.087 H 130.3°. Best body text is #FFFFFF at 9.91:1 contrast (WCAG AA passes).

Color values

HEX#314A11
RGBrgb(49, 74, 17)
HSLhsl(86, 63%, 18%)
HSVhsv(86, 77%, 29%)
CMYKcmyk(33.8%, 0%, 77%, 71%)
CIE-LABlab(28.36, -19.97, 29.53)
CIE-LCHlch(28.36, 35.65, 124.07°)
OKLaboklab(37.56% -0.0566 0.0668)
OKLCHoklch(37.56% 0.088 130.3)
XYZxyz(3.8166, 5.5909, 1.4083)
Luminance0.0559 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314A11 #2A114A
analogous
#4A4611 #314A11 #144A11
triadic
#314A11 #11314A #4A1131
tetradic
#314A11 #114A46 #2A114A #4A1114
square
#314A11 #114A46 #2A114A #4A1114
split-complementary
#314A11 #11144A #46114A
monochromatic
#101906 #101906 #314A11 #527C1C #73AE28

Accessibility & contrast

On white

9.91
#314A11 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #314A11
9.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314A11#FFFFFF#000000##FFFFFF
##314A111.009.912.129.91
#FFFFFF9.911.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E4408
Deuteranopia (green-blind)
#4A4216
Tritanopia (blue-blind)
#32473F
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #314a11;
/* rgb */ color: rgb(49, 74, 17);
/* oklch */ color: oklch(37.6% 0.087 130.3);
Tailwind
colors: {
  custom: {
    50: '#6c7c53',
    500: '#314a11',
    950: '#000000',
  },
}
SCSS
$custom: #314a11;
$custom-light: #6c7c53;
$custom-dark: #000000;
JSON
{
  "hex": "#314a11",
  "rgb": {
    "r": 49,
    "g": 74,
    "b": 17
  },
  "hsl": {
    "h": 86.316,
    "s": 62.637,
    "l": 17.843
  },
  "oklch": {
    "l": 0.37562,
    "c": 0.0875,
    "h": 130.3
  },
  "luminance": 0.05591
}

Semantic roles & 50–950 ramp

primary
#314A11
secondary
#563383
accent
#42E68A
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#070902
muted
#7A7B78

Preview Lab

Preview with #314A11

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

Preview Lab → · Contrast checker → · Palette generator →

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