#406B14#406B14

#406B14 is a mid, vivid yellow-green. Relative luminance 0.117; OKLCH L 47.9% C 0.123 H 132.9°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#406B14
RGBrgb(64, 107, 20)
HSLhsl(90, 69%, 25%)
HSVhsv(90, 81%, 42%)
CMYKcmyk(40.2%, 0%, 81.3%, 58%)
CIE-LABlab(40.66, -29.80, 40.73)
CIE-LCHlch(40.66, 50.46, 126.19°)
OKLaboklab(47.85% -0.084 0.0904)
OKLCHoklch(47.85% 0.123 132.9)
XYZxyz(7.4982, 11.6555, 2.5163)
Luminance0.1166 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#406B14 #3F146B
analogous
#6B6A14 #406B14 #156B14
triadic
#406B14 #14406B #6B1440
tetradic
#406B14 #146B6A #3F146B #6B1415
square
#406B14 #146B6A #3F146B #6B1415
split-complementary
#406B14 #14156B #6A146B
monochromatic
#0F1A05 #21370A #406B14 #5F9F1E #7ED227

Accessibility & contrast

On white

6.30
#406B14 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#406B14 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #406B14
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##406B14#FFFFFF#000000##FFFFFF
##406B141.006.303.336.30
#FFFFFF6.301.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#706200
Deuteranopia (green-blind)
#6A5F1D
Tritanopia (blue-blind)
#40665B
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #406b14;
/* rgb */ color: rgb(64, 107, 20);
/* oklch */ color: oklch(47.9% 0.123 132.9);
Tailwind
colors: {
  custom: {
    50: '#799559',
    500: '#406b14',
    950: '#000000',
  },
}
SCSS
$custom: #406b14;
$custom-light: #799559;
$custom-dark: #000000;
JSON
{
  "hex": "#406b14",
  "rgb": {
    "r": 64,
    "g": 107,
    "b": 20
  },
  "hsl": {
    "h": 89.655,
    "s": 68.504,
    "l": 24.902
  },
  "oklch": {
    "l": 0.4785,
    "c": 0.12342,
    "h": 132.9
  },
  "luminance": 0.11656
}

Semantic roles & 50–950 ramp

primary
#406B14
secondary
#6D39A2
accent
#3CEB93
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#090D04
muted
#7B7E79

Preview Lab

Preview with #406B14

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

Preview Lab → · Contrast checker → · Palette generator →

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