#405B14#405B14

#405B14 is a dark, moderate yellow-green. Relative luminance 0.086; OKLCH L 43.4% C 0.101 H 128.4°. Best body text is #FFFFFF at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#405B14
RGBrgb(64, 91, 20)
HSLhsl(83, 64%, 22%)
HSVhsv(83, 78%, 36%)
CMYKcmyk(29.7%, 0%, 78%, 64.3%)
CIE-LABlab(35.25, -22.01, 35.49)
CIE-LCHlch(35.25, 41.76, 121.80°)
OKLaboklab(43.43% -0.0629 0.0794)
OKLCHoklch(43.43% 0.101 128.4)
XYZxyz(5.9817, 8.6225, 2.0108)
Luminance0.0862 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#405B14 #2F145B
analogous
#5B5314 #405B14 #1D5B14
triadic
#405B14 #14405B #5B1440
tetradic
#405B14 #145B53 #2F145B #5B141D
square
#405B14 #145B53 #2F145B #5B141D
split-complementary
#405B14 #141D5B #53145B
monochromatic
#121906 #1D2909 #405B14 #638D1F #87BF2A

Accessibility & contrast

On white

7.71
#405B14 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#405B14 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #405B14
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##405B14#FFFFFF#000000##FFFFFF
##405B141.007.712.727.71
#FFFFFF7.711.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#605407
Deuteranopia (green-blind)
#5C521B
Tritanopia (blue-blind)
#42574D
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #405b14;
/* rgb */ color: rgb(64, 91, 20);
/* oklch */ color: oklch(43.4% 0.101 128.4);
Tailwind
colors: {
  custom: {
    50: '#788957',
    500: '#405b14',
    950: '#000000',
  },
}
SCSS
$custom: #405b14;
$custom-light: #788957;
$custom-dark: #000000;
JSON
{
  "hex": "#405b14",
  "rgb": {
    "r": 64,
    "g": 91,
    "b": 20
  },
  "hsl": {
    "h": 82.817,
    "s": 63.964,
    "l": 21.765
  },
  "oklch": {
    "l": 0.43434,
    "c": 0.10132,
    "h": 128.4
  },
  "luminance": 0.08623
}

Semantic roles & 50–950 ramp

primary
#405B14
secondary
#5B3893
accent
#41E780
background
#F7F8F5
surface
#EDF0E9
border
#C8CBC5
text
#090B03
muted
#7B7C78

Preview Lab

Preview with #405B14

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

Preview Lab → · Contrast checker → · Palette generator →

#405B14 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva