#405F1D#405F1D

#405F1D is a dark, moderate yellow-green. Relative luminance 0.094; OKLCH L 44.6% C 0.100 H 131.0°. Best body text is #FFFFFF at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#405F1D
RGBrgb(64, 95, 29)
HSLhsl(88, 53%, 24%)
HSVhsv(88, 69%, 37%)
CMYKcmyk(32.6%, 0%, 69.5%, 62.7%)
CIE-LABlab(36.67, -23.33, 33.00)
CIE-LCHlch(36.67, 40.41, 125.26°)
OKLaboklab(44.62% -0.0657 0.0756)
OKLCHoklch(44.62% 0.1 131)
XYZxyz(6.4283, 9.3629, 2.6307)
Luminance0.0936 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#405F1D #3C1D5F
analogous
#5F5D1D #405F1D #1F5F1D
triadic
#405F1D #1D405F #5F1D40
tetradic
#405F1D #1D5F5D #3C1D5F #5F1D1F
square
#405F1D #1D5F5D #3C1D5F #5F1D1F
split-complementary
#405F1D #1D1F5F #5D1D5F
monochromatic
#101707 #20300F #405F1D #608E2B #7FBD3A

Accessibility & contrast

On white

7.31
#405F1D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#405F1D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #405F1D
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##405F1D#FFFFFF#000000##FFFFFF
##405F1D1.007.312.877.31
#FFFFFF7.311.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#635814
Deuteranopia (green-blind)
#5F5522
Tritanopia (blue-blind)
#415B51
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #405f1d;
/* rgb */ color: rgb(64, 95, 29);
/* oklch */ color: oklch(44.6% 0.100 131.0);
Tailwind
colors: {
  custom: {
    50: '#778c5d',
    500: '#405f1d',
    950: '#000000',
  },
}
SCSS
$custom: #405f1d;
$custom-light: #778c5d;
$custom-dark: #000000;
JSON
{
  "hex": "#405f1d",
  "rgb": {
    "r": 64,
    "g": 95,
    "b": 29
  },
  "hsl": {
    "h": 88.182,
    "s": 53.226,
    "l": 24.314
  },
  "oklch": {
    "l": 0.44617,
    "c": 0.10016,
    "h": 131
  },
  "luminance": 0.09363
}

Semantic roles & 50–950 ramp

primary
#405F1D
secondary
#694494
accent
#4BDD8F
background
#F7F8F5
surface
#EDF0E9
border
#C8CBC5
text
#090C04
muted
#7B7D79

Preview Lab

Preview with #405F1D

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

Preview Lab → · Contrast checker → · Palette generator →

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