#406B15#406B15

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

Color values

HEX#406B15
RGBrgb(64, 107, 21)
HSLhsl(90, 67%, 25%)
HSVhsv(90, 80%, 42%)
CMYKcmyk(40.2%, 0%, 80.4%, 58%)
CIE-LABlab(40.67, -29.74, 40.38)
CIE-LCHlch(40.67, 50.15, 126.37°)
OKLaboklab(47.86% -0.0838 0.0898)
OKLCHoklch(47.86% 0.123 133)
XYZxyz(7.5073, 11.6592, 2.5642)
Luminance0.1166 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#406B15 #40156B
analogous
#6B6B15 #406B15 #156B15
triadic
#406B15 #15406B #6B1540
tetradic
#406B15 #156B6B #40156B #6B1515
square
#406B15 #156B6B #40156B #6B1515
split-complementary
#406B15 #15156B #6B156B
monochromatic
#0F1A05 #21380B #406B15 #5F9E1F #7DD129

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##406B15#FFFFFF#000000##FFFFFF
##406B151.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)
#706202
Deuteranopia (green-blind)
#6A5F1E
Tritanopia (blue-blind)
#40665B
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #406b15;
/* rgb */ color: rgb(64, 107, 21);
/* oklch */ color: oklch(47.9% 0.123 133.0);
Tailwind
colors: {
  custom: {
    50: '#79955a',
    500: '#406b15',
    950: '#000000',
  },
}
SCSS
$custom: #406b15;
$custom-light: #79955a;
$custom-dark: #000000;
JSON
{
  "hex": "#406b15",
  "rgb": {
    "r": 64,
    "g": 107,
    "b": 21
  },
  "hsl": {
    "h": 90,
    "s": 67.188,
    "l": 25.098
  },
  "oklch": {
    "l": 0.47856,
    "c": 0.12284,
    "h": 133
  },
  "luminance": 0.1166
}

Semantic roles & 50–950 ramp

primary
#406B15
secondary
#6E3AA2
accent
#3EEA94
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#090D04
muted
#7B7E79

Preview Lab

Preview with #406B15

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

Preview Lab → · Contrast checker → · Palette generator →

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