#406415#406415

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

Color values

HEX#406415
RGBrgb(64, 100, 21)
HSLhsl(87, 65%, 24%)
HSVhsv(87, 79%, 39%)
CMYKcmyk(36%, 0%, 79%, 60.8%)
CIE-LABlab(38.30, -26.42, 38.09)
CIE-LCHlch(38.30, 46.36, 124.75°)
OKLaboklab(45.92% -0.0748 0.085)
OKLCHoklch(45.92% 0.113 131.3)
XYZxyz(6.8068, 10.2582, 2.3307)
Luminance0.1026 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#406415 #391564
analogous
#646015 #406415 #186415
triadic
#406415 #154064 #641540
tetradic
#406415 #156460 #391564 #641518
square
#406415 #156460 #391564 #641518
split-complementary
#406415 #151864 #601564
monochromatic
#101905 #20310A #406415 #609720 #81C92A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##406415#FFFFFF#000000##FFFFFF
##4064151.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)
#695C05
Deuteranopia (green-blind)
#64591D
Tritanopia (blue-blind)
#416055
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #406415;
/* rgb */ color: rgb(64, 100, 21);
/* oklch */ color: oklch(45.9% 0.113 131.3);
Tailwind
colors: {
  custom: {
    50: '#789059',
    500: '#406415',
    950: '#000000',
  },
}
SCSS
$custom: #406415;
$custom-light: #789059;
$custom-dark: #000000;
JSON
{
  "hex": "#406415",
  "rgb": {
    "r": 64,
    "g": 100,
    "b": 21
  },
  "hsl": {
    "h": 87.342,
    "s": 65.289,
    "l": 23.725
  },
  "oklch": {
    "l": 0.45923,
    "c": 0.11328,
    "h": 131.3
  },
  "luminance": 0.10258
}

Semantic roles & 50–950 ramp

primary
#406415
secondary
#663A9B
accent
#40E88C
background
#F7F8F5
surface
#EEF0E9
border
#C9CBC5
text
#090C04
muted
#7B7D79

Preview Lab

Preview with #406415

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

Preview Lab → · Contrast checker → · Palette generator →

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