#406514#406514

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

Color values

HEX#406514
RGBrgb(64, 101, 20)
HSLhsl(87, 67%, 24%)
HSVhsv(87, 80%, 40%)
CMYKcmyk(36.6%, 0%, 80.2%, 60.4%)
CIE-LABlab(38.63, -26.97, 38.79)
CIE-LCHlch(38.63, 47.24, 124.81°)
OKLaboklab(46.19% -0.0764 0.0863)
OKLCHoklch(46.19% 0.115 131.5)
XYZxyz(6.8942, 10.4476, 2.3150)
Luminance0.1045 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#406514 #391465
analogous
#656114 #406514 #186514
triadic
#406514 #144065 #651440
tetradic
#406514 #146561 #391465 #651418
square
#406514 #146561 #391465 #651418
split-complementary
#406514 #141865 #611465
monochromatic
#101A05 #20320A #406514 #60981E #81CB28

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##406514#FFFFFF#000000##FFFFFF
##4065141.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)
#6A5D03
Deuteranopia (green-blind)
#655A1C
Tritanopia (blue-blind)
#416056
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #406514;
/* rgb */ color: rgb(64, 101, 20);
/* oklch */ color: oklch(46.2% 0.115 131.5);
Tailwind
colors: {
  custom: {
    50: '#799158',
    500: '#406514',
    950: '#000000',
  },
}
SCSS
$custom: #406514;
$custom-light: #799158;
$custom-dark: #000000;
JSON
{
  "hex": "#406514",
  "rgb": {
    "r": 64,
    "g": 101,
    "b": 20
  },
  "hsl": {
    "h": 87.407,
    "s": 66.942,
    "l": 23.725
  },
  "oklch": {
    "l": 0.46192,
    "c": 0.11527,
    "h": 131.5
  },
  "luminance": 0.10448
}

Semantic roles & 50–950 ramp

primary
#406514
secondary
#66399C
accent
#3EEA8C
background
#F7F8F5
surface
#EEF0E9
border
#C9CBC5
text
#090C04
muted
#7B7D79

Preview Lab

Preview with #406514

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

Preview Lab → · Contrast checker → · Palette generator →

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