#405E1E#405E1E

#405E1E is a dark, moderate yellow-green. Relative luminance 0.092; OKLCH L 44.4% C 0.098 H 130.8°. Best body text is #FFFFFF at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#405E1E
RGBrgb(64, 94, 30)
HSLhsl(88, 52%, 24%)
HSVhsv(88, 68%, 37%)
CMYKcmyk(31.9%, 0%, 68.1%, 63.1%)
CIE-LABlab(36.35, -22.73, 32.17)
CIE-LCHlch(36.35, 39.39, 125.24°)
OKLaboklab(44.35% -0.0639 0.074)
OKLCHoklch(44.35% 0.098 130.8)
XYZxyz(6.3513, 9.1889, 2.6671)
Luminance0.0919 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#405E1E #3C1E5E
analogous
#5E5C1E #405E1E #205E1E
triadic
#405E1E #1E405E #5E1E40
tetradic
#405E1E #1E5E5C #3C1E5E #5E1E20
square
#405E1E #1E5E5C #3C1E5E #5E1E20
split-complementary
#405E1E #1E205E #5C1E5E
monochromatic
#101707 #20300F #405E1E #608C2D #7FBB3C

Accessibility & contrast

On white

7.40
#405E1E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#405E1E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #405E1E
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##405E1E#FFFFFF#000000##FFFFFF
##405E1E1.007.402.847.40
#FFFFFF7.401.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#625716
Deuteranopia (green-blind)
#5E5523
Tritanopia (blue-blind)
#415A51
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #405e1e;
/* rgb */ color: rgb(64, 94, 30);
/* oklch */ color: oklch(44.4% 0.098 130.8);
Tailwind
colors: {
  custom: {
    50: '#778c5d',
    500: '#405e1e',
    950: '#000000',
  },
}
SCSS
$custom: #405e1e;
$custom-light: #778c5d;
$custom-dark: #000000;
JSON
{
  "hex": "#405e1e",
  "rgb": {
    "r": 64,
    "g": 94,
    "b": 30
  },
  "hsl": {
    "h": 88.125,
    "s": 51.613,
    "l": 24.314
  },
  "oklch": {
    "l": 0.44353,
    "c": 0.0978,
    "h": 130.8
  },
  "luminance": 0.09189
}

Semantic roles & 50–950 ramp

primary
#405E1E
secondary
#694593
accent
#4DDB8F
background
#F7F8F5
surface
#EDF0E9
border
#C8CBC5
text
#090C04
muted
#7B7D79

Preview Lab

Preview with #405E1E

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

Preview Lab → · Contrast checker → · Palette generator →

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