#406015#406015

#406015 is a dark, moderate yellow-green. Relative luminance 0.095; OKLCH L 44.8% C 0.108 H 130.2°. Best body text is #FFFFFF at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#406015
RGBrgb(64, 96, 21)
HSLhsl(86, 64%, 23%)
HSVhsv(86, 78%, 38%)
CMYKcmyk(33.3%, 0%, 78.1%, 62.4%)
CIE-LABlab(36.95, -24.46, 36.77)
CIE-LCHlch(36.95, 44.16, 123.64°)
OKLaboklab(44.82% -0.0695 0.0823)
OKLCHoklch(44.82% 0.108 130.2)
XYZxyz(6.4325, 9.5097, 2.2060)
Luminance0.0951 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#406015 #351560
analogous
#605A15 #406015 #1A6015
triadic
#406015 #154060 #601540
tetradic
#406015 #15605A #351560 #60151A
square
#406015 #15605A #351560 #60151A
split-complementary
#406015 #151A60 #5A1560
monochromatic
#111905 #1F2E0A #406015 #619220 #83C42B

Accessibility & contrast

On white

7.24
#406015 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#406015 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #406015
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##406015#FFFFFF#000000##FFFFFF
##4060151.007.242.907.24
#FFFFFF7.241.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#655807
Deuteranopia (green-blind)
#60561C
Tritanopia (blue-blind)
#425C52
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #406015;
/* rgb */ color: rgb(64, 96, 21);
/* oklch */ color: oklch(44.8% 0.108 130.2);
Tailwind
colors: {
  custom: {
    50: '#788d58',
    500: '#406015',
    950: '#000000',
  },
}
SCSS
$custom: #406015;
$custom-light: #788d58;
$custom-dark: #000000;
JSON
{
  "hex": "#406015",
  "rgb": {
    "r": 64,
    "g": 96,
    "b": 21
  },
  "hsl": {
    "h": 85.6,
    "s": 64.103,
    "l": 22.941
  },
  "oklch": {
    "l": 0.44819,
    "c": 0.1077,
    "h": 130.2
  },
  "luminance": 0.0951
}

Semantic roles & 50–950 ramp

primary
#406015
secondary
#623A97
accent
#41E788
background
#F7F8F5
surface
#EDF0E9
border
#C8CBC5
text
#090C04
muted
#7B7D79

Preview Lab

Preview with #406015

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

Preview Lab → · Contrast checker → · Palette generator →

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