#405229#405229

#405229 is a dark, moderate yellow-green. Relative luminance 0.073; OKLCH L 41.2% C 0.067 H 128.4°. Best body text is #FFFFFF at 8.55:1 contrast (WCAG AA passes).

Color values

HEX#405229
RGBrgb(64, 82, 41)
HSLhsl(86, 33%, 24%)
HSVhsv(86, 50%, 32%)
CMYKcmyk(22%, 0%, 50%, 67.8%)
CIE-LABlab(32.45, -15.05, 21.73)
CIE-LCHlch(32.45, 26.44, 124.71°)
OKLaboklab(41.24% -0.0417 0.0525)
OKLCHoklch(41.24% 0.067 128.4)
XYZxyz(5.5318, 7.2846, 3.2120)
Luminance0.0728 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#405229 #3B2952
analogous
#525029 #405229 #2C5229
triadic
#405229 #294052 #522940
tetradic
#405229 #295250 #3B2952 #52292C
square
#405229 #295250 #3B2952 #52292C
split-complementary
#405229 #292C52 #502952
monochromatic
#10140A #202915 #405229 #607B3D #80A452

Accessibility & contrast

On white

8.55
#405229 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#405229 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #405229
8.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##405229#FFFFFF#000000##FFFFFF
##4052291.008.552.468.55
#FFFFFF8.551.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#564D26
Deuteranopia (green-blind)
#534C2B
Tritanopia (blue-blind)
#424F48
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #405229;
/* rgb */ color: rgb(64, 82, 41);
/* oklch */ color: oklch(41.2% 0.067 128.4);
Tailwind
colors: {
  custom: {
    50: '#768263',
    500: '#405229',
    950: '#000000',
  },
}
SCSS
$custom: #405229;
$custom-light: #768263;
$custom-dark: #000000;
JSON
{
  "hex": "#405229",
  "rgb": {
    "r": 64,
    "g": 82,
    "b": 41
  },
  "hsl": {
    "h": 86.341,
    "s": 33.333,
    "l": 24.118
  },
  "oklch": {
    "l": 0.41241,
    "c": 0.06703,
    "h": 128.4
  },
  "luminance": 0.07285
}

Semantic roles & 50–950 ramp

primary
#405229
secondary
#685284
accent
#5EC98D
background
#F7F7F5
surface
#EDEEEA
border
#C8C9C6
text
#080A05
muted
#7B7C79

Preview Lab

Preview with #405229

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

Preview Lab → · Contrast checker → · Palette generator →

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