#314911#314911

#314911 is a dark, moderate yellow-green. Relative luminance 0.055; OKLCH L 37.3% C 0.086 H 129.9°. Best body text is #FFFFFF at 10.04:1 contrast (WCAG AA passes).

Color values

HEX#314911
RGBrgb(49, 73, 17)
HSLhsl(86, 62%, 18%)
HSVhsv(86, 77%, 29%)
CMYKcmyk(32.9%, 0%, 76.7%, 71.4%)
CIE-LABlab(28.00, -19.45, 29.17)
CIE-LCHlch(28.00, 35.05, 123.69°)
OKLaboklab(37.28% -0.0551 0.066)
OKLCHoklch(37.28% 0.086 129.9)
XYZxyz(3.7503, 5.4584, 1.3862)
Luminance0.0546 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314911 #291149
analogous
#494511 #314911 #154911
triadic
#314911 #113149 #491131
tetradic
#314911 #114945 #291149 #491115
square
#314911 #114945 #291149 #491115
split-complementary
#314911 #111549 #451149
monochromatic
#111906 #111906 #314911 #527B1D #74AC28

Accessibility & contrast

On white

10.04
#314911 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#314911 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #314911
10.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314911#FFFFFF#000000##FFFFFF
##3149111.0010.042.0910.04
#FFFFFF10.041.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D4308
Deuteranopia (green-blind)
#494216
Tritanopia (blue-blind)
#32463E
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #314911;
/* rgb */ color: rgb(49, 73, 17);
/* oklch */ color: oklch(37.3% 0.086 129.9);
Tailwind
colors: {
  custom: {
    50: '#6b7c53',
    500: '#314911',
    950: '#000000',
  },
}
SCSS
$custom: #314911;
$custom-light: #6b7c53;
$custom-dark: #000000;
JSON
{
  "hex": "#314911",
  "rgb": {
    "r": 49,
    "g": 73,
    "b": 17
  },
  "hsl": {
    "h": 85.714,
    "s": 62.222,
    "l": 17.647
  },
  "oklch": {
    "l": 0.37275,
    "c": 0.08599,
    "h": 129.9
  },
  "luminance": 0.05459
}

Semantic roles & 50–950 ramp

primary
#314911
secondary
#553382
accent
#43E588
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#070902
muted
#7A7B78

Preview Lab

Preview with #314911

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

Preview Lab → · Contrast checker → · Palette generator →

#314911 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva