#405E27#405E27

#405E27 is a dark, moderate yellow-green. Relative luminance 0.092; OKLCH L 44.5% C 0.089 H 132.7°. Best body text is #FFFFFF at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#405E27
RGBrgb(64, 94, 39)
HSLhsl(93, 41%, 26%)
HSVhsv(93, 59%, 37%)
CMYKcmyk(31.9%, 0%, 58.5%, 63.1%)
CIE-LABlab(36.45, -21.77, 27.68)
CIE-LCHlch(36.45, 35.21, 128.18°)
OKLaboklab(44.47% -0.0605 0.0655)
OKLCHoklch(44.47% 0.089 132.7)
XYZxyz(6.4832, 9.2417, 3.3613)
Luminance0.0924 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#405E27 #45275E
analogous
#5B5E27 #405E27 #275E29
triadic
#405E27 #27405E #5E2740
tetradic
#405E27 #275B5E #45275E #5E2927
square
#405E27 #275B5E #45275E #5E2927
split-complementary
#405E27 #29275E #5E275B
monochromatic
#0F1609 #233315 #405E27 #5D8939 #7BB44B

Accessibility & contrast

On white

7.37
#405E27 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#405E27 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #405E27
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##405E27#FFFFFF#000000##FFFFFF
##405E271.007.372.857.37
#FFFFFF7.371.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#625722
Deuteranopia (green-blind)
#5D552B
Tritanopia (blue-blind)
#415A52
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #405e27;
/* rgb */ color: rgb(64, 94, 39);
/* oklch */ color: oklch(44.5% 0.089 132.7);
Tailwind
colors: {
  custom: {
    50: '#778c63',
    500: '#405e27',
    950: '#000000',
  },
}
SCSS
$custom: #405e27;
$custom-light: #778c63;
$custom-dark: #000000;
JSON
{
  "hex": "#405e27",
  "rgb": {
    "r": 64,
    "g": 94,
    "b": 39
  },
  "hsl": {
    "h": 92.727,
    "s": 41.353,
    "l": 26.078
  },
  "oklch": {
    "l": 0.44466,
    "c": 0.08912,
    "h": 132.7
  },
  "luminance": 0.09242
}

Semantic roles & 50–950 ramp

primary
#405E27
secondary
#735091
accent
#57D199
background
#F7F8F5
surface
#EDF0EA
border
#C8CBC6
text
#090C05
muted
#7B7D79

Preview Lab

Preview with #405E27

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

Preview Lab → · Contrast checker → · Palette generator →

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