#405B30#405B30

#405B30 is a dark, moderate yellow-green. Relative luminance 0.088; OKLCH L 43.8% C 0.074 H 134.8°. Best body text is #FFFFFF at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#405B30
RGBrgb(64, 91, 48)
HSLhsl(98, 31%, 27%)
HSVhsv(98, 47%, 36%)
CMYKcmyk(29.7%, 0%, 47.3%, 64.3%)
CIE-LABlab(35.57, -18.98, 21.58)
CIE-LCHlch(35.57, 28.74, 131.33°)
OKLaboklab(43.8% -0.0521 0.0526)
OKLCHoklch(43.8% 0.074 134.8)
XYZxyz(6.3888, 8.7854, 4.1549)
Luminance0.0879 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#405B30 #4B305B
analogous
#565B30 #405B30 #305B36
triadic
#405B30 #30405B #5B3040
tetradic
#405B30 #30565B #4B305B #5B3630
square
#405B30 #30565B #4B305B #5B3630
split-complementary
#405B30 #36305B #5B3056
monochromatic
#0E140B #24331B #405B30 #5C8345 #79A95C

Accessibility & contrast

On white

7.62
#405B30 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#405B30 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #405B30
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##405B30#FFFFFF#000000##FFFFFF
##405B301.007.622.767.62
#FFFFFF7.621.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E552D
Deuteranopia (green-blind)
#5A5333
Tritanopia (blue-blind)
#405851
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #405b30;
/* rgb */ color: rgb(64, 91, 48);
/* oklch */ color: oklch(43.8% 0.074 134.8);
Tailwind
colors: {
  custom: {
    50: '#768969',
    500: '#405b30',
    950: '#000000',
  },
}
SCSS
$custom: #405b30;
$custom-light: #768969;
$custom-dark: #000000;
JSON
{
  "hex": "#405b30",
  "rgb": {
    "r": 64,
    "g": 91,
    "b": 48
  },
  "hsl": {
    "h": 97.674,
    "s": 30.935,
    "l": 27.255
  },
  "oklch": {
    "l": 0.43797,
    "c": 0.07404,
    "h": 134.8
  },
  "luminance": 0.08786
}

Semantic roles & 50–950 ramp

primary
#405B30
secondary
#7A5A8C
accent
#61C7A1
background
#F7F8F6
surface
#EDF0EB
border
#C8CBC6
text
#080B06
muted
#7B7C7A

Preview Lab

Preview with #405B30

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

Preview Lab → · Contrast checker → · Palette generator →

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