#314906#314906

#314906 is a dark, moderate yellow-green. Relative luminance 0.054; OKLCH L 37.2% C 0.093 H 128.5°. Best body text is #FFFFFF at 10.07:1 contrast (WCAG AA passes).

Color values

HEX#314906
RGBrgb(49, 73, 6)
HSLhsl(81, 85%, 15%)
HSVhsv(81, 92%, 29%)
CMYKcmyk(32.9%, 0%, 91.8%, 71.4%)
CIE-LABlab(27.93, -20.17, 33.49)
CIE-LCHlch(27.93, 39.09, 121.06°)
OKLaboklab(37.19% -0.0581 0.073)
OKLCHoklch(37.19% 0.093 128.5)
XYZxyz(3.6820, 5.4311, 1.0266)
Luminance0.0543 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314906 #1E0649
analogous
#493F06 #314906 #0F4906
triadic
#314906 #063149 #490631
tetradic
#314906 #06493F #1E0649 #49060F
square
#314906 #06493F #1E0649 #49060F
split-complementary
#314906 #060F49 #3F0649
monochromatic
#131C02 #131C02 #314906 #57820B #7DBA0F

Accessibility & contrast

On white

10.07
#314906 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #314906
10.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314906#FFFFFF#000000##FFFFFF
##3149061.0010.072.0910.07
#FFFFFF10.071.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D4300
Deuteranopia (green-blind)
#4A410E
Tritanopia (blue-blind)
#33453D
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #314906;
/* rgb */ color: rgb(49, 73, 6);
/* oklch */ color: oklch(37.2% 0.093 128.5);
Tailwind
colors: {
  custom: {
    50: '#6c7c4d',
    500: '#314906',
    950: '#000000',
  },
}
SCSS
$custom: #314906;
$custom-light: #6c7c4d;
$custom-dark: #000000;
JSON
{
  "hex": "#314906",
  "rgb": {
    "r": 49,
    "g": 73,
    "b": 6
  },
  "hsl": {
    "h": 81.493,
    "s": 84.81,
    "l": 15.49
  },
  "oklch": {
    "l": 0.37192,
    "c": 0.09327,
    "h": 128.5
  },
  "luminance": 0.05431
}

Semantic roles & 50–950 ramp

primary
#314906
secondary
#472388
accent
#2DFB77
background
#F6F7F4
surface
#ECEEE7
border
#C7C9C3
text
#070902
muted
#7A7B78

Preview Lab

Preview with #314906

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

Preview Lab → · Contrast checker → · Palette generator →

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