#405019#405019

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

Color values

HEX#405019
RGBrgb(64, 80, 25)
HSLhsl(77, 52%, 21%)
HSVhsv(77, 69%, 31%)
CMYKcmyk(20%, 0%, 68.8%, 68.6%)
CIE-LABlab(31.57, -15.75, 29.44)
CIE-LCHlch(31.57, 33.38, 118.15°)
OKLaboklab(40.47% -0.0452 0.0675)
OKLCHoklch(40.47% 0.081 123.8)
XYZxyz(5.1585, 6.8975, 1.9791)
Luminance0.0690 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#405019 #291950
analogous
#504419 #405019 #245019
triadic
#405019 #194050 #501940
tetradic
#405019 #195044 #291950 #501924
square
#405019 #195044 #291950 #501924
split-complementary
#405019 #192450 #441950
monochromatic
#131707 #1B210A #405019 #657F28 #8BAD36

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##405019#FFFFFF#000000##FFFFFF
##4050191.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)
#554B12
Deuteranopia (green-blind)
#534A1D
Tritanopia (blue-blind)
#434C45
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #405019;
/* rgb */ color: rgb(64, 80, 25);
/* oklch */ color: oklch(40.5% 0.081 123.8);
Tailwind
colors: {
  custom: {
    50: '#778159',
    500: '#405019',
    950: '#000000',
  },
}
SCSS
$custom: #405019;
$custom-light: #778159;
$custom-dark: #000000;
JSON
{
  "hex": "#405019",
  "rgb": {
    "r": 64,
    "g": 80,
    "b": 25
  },
  "hsl": {
    "h": 77.455,
    "s": 52.381,
    "l": 20.588
  },
  "oklch": {
    "l": 0.40471,
    "c": 0.08124,
    "h": 123.8
  },
  "luminance": 0.06897
}

Semantic roles & 50–950 ramp

primary
#405019
secondary
#533E86
accent
#4CDC76
background
#F7F7F5
surface
#EDEEE9
border
#C8C9C5
text
#090A03
muted
#7B7C78

Preview Lab

Preview with #405019

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

Preview Lab → · Contrast checker → · Palette generator →

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