#406116#406116

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

Color values

HEX#406116
RGBrgb(64, 97, 22)
HSLhsl(86, 63%, 23%)
HSVhsv(86, 77%, 38%)
CMYKcmyk(34%, 0%, 77.3%, 62%)
CIE-LABlab(37.29, -24.89, 36.71)
CIE-LCHlch(37.29, 44.35, 124.14°)
OKLaboklab(45.1% -0.0706 0.0823)
OKLCHoklch(45.1% 0.108 130.6)
XYZxyz(6.5338, 9.6971, 2.2864)
Luminance0.0970 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#406116 #371661
analogous
#615C16 #406116 #1A6116
triadic
#406116 #164061 #611640
tetradic
#406116 #16615C #371661 #61161A
square
#406116 #16615C #371661 #61161A
split-complementary
#406116 #161A61 #5C1661
monochromatic
#101906 #1F2F0B #406116 #619321 #82C52D

Accessibility & contrast

On white

7.14
#406116 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #406116
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##406116#FFFFFF#000000##FFFFFF
##4061161.007.142.947.14
#FFFFFF7.141.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#665908
Deuteranopia (green-blind)
#61571D
Tritanopia (blue-blind)
#425D52
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #406116;
/* rgb */ color: rgb(64, 97, 22);
/* oklch */ color: oklch(45.1% 0.108 130.6);
Tailwind
colors: {
  custom: {
    50: '#788e59',
    500: '#406116',
    950: '#000000',
  },
}
SCSS
$custom: #406116;
$custom-light: #788e59;
$custom-dark: #000000;
JSON
{
  "hex": "#406116",
  "rgb": {
    "r": 64,
    "g": 97,
    "b": 22
  },
  "hsl": {
    "h": 86.4,
    "s": 63.025,
    "l": 23.333
  },
  "oklch": {
    "l": 0.45103,
    "c": 0.10843,
    "h": 130.6
  },
  "luminance": 0.09697
}

Semantic roles & 50–950 ramp

primary
#406116
secondary
#643B98
accent
#42E68A
background
#F7F8F5
surface
#EDF0E9
border
#C8CBC5
text
#090C04
muted
#7B7D79

Preview Lab

Preview with #406116

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

Preview Lab → · Contrast checker → · Palette generator →

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