#406418#406418

#406418 is a mid, moderate yellow-green. Relative luminance 0.103; OKLCH L 45.9% C 0.111 H 131.7°. Best body text is #FFFFFF at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#406418
RGBrgb(64, 100, 24)
HSLhsl(88, 61%, 24%)
HSVhsv(88, 76%, 39%)
CMYKcmyk(36%, 0%, 76%, 60.8%)
CIE-LABlab(38.32, -26.21, 36.92)
CIE-LCHlch(38.32, 45.28, 125.37°)
OKLaboklab(45.95% -0.074 0.0831)
OKLCHoklch(45.95% 0.111 131.7)
XYZxyz(6.8363, 10.2700, 2.4861)
Luminance0.1027 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#406418 #3C1864
analogous
#646218 #406418 #1A6418
triadic
#406418 #184064 #641840
tetradic
#406418 #186462 #3C1864 #64181A
square
#406418 #186462 #3C1864 #64181A
split-complementary
#406418 #181A64 #621864
monochromatic
#101906 #20330C #406418 #609524 #7FC730

Accessibility & contrast

On white

6.88
#406418 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#406418 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #406418
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##406418#FFFFFF#000000##FFFFFF
##4064181.006.883.056.88
#FFFFFF6.881.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#695C0B
Deuteranopia (green-blind)
#64591F
Tritanopia (blue-blind)
#416055
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #406418;
/* rgb */ color: rgb(64, 100, 24);
/* oklch */ color: oklch(45.9% 0.111 131.7);
Tailwind
colors: {
  custom: {
    50: '#78905a',
    500: '#406418',
    950: '#000000',
  },
}
SCSS
$custom: #406418;
$custom-light: #78905a;
$custom-dark: #000000;
JSON
{
  "hex": "#406418",
  "rgb": {
    "r": 64,
    "g": 100,
    "b": 24
  },
  "hsl": {
    "h": 88.421,
    "s": 61.29,
    "l": 24.314
  },
  "oklch": {
    "l": 0.45946,
    "c": 0.11127,
    "h": 131.7
  },
  "luminance": 0.1027
}

Semantic roles & 50–950 ramp

primary
#406418
secondary
#693E9A
accent
#43E490
background
#F7F8F5
surface
#EDF0E9
border
#C8CBC5
text
#090C04
muted
#7B7D79

Preview Lab

Preview with #406418

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

Preview Lab → · Contrast checker → · Palette generator →

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