#406D14#406D14

#406D14 is a mid, vivid yellow-green. Relative luminance 0.121; OKLCH L 48.4% C 0.126 H 133.3°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#406D14
RGBrgb(64, 109, 20)
HSLhsl(90, 69%, 25%)
HSVhsv(90, 82%, 43%)
CMYKcmyk(41.3%, 0%, 81.7%, 57.3%)
CIE-LABlab(41.34, -30.72, 41.37)
CIE-LCHlch(41.34, 51.52, 126.60°)
OKLaboklab(48.4% -0.0865 0.0917)
OKLCHoklch(48.4% 0.126 133.3)
XYZxyz(7.7091, 12.0774, 2.5867)
Luminance0.1208 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#406D14 #41146D
analogous
#6C6D14 #406D14 #146D14
triadic
#406D14 #14406D #6D1440
tetradic
#406D14 #146C6D #41146D #6D1414
square
#406D14 #146C6D #41146D #6D1414
split-complementary
#406D14 #14146D #6D146C
monochromatic
#0F1A05 #22390B #406D14 #5EA11D #7DD427

Accessibility & contrast

On white

6.15
#406D14 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#406D14 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #406D14
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##406D14#FFFFFF#000000##FFFFFF
##406D141.006.153.426.15
#FFFFFF6.151.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726400
Deuteranopia (green-blind)
#6C601E
Tritanopia (blue-blind)
#40685C
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #406d14;
/* rgb */ color: rgb(64, 109, 20);
/* oklch */ color: oklch(48.4% 0.126 133.3);
Tailwind
colors: {
  custom: {
    50: '#79975a',
    500: '#406d14',
    950: '#000000',
  },
}
SCSS
$custom: #406d14;
$custom-light: #79975a;
$custom-dark: #000000;
JSON
{
  "hex": "#406d14",
  "rgb": {
    "r": 64,
    "g": 109,
    "b": 20
  },
  "hsl": {
    "h": 90.337,
    "s": 68.992,
    "l": 25.294
  },
  "oklch": {
    "l": 0.48402,
    "c": 0.12609,
    "h": 133.3
  },
  "luminance": 0.12078
}

Semantic roles & 50–950 ramp

primary
#406D14
secondary
#6F39A4
accent
#3CEC95
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#090D04
muted
#7B7E79

Preview Lab

Preview with #406D14

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

Preview Lab → · Contrast checker → · Palette generator →

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