#314006#314006

#314006 is a dark, moderate yellow-green. Relative luminance 0.043; OKLCH L 34.6% C 0.081 H 123.8°. Best body text is #FFFFFF at 11.25:1 contrast (WCAG AA passes).

Color values

HEX#314006
RGBrgb(49, 64, 6)
HSLhsl(76, 83%, 14%)
HSVhsv(76, 91%, 25%)
CMYKcmyk(23.4%, 0%, 90.6%, 74.9%)
CIE-LABlab(24.74, -15.30, 30.60)
CIE-LCHlch(24.74, 34.21, 116.57°)
OKLaboklab(34.6% -0.0449 0.067)
OKLCHoklch(34.6% 0.081 123.8)
XYZxyz(3.1329, 4.3329, 0.8435)
Luminance0.0433 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314006 #150640
analogous
#403206 #314006 #144006
triadic
#314006 #063140 #400631
tetradic
#314006 #064032 #150640 #400614
square
#314006 #064032 #150640 #400614
split-complementary
#314006 #061440 #320640
monochromatic
#151C03 #151C03 #314006 #5C780B #87B010

Accessibility & contrast

On white

11.25
#314006 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#314006 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #314006
11.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314006#FFFFFF#000000##FFFFFF
##3140061.0011.251.8711.25
#FFFFFF11.251.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#443B00
Deuteranopia (green-blind)
#423B0C
Tritanopia (blue-blind)
#343C35
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #314006;
/* rgb */ color: rgb(49, 64, 6);
/* oklch */ color: oklch(34.6% 0.081 123.8);
Tailwind
colors: {
  custom: {
    50: '#6b744c',
    500: '#314006',
    950: '#000000',
  },
}
SCSS
$custom: #314006;
$custom-light: #6b744c;
$custom-dark: #000000;
JSON
{
  "hex": "#314006",
  "rgb": {
    "r": 49,
    "g": 64,
    "b": 6
  },
  "hsl": {
    "h": 75.517,
    "s": 82.857,
    "l": 13.725
  },
  "oklch": {
    "l": 0.34604,
    "c": 0.08065,
    "h": 123.8
  },
  "luminance": 0.04333
}

Semantic roles & 50–950 ramp

primary
#314006
secondary
#3A2280
accent
#2FF963
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#070801
muted
#7A7B77

Preview Lab

Preview with #314006

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

Preview Lab → · Contrast checker → · Palette generator →

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