#406613#406613

#406613 is a mid, moderate yellow-green. Relative luminance 0.106; OKLCH L 46.5% C 0.117 H 131.7°. Best body text is #FFFFFF at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#406613
RGBrgb(64, 102, 19)
HSLhsl(87, 69%, 24%)
HSVhsv(87, 81%, 40%)
CMYKcmyk(37.3%, 0%, 81.4%, 60%)
CIE-LABlab(38.97, -27.51, 39.47)
CIE-LCHlch(38.97, 48.11, 124.88°)
OKLaboklab(46.46% -0.0779 0.0876)
OKLCHoklch(46.46% 0.117 131.7)
XYZxyz(6.9832, 10.6395, 2.3017)
Luminance0.1064 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#406613 #391366
analogous
#666213 #406613 #166613
triadic
#406613 #134066 #661340
tetradic
#406613 #136662 #391366 #661316
square
#406613 #136662 #391366 #661316
split-complementary
#406613 #131666 #621366
monochromatic
#101A05 #203209 #406613 #609A1D #81CD26

Accessibility & contrast

On white

6.71
#406613 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#406613 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #406613
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##406613#FFFFFF#000000##FFFFFF
##4066131.006.713.136.71
#FFFFFF6.711.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B5E01
Deuteranopia (green-blind)
#665B1C
Tritanopia (blue-blind)
#416156
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #406613;
/* rgb */ color: rgb(64, 102, 19);
/* oklch */ color: oklch(46.5% 0.117 131.7);
Tailwind
colors: {
  custom: {
    50: '#799258',
    500: '#406613',
    950: '#000000',
  },
}
SCSS
$custom: #406613;
$custom-light: #799258;
$custom-dark: #000000;
JSON
{
  "hex": "#406613",
  "rgb": {
    "r": 64,
    "g": 102,
    "b": 19
  },
  "hsl": {
    "h": 87.47,
    "s": 68.595,
    "l": 23.725
  },
  "oklch": {
    "l": 0.46461,
    "c": 0.11723,
    "h": 131.7
  },
  "luminance": 0.1064
}

Semantic roles & 50–950 ramp

primary
#406613
secondary
#66379D
accent
#3CEB8D
background
#F7F8F5
surface
#EEF0E9
border
#C9CBC5
text
#090D04
muted
#7B7D79

Preview Lab

Preview with #406613

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

Preview Lab → · Contrast checker → · Palette generator →

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