#405010#405010

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

Color values

HEX#405010
RGBrgb(64, 80, 16)
HSLhsl(75, 67%, 19%)
HSVhsv(75, 80%, 31%)
CMYKcmyk(20%, 0%, 80%, 68.6%)
CIE-LABlab(31.50, -16.43, 33.44)
CIE-LCHlch(31.50, 37.26, 116.16°)
OKLaboklab(40.39% -0.048 0.0744)
OKLCHoklch(40.39% 0.089 122.8)
XYZxyz(5.0766, 6.8647, 1.5477)
Luminance0.0687 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#405010 #201050
analogous
#504010 #405010 #205010
triadic
#405010 #104050 #501040
tetradic
#405010 #105040 #201050 #501020
square
#405010 #105040 #201050 #501020
split-complementary
#405010 #102050 #401050
monochromatic
#141A05 #171D06 #405010 #69831A #92B624

Accessibility & contrast

On white

8.85
#405010 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#405010 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #405010
8.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##405010#FFFFFF#000000##FFFFFF
##4050101.008.852.378.85
#FFFFFF8.851.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#554B05
Deuteranopia (green-blind)
#534A16
Tritanopia (blue-blind)
#444C44
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #405010;
/* rgb */ color: rgb(64, 80, 16);
/* oklch */ color: oklch(40.4% 0.089 122.8);
Tailwind
colors: {
  custom: {
    50: '#778153',
    500: '#405010',
    950: '#000000',
  },
}
SCSS
$custom: #405010;
$custom-light: #778153;
$custom-dark: #000000;
JSON
{
  "hex": "#405010",
  "rgb": {
    "r": 64,
    "g": 80,
    "b": 16
  },
  "hsl": {
    "h": 75,
    "s": 66.667,
    "l": 18.824
  },
  "oklch": {
    "l": 0.40386,
    "c": 0.08855,
    "h": 122.8
  },
  "luminance": 0.06865
}

Semantic roles & 50–950 ramp

primary
#405010
secondary
#48328A
accent
#3EEA69
background
#F7F7F4
surface
#EDEEE8
border
#C8C9C4
text
#090A03
muted
#7B7C78

Preview Lab

Preview with #405010

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

Preview Lab → · Contrast checker → · Palette generator →

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