#406111#406111

#406111 is a mid, moderate yellow-green. Relative luminance 0.097; OKLCH L 45.1% C 0.112 H 130.1°. Best body text is #FFFFFF at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#406111
RGBrgb(64, 97, 17)
HSLhsl(85, 70%, 22%)
HSVhsv(85, 82%, 38%)
CMYKcmyk(34%, 0%, 82.5%, 62%)
CIE-LABlab(37.26, -25.21, 38.57)
CIE-LCHlch(37.26, 46.07, 123.17°)
OKLaboklab(45.07% -0.0718 0.0854)
OKLCHoklch(45.07% 0.112 130.1)
XYZxyz(6.4902, 9.6796, 2.0566)
Luminance0.0968 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#406111 #321161
analogous
#615A11 #406111 #186111
triadic
#406111 #114061 #611140
tetradic
#406111 #11615A #321161 #611118
square
#406111 #11615A #321161 #611118
split-complementary
#406111 #111861 #5A1161
monochromatic
#111A05 #1E2D08 #406111 #62951A #85C923

Accessibility & contrast

On white

7.15
#406111 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#406111 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #406111
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##406111#FFFFFF#000000##FFFFFF
##4061111.007.152.947.15
#FFFFFF7.151.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#665900
Deuteranopia (green-blind)
#615719
Tritanopia (blue-blind)
#425C52
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #406111;
/* rgb */ color: rgb(64, 97, 17);
/* oklch */ color: oklch(45.1% 0.112 130.1);
Tailwind
colors: {
  custom: {
    50: '#788e56',
    500: '#406111',
    950: '#000000',
  },
}
SCSS
$custom: #406111;
$custom-light: #788e56;
$custom-dark: #000000;
JSON
{
  "hex": "#406111",
  "rgb": {
    "r": 64,
    "g": 97,
    "b": 17
  },
  "hsl": {
    "h": 84.75,
    "s": 70.175,
    "l": 22.353
  },
  "oklch": {
    "l": 0.45066,
    "c": 0.11157,
    "h": 130.1
  },
  "luminance": 0.0968
}

Semantic roles & 50–950 ramp

primary
#406111
secondary
#5E3499
accent
#3BED84
background
#F7F8F5
surface
#EEF0E9
border
#C9CBC5
text
#090C03
muted
#7B7D78

Preview Lab

Preview with #406111

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

Preview Lab → · Contrast checker → · Palette generator →

#406111 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva