#405016#405016

#405016 is a dark, moderate yellow-green. Relative luminance 0.069; OKLCH L 40.4% C 0.084 H 123.4°. Best body text is #FFFFFF at 8.83:1 contrast (WCAG AA passes).

Color values

HEX#405016
RGBrgb(64, 80, 22)
HSLhsl(77, 57%, 20%)
HSVhsv(77, 73%, 31%)
CMYKcmyk(20%, 0%, 72.5%, 68.6%)
CIE-LABlab(31.54, -16.00, 30.86)
CIE-LCHlch(31.54, 34.76, 117.41°)
OKLaboklab(40.44% -0.0462 0.07)
OKLCHoklch(40.44% 0.084 123.4)
XYZxyz(5.1279, 6.8852, 1.8177)
Luminance0.0688 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#405016 #261650
analogous
#504316 #405016 #235016
triadic
#405016 #164050 #501640
tetradic
#405016 #165043 #261650 #501623
square
#405016 #165043 #261650 #501623
split-complementary
#405016 #162350 #431650
monochromatic
#131807 #1A2009 #405016 #668023 #8DB030

Accessibility & contrast

On white

8.83
#405016 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#405016 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #405016
8.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##405016#FFFFFF#000000##FFFFFF
##4050161.008.832.388.83
#FFFFFF8.831.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#554B0E
Deuteranopia (green-blind)
#534A1A
Tritanopia (blue-blind)
#434C44
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #405016;
/* rgb */ color: rgb(64, 80, 22);
/* oklch */ color: oklch(40.4% 0.084 123.4);
Tailwind
colors: {
  custom: {
    50: '#778157',
    500: '#405016',
    950: '#000000',
  },
}
SCSS
$custom: #405016;
$custom-light: #778157;
$custom-dark: #000000;
JSON
{
  "hex": "#405016",
  "rgb": {
    "r": 64,
    "g": 80,
    "b": 22
  },
  "hsl": {
    "h": 76.552,
    "s": 56.863,
    "l": 20
  },
  "oklch": {
    "l": 0.40439,
    "c": 0.08392,
    "h": 123.4
  },
  "luminance": 0.06885
}

Semantic roles & 50–950 ramp

primary
#405016
secondary
#503A87
accent
#48E072
background
#F7F7F5
surface
#EDEEE9
border
#C8C9C5
text
#090A03
muted
#7B7C78

Preview Lab

Preview with #405016

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

Preview Lab → · Contrast checker → · Palette generator →

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