#406A13#406A13

#406A13 is a mid, vivid yellow-green. Relative luminance 0.114; OKLCH L 47.6% C 0.123 H 132.6°. Best body text is #FFFFFF at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#406A13
RGBrgb(64, 106, 19)
HSLhsl(89, 70%, 25%)
HSVhsv(89, 82%, 42%)
CMYKcmyk(39.6%, 0%, 82.1%, 58.4%)
CIE-LABlab(40.32, -29.39, 40.75)
CIE-LCHlch(40.32, 50.24, 125.80°)
OKLaboklab(47.57% -0.083 0.0903)
OKLCHoklch(47.57% 0.123 132.6)
XYZxyz(7.3858, 11.4447, 2.4359)
Luminance0.1144 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#406A13 #3D136A
analogous
#6A6913 #406A13 #146A13
triadic
#406A13 #13406A #6A1340
tetradic
#406A13 #136A69 #3D136A #6A1314
square
#406A13 #136A69 #3D136A #6A1314
split-complementary
#406A13 #13146A #69136A
monochromatic
#101A05 #21360A #406A13 #5F9E1C #7FD226

Accessibility & contrast

On white

6.38
#406A13 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#406A13 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #406A13
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##406A13#FFFFFF#000000##FFFFFF
##406A131.006.383.296.38
#FFFFFF6.381.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F6100
Deuteranopia (green-blind)
#695E1C
Tritanopia (blue-blind)
#41655A
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #406a13;
/* rgb */ color: rgb(64, 106, 19);
/* oklch */ color: oklch(47.6% 0.123 132.6);
Tailwind
colors: {
  custom: {
    50: '#799559',
    500: '#406a13',
    950: '#000000',
  },
}
SCSS
$custom: #406a13;
$custom-light: #799559;
$custom-dark: #000000;
JSON
{
  "hex": "#406a13",
  "rgb": {
    "r": 64,
    "g": 106,
    "b": 19
  },
  "hsl": {
    "h": 88.966,
    "s": 69.6,
    "l": 24.51
  },
  "oklch": {
    "l": 0.47567,
    "c": 0.12263,
    "h": 132.6
  },
  "luminance": 0.11445
}

Semantic roles & 50–950 ramp

primary
#406A13
secondary
#6B38A1
accent
#3BEC91
background
#F7F9F5
surface
#EEF1E9
border
#C9CBC5
text
#090D04
muted
#7B7E79

Preview Lab

Preview with #406A13

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

Preview Lab → · Contrast checker → · Palette generator →

#406A13 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva