#406617#406617

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

Color values

HEX#406617
RGBrgb(64, 102, 23)
HSLhsl(89, 63%, 25%)
HSVhsv(89, 77%, 40%)
CMYKcmyk(37.3%, 0%, 77.5%, 60%)
CIE-LABlab(38.99, -27.25, 37.99)
CIE-LCHlch(38.99, 46.75, 125.65°)
OKLaboklab(46.49% -0.0769 0.0852)
OKLCHoklch(46.49% 0.115 132.1)
XYZxyz(7.0203, 10.6543, 2.4970)
Luminance0.1066 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#406617 #3D1766
analogous
#666517 #406617 #186617
triadic
#406617 #174066 #661740
tetradic
#406617 #176665 #3D1766 #661718
square
#406617 #176665 #3D1766 #661718
split-complementary
#406617 #171866 #651766
monochromatic
#101906 #21340C #406617 #5F9822 #7FCA2E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##406617#FFFFFF#000000##FFFFFF
##4066171.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)
#6B5E08
Deuteranopia (green-blind)
#655B1F
Tritanopia (blue-blind)
#416257
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #406617;
/* rgb */ color: rgb(64, 102, 23);
/* oklch */ color: oklch(46.5% 0.115 132.1);
Tailwind
colors: {
  custom: {
    50: '#78925a',
    500: '#406617',
    950: '#000000',
  },
}
SCSS
$custom: #406617;
$custom-light: #78925a;
$custom-dark: #000000;
JSON
{
  "hex": "#406617",
  "rgb": {
    "r": 64,
    "g": 102,
    "b": 23
  },
  "hsl": {
    "h": 88.861,
    "s": 63.2,
    "l": 24.51
  },
  "oklch": {
    "l": 0.4649,
    "c": 0.11475,
    "h": 132.1
  },
  "luminance": 0.10655
}

Semantic roles & 50–950 ramp

primary
#406617
secondary
#6B3C9C
accent
#42E691
background
#F7F8F5
surface
#EEF0E9
border
#C9CBC5
text
#090D04
muted
#7B7D79

Preview Lab

Preview with #406617

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

Preview Lab → · Contrast checker → · Palette generator →

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