#314806#314806

#314806 is a dark, moderate yellow-green. Relative luminance 0.053; OKLCH L 36.9% C 0.092 H 128.1°. Best body text is #FFFFFF at 10.19:1 contrast (WCAG AA passes).

Color values

HEX#314806
RGBrgb(49, 72, 6)
HSLhsl(81, 85%, 15%)
HSVhsv(81, 92%, 28%)
CMYKcmyk(31.9%, 0%, 91.7%, 71.8%)
CIE-LABlab(27.58, -19.65, 33.18)
CIE-LCHlch(27.58, 38.56, 120.63°)
OKLaboklab(36.9% -0.0567 0.0723)
OKLCHoklch(36.9% 0.092 128.1)
XYZxyz(3.6169, 5.3008, 1.0048)
Luminance0.0530 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314806 #1D0648
analogous
#483E06 #314806 #104806
triadic
#314806 #063148 #480631
tetradic
#314806 #06483E #1D0648 #480610
square
#314806 #06483E #1D0648 #480610
split-complementary
#314806 #061048 #3E0648
monochromatic
#131C02 #131C02 #314806 #57800B #7EB90F

Accessibility & contrast

On white

10.19
#314806 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#314806 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #314806
10.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314806#FFFFFF#000000##FFFFFF
##3148061.0010.192.0610.19
#FFFFFF10.191.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C4200
Deuteranopia (green-blind)
#49410D
Tritanopia (blue-blind)
#33443C
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #314806;
/* rgb */ color: rgb(49, 72, 6);
/* oklch */ color: oklch(36.9% 0.092 128.1);
Tailwind
colors: {
  custom: {
    50: '#6c7b4d',
    500: '#314806',
    950: '#000000',
  },
}
SCSS
$custom: #314806;
$custom-light: #6c7b4d;
$custom-dark: #000000;
JSON
{
  "hex": "#314806",
  "rgb": {
    "r": 49,
    "g": 72,
    "b": 6
  },
  "hsl": {
    "h": 80.909,
    "s": 84.615,
    "l": 15.294
  },
  "oklch": {
    "l": 0.36903,
    "c": 0.09188,
    "h": 128.1
  },
  "luminance": 0.05301
}

Semantic roles & 50–950 ramp

primary
#314806
secondary
#462387
accent
#2DFB75
background
#F6F7F4
surface
#ECEDE7
border
#C7C8C3
text
#070902
muted
#7A7B78

Preview Lab

Preview with #314806

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

Preview Lab → · Contrast checker → · Palette generator →

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