#406C13#406C13

#406C13 is a mid, vivid yellow-green. Relative luminance 0.119; OKLCH L 48.1% C 0.125 H 133.0°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#406C13
RGBrgb(64, 108, 19)
HSLhsl(90, 70%, 25%)
HSVhsv(90, 82%, 42%)
CMYKcmyk(40.7%, 0%, 82.4%, 57.6%)
CIE-LABlab(41.00, -30.32, 41.38)
CIE-LCHlch(41.00, 51.30, 126.23°)
OKLaboklab(48.12% -0.0855 0.0916)
OKLCHoklch(48.12% 0.125 133)
XYZxyz(7.5943, 11.8618, 2.5054)
Luminance0.1186 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#406C13 #3F136C
analogous
#6C6C13 #406C13 #136C13
triadic
#406C13 #13406C #6C1340
tetradic
#406C13 #136C6C #3F136C #6C1313
square
#406C13 #136C6C #3F136C #6C1313
split-complementary
#406C13 #13136C #6C136C
monochromatic
#0F1A05 #21380A #406C13 #5FA01C #7ED425

Accessibility & contrast

On white

6.23
#406C13 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#406C13 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #406C13
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##406C13#FFFFFF#000000##FFFFFF
##406C131.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#716300
Deuteranopia (green-blind)
#6B5F1D
Tritanopia (blue-blind)
#40675C
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #406c13;
/* rgb */ color: rgb(64, 108, 19);
/* oklch */ color: oklch(48.1% 0.125 133.0);
Tailwind
colors: {
  custom: {
    50: '#799659',
    500: '#406c13',
    950: '#000000',
  },
}
SCSS
$custom: #406c13;
$custom-light: #799659;
$custom-dark: #000000;
JSON
{
  "hex": "#406c13",
  "rgb": {
    "r": 64,
    "g": 108,
    "b": 19
  },
  "hsl": {
    "h": 89.663,
    "s": 70.079,
    "l": 24.902
  },
  "oklch": {
    "l": 0.4812,
    "c": 0.1253,
    "h": 133
  },
  "luminance": 0.11862
}

Semantic roles & 50–950 ramp

primary
#406C13
secondary
#6D38A3
accent
#3BED93
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#090D04
muted
#7B7E79

Preview Lab

Preview with #406C13

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

Preview Lab → · Contrast checker → · Palette generator →

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