#405B13#405B13

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

Color values

HEX#405B13
RGBrgb(64, 91, 19)
HSLhsl(83, 65%, 22%)
HSVhsv(83, 79%, 36%)
CMYKcmyk(29.7%, 0%, 79.1%, 64.3%)
CIE-LABlab(35.24, -22.08, 35.89)
CIE-LCHlch(35.24, 42.13, 121.60°)
OKLaboklab(43.43% -0.0632 0.0801)
OKLCHoklch(43.43% 0.102 128.3)
XYZxyz(5.9730, 8.6190, 1.9649)
Luminance0.0862 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#405B13 #2E135B
analogous
#5B5213 #405B13 #1C5B13
triadic
#405B13 #13405B #5B1340
tetradic
#405B13 #135B52 #2E135B #5B131C
square
#405B13 #135B52 #2E135B #5B131C
split-complementary
#405B13 #131C5B #52135B
monochromatic
#121905 #1C2808 #405B13 #648E1E #87C028

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##405B13#FFFFFF#000000##FFFFFF
##405B131.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)
#605405
Deuteranopia (green-blind)
#5C521A
Tritanopia (blue-blind)
#42574D
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #405b13;
/* rgb */ color: rgb(64, 91, 19);
/* oklch */ color: oklch(43.4% 0.102 128.3);
Tailwind
colors: {
  custom: {
    50: '#788957',
    500: '#405b13',
    950: '#000000',
  },
}
SCSS
$custom: #405b13;
$custom-light: #788957;
$custom-dark: #000000;
JSON
{
  "hex": "#405b13",
  "rgb": {
    "r": 64,
    "g": 91,
    "b": 19
  },
  "hsl": {
    "h": 82.5,
    "s": 65.455,
    "l": 21.569
  },
  "oklch": {
    "l": 0.43426,
    "c": 0.10199,
    "h": 128.3
  },
  "luminance": 0.08619
}

Semantic roles & 50–950 ramp

primary
#405B13
secondary
#593793
accent
#3FE87F
background
#F7F8F5
surface
#EDF0E9
border
#C8CBC5
text
#090B03
muted
#7B7C78

Preview Lab

Preview with #405B13

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

Preview Lab → · Contrast checker → · Palette generator →

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