#406615#406615

#406615 is a mid, moderate yellow-green. Relative luminance 0.106; OKLCH L 46.5% C 0.116 H 131.9°. Best body text is #FFFFFF at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#406615
RGBrgb(64, 102, 21)
HSLhsl(88, 66%, 24%)
HSVhsv(88, 79%, 40%)
CMYKcmyk(37.3%, 0%, 79.4%, 60%)
CIE-LABlab(38.98, -27.38, 38.75)
CIE-LCHlch(38.98, 47.45, 125.25°)
OKLaboklab(46.48% -0.0774 0.0864)
OKLCHoklch(46.48% 0.116 131.9)
XYZxyz(7.0010, 10.6466, 2.3954)
Luminance0.1065 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#406615 #3B1566
analogous
#666415 #406615 #186615
triadic
#406615 #154066 #661540
tetradic
#406615 #156664 #3B1566 #661518
square
#406615 #156664 #3B1566 #661518
split-complementary
#406615 #151866 #641566
monochromatic
#101905 #20330B #406615 #60991F #80CC2A

Accessibility & contrast

On white

6.71
#406615 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#406615 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #406615
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##406615#FFFFFF#000000##FFFFFF
##4066151.006.713.136.71
#FFFFFF6.711.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B5E04
Deuteranopia (green-blind)
#655B1D
Tritanopia (blue-blind)
#416157
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #406615;
/* rgb */ color: rgb(64, 102, 21);
/* oklch */ color: oklch(46.5% 0.116 131.9);
Tailwind
colors: {
  custom: {
    50: '#799259',
    500: '#406615',
    950: '#000000',
  },
}
SCSS
$custom: #406615;
$custom-light: #799259;
$custom-dark: #000000;
JSON
{
  "hex": "#406615",
  "rgb": {
    "r": 64,
    "g": 102,
    "b": 21
  },
  "hsl": {
    "h": 88.148,
    "s": 65.854,
    "l": 24.118
  },
  "oklch": {
    "l": 0.46475,
    "c": 0.11603,
    "h": 131.9
  },
  "luminance": 0.10647
}

Semantic roles & 50–950 ramp

primary
#406615
secondary
#683A9D
accent
#3FE98F
background
#F7F8F5
surface
#EEF0E9
border
#C9CBC5
text
#090D04
muted
#7B7D79

Preview Lab

Preview with #406615

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

Preview Lab → · Contrast checker → · Palette generator →

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