#406F15#406F15

#406F15 is a mid, vivid yellow-green. Relative luminance 0.125; OKLCH L 49.0% C 0.128 H 133.8°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#406F15
RGBrgb(64, 111, 21)
HSLhsl(91, 68%, 26%)
HSVhsv(91, 81%, 44%)
CMYKcmyk(42.3%, 0%, 81.1%, 56.5%)
CIE-LABlab(42.02, -31.57, 41.67)
CIE-LCHlch(42.02, 52.27, 127.15°)
OKLaboklab(48.96% -0.0887 0.0925)
OKLCHoklch(48.96% 0.128 133.8)
XYZxyz(7.9340, 12.5126, 2.7064)
Luminance0.1251 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#406F15 #44156F
analogous
#6D6F15 #406F15 #156F17
triadic
#406F15 #15406F #6F1540
tetradic
#406F15 #156D6F #44156F #6F1715
square
#406F15 #156D6F #44156F #6F1715
split-complementary
#406F15 #17156F #6F156D
monochromatic
#0F1A05 #223C0B #406F15 #5EA21F #7BD628

Accessibility & contrast

On white

6.00
#406F15 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#406F15 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #406F15
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##406F15#FFFFFF#000000##FFFFFF
##406F151.006.003.506.00
#FFFFFF6.001.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746600
Deuteranopia (green-blind)
#6D621F
Tritanopia (blue-blind)
#406A5E
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #406f15;
/* rgb */ color: rgb(64, 111, 21);
/* oklch */ color: oklch(49.0% 0.128 133.8);
Tailwind
colors: {
  custom: {
    50: '#7a995a',
    500: '#406f15',
    950: '#000000',
  },
}
SCSS
$custom: #406f15;
$custom-light: #7a995a;
$custom-dark: #000000;
JSON
{
  "hex": "#406f15",
  "rgb": {
    "r": 64,
    "g": 111,
    "b": 21
  },
  "hsl": {
    "h": 91.333,
    "s": 68.182,
    "l": 25.882
  },
  "oklch": {
    "l": 0.48961,
    "c": 0.1282,
    "h": 133.8
  },
  "luminance": 0.12513
}

Semantic roles & 50–950 ramp

primary
#406F15
secondary
#723AA5
accent
#3DEB98
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#0A0E04
muted
#7C7E79

Preview Lab

Preview with #406F15

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

Preview Lab → · Contrast checker → · Palette generator →

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