#408221#408221

#408221 is a mid, vivid green. Relative luminance 0.172; OKLCH L 54.3% C 0.146 H 137.6°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#408221
RGBrgb(64, 130, 33)
HSLhsl(101, 60%, 32%)
HSVhsv(101, 75%, 51%)
CMYKcmyk(50.8%, 0%, 74.6%, 49%)
CIE-LABlab(48.47, -38.94, 43.55)
CIE-LCHlch(48.47, 58.42, 131.81°)
OKLaboklab(54.28% -0.1078 0.0983)
OKLCHoklch(54.28% 0.146 137.6)
XYZxyz(10.3712, 17.1643, 4.2051)
Luminance0.1716 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#408221 #632182
analogous
#718221 #408221 #218233
triadic
#408221 #214082 #822140
tetradic
#408221 #217182 #632182 #823321
square
#408221 #217182 #632182 #823321
split-complementary
#408221 #332182 #822171
monochromatic
#102008 #285115 #408221 #58B32D #77D24C

Accessibility & contrast

On white

4.74
#408221 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#408221 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #408221
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##408221#FFFFFF#000000##FFFFFF
##4082211.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#867710
Deuteranopia (green-blind)
#7E712B
Tritanopia (blue-blind)
#3C7D6F
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #408221;
/* rgb */ color: rgb(64, 130, 33);
/* oklch */ color: oklch(54.3% 0.146 137.6);
Tailwind
colors: {
  custom: {
    50: '#7ca763',
    500: '#408221',
    950: '#000000',
  },
}
SCSS
$custom: #408221;
$custom-light: #7ca763;
$custom-dark: #000000;
JSON
{
  "hex": "#408221",
  "rgb": {
    "r": 64,
    "g": 130,
    "b": 33
  },
  "hsl": {
    "h": 100.825,
    "s": 59.509,
    "l": 31.961
  },
  "oklch": {
    "l": 0.54277,
    "c": 0.14589,
    "h": 137.6
  },
  "luminance": 0.17165
}

Semantic roles & 50–950 ramp

primary
#408221
secondary
#934AB4
accent
#45E3B0
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A0F06
muted
#7C7F7A

Preview Lab

Preview with #408221

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

Preview Lab → · Contrast checker → · Palette generator →

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