#405223#405223

#405223 is a dark, moderate yellow-green. Relative luminance 0.072; OKLCH L 41.1% C 0.074 H 126.8°. Best body text is #FFFFFF at 8.57:1 contrast (WCAG AA passes).

Color values

HEX#405223
RGBrgb(64, 82, 35)
HSLhsl(83, 40%, 23%)
HSVhsv(83, 57%, 32%)
CMYKcmyk(22%, 0%, 57.3%, 67.8%)
CIE-LABlab(32.36, -15.82, 25.04)
CIE-LCHlch(32.36, 29.62, 122.28°)
OKLaboklab(41.14% -0.0443 0.0593)
OKLCHoklch(41.14% 0.074 126.8)
XYZxyz(5.4350, 7.2459, 2.7020)
Luminance0.0725 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#405223 #352352
analogous
#524C23 #405223 #285223
triadic
#405223 #234052 #522340
tetradic
#405223 #23524C #352352 #522328
square
#405223 #23524C #352352 #522328
split-complementary
#405223 #232852 #4C2352
monochromatic
#111509 #1F2711 #405223 #617D35 #83A848

Accessibility & contrast

On white

8.57
#405223 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#405223 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #405223
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##405223#FFFFFF#000000##FFFFFF
##4052231.008.572.458.57
#FFFFFF8.571.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#564D1F
Deuteranopia (green-blind)
#544C26
Tritanopia (blue-blind)
#424E47
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #405223;
/* rgb */ color: rgb(64, 82, 35);
/* oklch */ color: oklch(41.1% 0.074 126.8);
Tailwind
colors: {
  custom: {
    50: '#76825f',
    500: '#405223',
    950: '#000000',
  },
}
SCSS
$custom: #405223;
$custom-light: #76825f;
$custom-dark: #000000;
JSON
{
  "hex": "#405223",
  "rgb": {
    "r": 64,
    "g": 82,
    "b": 35
  },
  "hsl": {
    "h": 82.979,
    "s": 40.171,
    "l": 22.941
  },
  "oklch": {
    "l": 0.41144,
    "c": 0.07407,
    "h": 126.8
  },
  "luminance": 0.07246
}

Semantic roles & 50–950 ramp

primary
#405223
secondary
#624B86
accent
#58D086
background
#F7F7F5
surface
#EDEEE9
border
#C8C9C5
text
#080A05
muted
#7B7C79

Preview Lab

Preview with #405223

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

Preview Lab → · Contrast checker → · Palette generator →

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