#405E30#405E30

#405E30 is a dark, moderate yellow-green. Relative luminance 0.093; OKLCH L 44.6% C 0.079 H 135.6°. Best body text is #FFFFFF at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#405E30
RGBrgb(64, 94, 48)
HSLhsl(99, 32%, 28%)
HSVhsv(99, 49%, 37%)
CMYKcmyk(31.9%, 0%, 48.9%, 63.1%)
CIE-LABlab(36.57, -20.57, 22.84)
CIE-LCHlch(36.57, 30.74, 132.00°)
OKLaboklab(44.61% -0.0565 0.0554)
OKLCHoklch(44.61% 0.079 135.6)
XYZxyz(6.6504, 9.3086, 4.2421)
Luminance0.0931 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#405E30 #4E305E
analogous
#575E30 #405E30 #305E37
triadic
#405E30 #30405E #5E3040
tetradic
#405E30 #30575E #4E305E #5E3730
square
#405E30 #30575E #4E305E #5E3730
split-complementary
#405E30 #37305E #5E3057
monochromatic
#0E140A #24351B #405E30 #5C8745 #78AC5C

Accessibility & contrast

On white

7.34
#405E30 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #405E30
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##405E30#FFFFFF#000000##FFFFFF
##405E301.007.342.867.34
#FFFFFF7.341.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#61582C
Deuteranopia (green-blind)
#5D5533
Tritanopia (blue-blind)
#405B53
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #405e30;
/* rgb */ color: rgb(64, 94, 48);
/* oklch */ color: oklch(44.6% 0.079 135.6);
Tailwind
colors: {
  custom: {
    50: '#768c69',
    500: '#405e30',
    950: '#000000',
  },
}
SCSS
$custom: #405e30;
$custom-light: #768c69;
$custom-dark: #000000;
JSON
{
  "hex": "#405e30",
  "rgb": {
    "r": 64,
    "g": 94,
    "b": 48
  },
  "hsl": {
    "h": 99.13,
    "s": 32.394,
    "l": 27.843
  },
  "oklch": {
    "l": 0.4461,
    "c": 0.07917,
    "h": 135.6
  },
  "luminance": 0.09309
}

Semantic roles & 50–950 ramp

primary
#405E30
secondary
#7D5A8F
accent
#5FC9A4
background
#F7F8F6
surface
#EDF0EB
border
#C8CBC6
text
#080C06
muted
#7B7D7A

Preview Lab

Preview with #405E30

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

Preview Lab → · Contrast checker → · Palette generator →

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