#405013#405013

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

Color values

HEX#405013
RGBrgb(64, 80, 19)
HSLhsl(76, 62%, 19%)
HSVhsv(76, 76%, 31%)
CMYKcmyk(20%, 0%, 76.3%, 68.6%)
CIE-LABlab(31.52, -16.23, 32.20)
CIE-LCHlch(31.52, 36.06, 116.75°)
OKLaboklab(40.41% -0.0472 0.0723)
OKLCHoklch(40.41% 0.086 123.1)
XYZxyz(5.1006, 6.8743, 1.6741)
Luminance0.0687 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#405013 #231350
analogous
#504213 #405013 #225013
triadic
#405013 #134050 #501340
tetradic
#405013 #135042 #231350 #501322
square
#405013 #135042 #231350 #501322
split-complementary
#405013 #132250 #421350
monochromatic
#141906 #181F07 #405013 #68811F #8FB32A

Accessibility & contrast

On white

8.84
#405013 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #405013
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##405013#FFFFFF#000000##FFFFFF
##4050131.008.842.378.84
#FFFFFF8.841.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.841.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #405013;
/* rgb */ color: rgb(64, 80, 19);
/* oklch */ color: oklch(40.4% 0.086 123.1);
Tailwind
colors: {
  custom: {
    50: '#778155',
    500: '#405013',
    950: '#000000',
  },
}
SCSS
$custom: #405013;
$custom-light: #778155;
$custom-dark: #000000;
JSON
{
  "hex": "#405013",
  "rgb": {
    "r": 64,
    "g": 80,
    "b": 19
  },
  "hsl": {
    "h": 75.738,
    "s": 61.616,
    "l": 19.412
  },
  "oklch": {
    "l": 0.40411,
    "c": 0.08635,
    "h": 123.1
  },
  "luminance": 0.06874
}

Semantic roles & 50–950 ramp

primary
#405013
secondary
#4C3689
accent
#43E56D
background
#F7F7F5
surface
#EDEEE9
border
#C8C9C5
text
#090A03
muted
#7B7C78

Preview Lab

Preview with #405013

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

Preview Lab → · Contrast checker → · Palette generator →

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