#406715#406715

#406715 is a mid, moderate yellow-green. Relative luminance 0.108; OKLCH L 46.8% C 0.117 H 132.1°. Best body text is #FFFFFF at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#406715
RGBrgb(64, 103, 21)
HSLhsl(89, 66%, 24%)
HSVhsv(89, 80%, 40%)
CMYKcmyk(37.9%, 0%, 79.6%, 59.6%)
CIE-LABlab(39.32, -27.86, 39.08)
CIE-LCHlch(39.32, 47.99, 125.49°)
OKLaboklab(46.75% -0.0787 0.0871)
OKLCHoklch(46.75% 0.117 132.1)
XYZxyz(7.0999, 10.8443, 2.4284)
Luminance0.1085 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#406715 #3C1567
analogous
#676515 #406715 #176715
triadic
#406715 #154067 #671540
tetradic
#406715 #156765 #3C1567 #671517
square
#406715 #156765 #3C1567 #671517
split-complementary
#406715 #151767 #651567
monochromatic
#101905 #20340B #406715 #609A1F #7FCD2A

Accessibility & contrast

On white

6.63
#406715 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#406715 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #406715
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##406715#FFFFFF#000000##FFFFFF
##4067151.006.633.176.63
#FFFFFF6.631.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C5F04
Deuteranopia (green-blind)
#665C1D
Tritanopia (blue-blind)
#416257
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #406715;
/* rgb */ color: rgb(64, 103, 21);
/* oklch */ color: oklch(46.8% 0.117 132.1);
Tailwind
colors: {
  custom: {
    50: '#799259',
    500: '#406715',
    950: '#000000',
  },
}
SCSS
$custom: #406715;
$custom-light: #799259;
$custom-dark: #000000;
JSON
{
  "hex": "#406715",
  "rgb": {
    "r": 64,
    "g": 103,
    "b": 21
  },
  "hsl": {
    "h": 88.537,
    "s": 66.129,
    "l": 24.314
  },
  "oklch": {
    "l": 0.46751,
    "c": 0.11741,
    "h": 132.1
  },
  "luminance": 0.10845
}

Semantic roles & 50–950 ramp

primary
#406715
secondary
#693A9E
accent
#3FE990
background
#F7F9F5
surface
#EEF1E9
border
#C9CBC5
text
#090D04
muted
#7B7E79

Preview Lab

Preview with #406715

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

Preview Lab → · Contrast checker → · Palette generator →

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