#405014#405014

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

Color values

HEX#405014
RGBrgb(64, 80, 20)
HSLhsl(76, 60%, 20%)
HSVhsv(76, 75%, 31%)
CMYKcmyk(20%, 0%, 75%, 68.6%)
CIE-LABlab(31.53, -16.16, 31.76)
CIE-LCHlch(31.53, 35.63, 116.96°)
OKLaboklab(40.42% -0.0469 0.0716)
OKLCHoklch(40.42% 0.086 123.2)
XYZxyz(5.1093, 6.8778, 1.7201)
Luminance0.0688 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#405014 #241450
analogous
#504214 #405014 #225014
triadic
#405014 #144050 #501440
tetradic
#405014 #145042 #241450 #501422
square
#405014 #145042 #241450 #501422
split-complementary
#405014 #142250 #421450
monochromatic
#141806 #191F08 #405014 #678120 #8EB22C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##405014#FFFFFF#000000##FFFFFF
##4050141.008.842.388.84
#FFFFFF8.841.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.841.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #405014;
/* rgb */ color: rgb(64, 80, 20);
/* oklch */ color: oklch(40.4% 0.086 123.2);
Tailwind
colors: {
  custom: {
    50: '#778156',
    500: '#405014',
    950: '#000000',
  },
}
SCSS
$custom: #405014;
$custom-light: #778156;
$custom-dark: #000000;
JSON
{
  "hex": "#405014",
  "rgb": {
    "r": 64,
    "g": 80,
    "b": 20
  },
  "hsl": {
    "h": 76,
    "s": 60,
    "l": 19.608
  },
  "oklch": {
    "l": 0.4042,
    "c": 0.08556,
    "h": 123.2
  },
  "luminance": 0.06878
}

Semantic roles & 50–950 ramp

primary
#405014
secondary
#4D3888
accent
#45E36F
background
#F7F7F5
surface
#EDEEE9
border
#C8C9C5
text
#090A03
muted
#7B7C78

Preview Lab

Preview with #405014

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

Preview Lab → · Contrast checker → · Palette generator →

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