#405121#405121

#405121 is a dark, moderate yellow-green. Relative luminance 0.071; OKLCH L 40.8% C 0.075 H 125.8°. Best body text is #FFFFFF at 8.69:1 contrast (WCAG AA passes).

Color values

HEX#405121
RGBrgb(64, 81, 33)
HSLhsl(81, 42%, 22%)
HSVhsv(81, 59%, 32%)
CMYKcmyk(21%, 0%, 59.3%, 68.2%)
CIE-LABlab(32.00, -15.49, 25.72)
CIE-LCHlch(32.00, 30.03, 121.06°)
OKLaboklab(40.84% -0.0436 0.0606)
OKLCHoklch(40.84% 0.075 125.8)
XYZxyz(5.3313, 7.0846, 2.5251)
Luminance0.0708 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#405121 #322151
analogous
#514A21 #405121 #285121
triadic
#405121 #214051 #512140
tetradic
#405121 #21514A #322151 #512128
square
#405121 #21514A #322151 #512128
split-complementary
#405121 #212851 #4A2151
monochromatic
#111609 #1E260F #405121 #627C33 #85A844

Accessibility & contrast

On white

8.69
#405121 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#405121 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #405121
8.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##405121#FFFFFF#000000##FFFFFF
##4051211.008.692.428.69
#FFFFFF8.691.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#554C1C
Deuteranopia (green-blind)
#534B24
Tritanopia (blue-blind)
#434D46
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #405121;
/* rgb */ color: rgb(64, 81, 33);
/* oklch */ color: oklch(40.8% 0.075 125.8);
Tailwind
colors: {
  custom: {
    50: '#76825e',
    500: '#405121',
    950: '#000000',
  },
}
SCSS
$custom: #405121;
$custom-light: #76825e;
$custom-dark: #000000;
JSON
{
  "hex": "#405121",
  "rgb": {
    "r": 64,
    "g": 81,
    "b": 33
  },
  "hsl": {
    "h": 81.25,
    "s": 42.105,
    "l": 22.353
  },
  "oklch": {
    "l": 0.40844,
    "c": 0.07468,
    "h": 125.8
  },
  "luminance": 0.07085
}

Semantic roles & 50–950 ramp

primary
#405121
secondary
#5E4985
accent
#56D282
background
#F7F7F5
surface
#EDEEE9
border
#C8C9C5
text
#080A04
muted
#7B7C79

Preview Lab

Preview with #405121

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

Preview Lab → · Contrast checker → · Palette generator →

#405121 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva