#314A10#314A10

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

Color values

HEX#314A10
RGBrgb(49, 74, 16)
HSLhsl(86, 64%, 18%)
HSVhsv(86, 78%, 29%)
CMYKcmyk(33.8%, 0%, 78.4%, 71%)
CIE-LABlab(28.35, -20.05, 29.97)
CIE-LCHlch(28.35, 36.06, 123.79°)
OKLaboklab(37.55% -0.0569 0.0675)
OKLCHoklch(37.55% 0.088 130.1)
XYZxyz(3.8089, 5.5878, 1.3680)
Luminance0.0559 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314A10 #29104A
analogous
#4A4610 #314A10 #144A10
triadic
#314A10 #10314A #4A1031
tetradic
#314A10 #104A46 #29104A #4A1014
square
#314A10 #104A46 #29104A #4A1014
split-complementary
#314A10 #10144A #46104A
monochromatic
#111905 #111905 #314A10 #527C1B #74AF26

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##314A10#FFFFFF#000000##FFFFFF
##314A101.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)
#4E4407
Deuteranopia (green-blind)
#4A4215
Tritanopia (blue-blind)
#32463F
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #314a10;
/* rgb */ color: rgb(49, 74, 16);
/* oklch */ color: oklch(37.6% 0.088 130.1);
Tailwind
colors: {
  custom: {
    50: '#6c7c52',
    500: '#314a10',
    950: '#000000',
  },
}
SCSS
$custom: #314a10;
$custom-light: #6c7c52;
$custom-dark: #000000;
JSON
{
  "hex": "#314a10",
  "rgb": {
    "r": 49,
    "g": 74,
    "b": 16
  },
  "hsl": {
    "h": 85.862,
    "s": 64.444,
    "l": 17.647
  },
  "oklch": {
    "l": 0.37553,
    "c": 0.08827,
    "h": 130.1
  },
  "luminance": 0.05588
}

Semantic roles & 50–950 ramp

primary
#314A10
secondary
#553284
accent
#40E788
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#070902
muted
#7A7B78

Preview Lab

Preview with #314A10

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

Preview Lab → · Contrast checker → · Palette generator →

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