#406F11#406F11

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

Color values

HEX#406F11
RGBrgb(64, 111, 17)
HSLhsl(90, 73%, 25%)
HSVhsv(90, 85%, 44%)
CMYKcmyk(42.3%, 0%, 84.7%, 56.5%)
CIE-LABlab(42.00, -31.79, 42.95)
CIE-LCHlch(42.00, 53.44, 126.50°)
OKLaboklab(48.94% -0.0896 0.0946)
OKLCHoklch(48.94% 0.13 133.5)
XYZxyz(7.8998, 12.4989, 2.5265)
Luminance0.1250 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#406F11 #40116F
analogous
#6F6F11 #406F11 #116F11
triadic
#406F11 #11406F #6F1140
tetradic
#406F11 #116F6F #40116F #6F1111
square
#406F11 #116F6F #40116F #6F1111
split-complementary
#406F11 #11116F #6F116F
monochromatic
#0F1B04 #213A09 #406F11 #5FA419 #7DD921

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##406F11#FFFFFF#000000##FFFFFF
##406F111.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)
#746500
Deuteranopia (green-blind)
#6D621C
Tritanopia (blue-blind)
#406A5E
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #406f11;
/* rgb */ color: rgb(64, 111, 17);
/* oklch */ color: oklch(48.9% 0.130 133.5);
Tailwind
colors: {
  custom: {
    50: '#7a9959',
    500: '#406f11',
    950: '#000000',
  },
}
SCSS
$custom: #406f11;
$custom-light: #7a9959;
$custom-dark: #000000;
JSON
{
  "hex": "#406f11",
  "rgb": {
    "r": 64,
    "g": 111,
    "b": 17
  },
  "hsl": {
    "h": 90,
    "s": 73.438,
    "l": 25.098
  },
  "oklch": {
    "l": 0.48937,
    "c": 0.13028,
    "h": 133.5
  },
  "luminance": 0.12499
}

Semantic roles & 50–950 ramp

primary
#406F11
secondary
#6E35A6
accent
#38F094
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#0A0E04
muted
#7C7E79

Preview Lab

Preview with #406F11

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

Preview Lab → · Contrast checker → · Palette generator →

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