#406510#406510

#406510 is a mid, moderate yellow-green. Relative luminance 0.104; OKLCH L 46.2% C 0.118 H 131.1°. Best body text is #FFFFFF at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#406510
RGBrgb(64, 101, 16)
HSLhsl(86, 73%, 23%)
HSVhsv(86, 84%, 40%)
CMYKcmyk(36.6%, 0%, 84.2%, 60.4%)
CIE-LABlab(38.61, -27.20, 40.16)
CIE-LCHlch(38.61, 48.51, 124.11°)
OKLaboklab(46.17% -0.0773 0.0885)
OKLCHoklch(46.17% 0.118 131.1)
XYZxyz(6.8615, 10.4345, 2.1426)
Luminance0.1043 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#406510 #351065
analogous
#655F10 #406510 #156510
triadic
#406510 #104065 #651040
tetradic
#406510 #10655F #351065 #651015
square
#406510 #10655F #351065 #651015
split-complementary
#406510 #101565 #5F1065
monochromatic
#111A04 #1F3008 #406510 #619A18 #83CF21

Accessibility & contrast

On white

6.80
#406510 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#406510 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #406510
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##406510#FFFFFF#000000##FFFFFF
##4065101.006.803.096.80
#FFFFFF6.801.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A5D00
Deuteranopia (green-blind)
#655A19
Tritanopia (blue-blind)
#416055
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #406510;
/* rgb */ color: rgb(64, 101, 16);
/* oklch */ color: oklch(46.2% 0.118 131.1);
Tailwind
colors: {
  custom: {
    50: '#799157',
    500: '#406510',
    950: '#000000',
  },
}
SCSS
$custom: #406510;
$custom-light: #799157;
$custom-dark: #000000;
JSON
{
  "hex": "#406510",
  "rgb": {
    "r": 64,
    "g": 101,
    "b": 16
  },
  "hsl": {
    "h": 86.118,
    "s": 72.65,
    "l": 22.941
  },
  "oklch": {
    "l": 0.46166,
    "c": 0.11753,
    "h": 131.1
  },
  "luminance": 0.10435
}

Semantic roles & 50–950 ramp

primary
#406510
secondary
#62339D
accent
#38EF88
background
#F7F8F5
surface
#EEF0E9
border
#C9CBC5
text
#090C03
muted
#7B7D78

Preview Lab

Preview with #406510

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

Preview Lab → · Contrast checker → · Palette generator →

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