#405F13#405F13

#405F13 is a dark, moderate yellow-green. Relative luminance 0.093; OKLCH L 44.5% C 0.108 H 129.7°. Best body text is #FFFFFF at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#405F13
RGBrgb(64, 95, 19)
HSLhsl(84, 67%, 22%)
HSVhsv(84, 80%, 37%)
CMYKcmyk(32.6%, 0%, 80%, 62.7%)
CIE-LABlab(36.60, -24.10, 37.20)
CIE-LCHlch(36.60, 44.32, 122.93°)
OKLaboklab(44.53% -0.0687 0.0828)
OKLCHoklch(44.53% 0.108 129.7)
XYZxyz(6.3241, 9.3212, 2.0819)
Luminance0.0932 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#405F13 #32135F
analogous
#5F5813 #405F13 #1A5F13
triadic
#405F13 #13405F #5F1340
tetradic
#405F13 #135F58 #32135F #5F131A
square
#405F13 #135F58 #32135F #5F131A
split-complementary
#405F13 #131A5F #58135F
monochromatic
#111A05 #1E2C09 #405F13 #62921D #85C527

Accessibility & contrast

On white

7.33
#405F13 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#405F13 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #405F13
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##405F13#FFFFFF#000000##FFFFFF
##405F131.007.332.867.33
#FFFFFF7.331.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#645804
Deuteranopia (green-blind)
#60551A
Tritanopia (blue-blind)
#425B51
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #405f13;
/* rgb */ color: rgb(64, 95, 19);
/* oklch */ color: oklch(44.5% 0.108 129.7);
Tailwind
colors: {
  custom: {
    50: '#788c57',
    500: '#405f13',
    950: '#000000',
  },
}
SCSS
$custom: #405f13;
$custom-light: #788c57;
$custom-dark: #000000;
JSON
{
  "hex": "#405f13",
  "rgb": {
    "r": 64,
    "g": 95,
    "b": 19
  },
  "hsl": {
    "h": 84.474,
    "s": 66.667,
    "l": 22.353
  },
  "oklch": {
    "l": 0.44528,
    "c": 0.1076,
    "h": 129.7
  },
  "luminance": 0.09321
}

Semantic roles & 50–950 ramp

primary
#405F13
secondary
#5E3797
accent
#3EEA84
background
#F7F8F5
surface
#EDF0E9
border
#C8CBC5
text
#090C03
muted
#7B7D78

Preview Lab

Preview with #405F13

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

Preview Lab → · Contrast checker → · Palette generator →

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