#314910#314910

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

Color values

HEX#314910
RGBrgb(49, 73, 16)
HSLhsl(85, 64%, 17%)
HSVhsv(85, 78%, 29%)
CMYKcmyk(32.9%, 0%, 78.1%, 71.4%)
CIE-LABlab(27.99, -19.53, 29.61)
CIE-LCHlch(27.99, 35.47, 123.40°)
OKLaboklab(37.27% -0.0554 0.0668)
OKLCHoklch(37.27% 0.087 129.7)
XYZxyz(3.7427, 5.4554, 1.3459)
Luminance0.0546 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314910 #281049
analogous
#494410 #314910 #154910
triadic
#314910 #103149 #491031
tetradic
#314910 #104944 #281049 #491015
square
#314910 #104944 #281049 #491015
split-complementary
#314910 #101549 #441049
monochromatic
#111906 #111906 #314910 #537B1B #74AD26

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##314910#FFFFFF#000000##FFFFFF
##3149101.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)
#4D4307
Deuteranopia (green-blind)
#494115
Tritanopia (blue-blind)
#33453E
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #314910;
/* rgb */ color: rgb(49, 73, 16);
/* oklch */ color: oklch(37.3% 0.087 129.7);
Tailwind
colors: {
  custom: {
    50: '#6c7c52',
    500: '#314910',
    950: '#000000',
  },
}
SCSS
$custom: #314910;
$custom-light: #6c7c52;
$custom-dark: #000000;
JSON
{
  "hex": "#314910",
  "rgb": {
    "r": 49,
    "g": 73,
    "b": 16
  },
  "hsl": {
    "h": 85.263,
    "s": 64.045,
    "l": 17.451
  },
  "oklch": {
    "l": 0.37266,
    "c": 0.08678,
    "h": 129.7
  },
  "luminance": 0.05455
}

Semantic roles & 50–950 ramp

primary
#314910
secondary
#543283
accent
#41E787
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#070902
muted
#7A7B78

Preview Lab

Preview with #314910

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

Preview Lab → · Contrast checker → · Palette generator →

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