#406E15#406E15

#406E15 is a mid, vivid yellow-green. Relative luminance 0.123; OKLCH L 48.7% C 0.127 H 133.6°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#406E15
RGBrgb(64, 110, 21)
HSLhsl(91, 68%, 26%)
HSVhsv(91, 81%, 43%)
CMYKcmyk(41.8%, 0%, 80.9%, 56.9%)
CIE-LABlab(41.68, -31.11, 41.34)
CIE-LCHlch(41.68, 51.74, 126.96°)
OKLaboklab(48.69% -0.0875 0.0919)
OKLCHoklch(48.69% 0.127 133.6)
XYZxyz(7.8255, 12.2956, 2.6703)
Luminance0.1230 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#406E15 #43156E
analogous
#6C6E15 #406E15 #156E16
triadic
#406E15 #15406E #6E1540
tetradic
#406E15 #156C6E #43156E #6E1615
square
#406E15 #156C6E #43156E #6E1615
split-complementary
#406E15 #16156E #6E156C
monochromatic
#0F1A05 #223B0B #406E15 #5EA11F #7CD529

Accessibility & contrast

On white

6.07
#406E15 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#406E15 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #406E15
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##406E15#FFFFFF#000000##FFFFFF
##406E151.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736501
Deuteranopia (green-blind)
#6C611F
Tritanopia (blue-blind)
#40695D
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #406e15;
/* rgb */ color: rgb(64, 110, 21);
/* oklch */ color: oklch(48.7% 0.127 133.6);
Tailwind
colors: {
  custom: {
    50: '#79985a',
    500: '#406e15',
    950: '#000000',
  },
}
SCSS
$custom: #406e15;
$custom-light: #79985a;
$custom-dark: #000000;
JSON
{
  "hex": "#406e15",
  "rgb": {
    "r": 64,
    "g": 110,
    "b": 21
  },
  "hsl": {
    "h": 91.011,
    "s": 67.939,
    "l": 25.686
  },
  "oklch": {
    "l": 0.48685,
    "c": 0.12686,
    "h": 133.6
  },
  "luminance": 0.12296
}

Semantic roles & 50–950 ramp

primary
#406E15
secondary
#713AA4
accent
#3DEB97
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#090D04
muted
#7B7E79

Preview Lab

Preview with #406E15

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

Preview Lab → · Contrast checker → · Palette generator →

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