#408121#408121

#408121 is a mid, vivid green. Relative luminance 0.169; OKLCH L 54.0% C 0.145 H 137.5°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#408121
RGBrgb(64, 129, 33)
HSLhsl(101, 59%, 32%)
HSVhsv(101, 74%, 51%)
CMYKcmyk(50.4%, 0%, 74.4%, 49.4%)
CIE-LABlab(48.13, -38.53, 43.21)
CIE-LCHlch(48.13, 57.89, 131.72°)
OKLaboklab(54% -0.1067 0.0976)
OKLCHoklch(54% 0.145 137.5)
XYZxyz(10.2388, 16.8996, 4.1610)
Luminance0.1690 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#408121 #622181
analogous
#708121 #408121 #218132
triadic
#408121 #214081 #812140
tetradic
#408121 #217081 #622181 #813221
square
#408121 #217081 #622181 #813221
split-complementary
#408121 #322181 #812170
monochromatic
#102008 #285015 #408121 #58B22D #77D14B

Accessibility & contrast

On white

4.79
#408121 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#408121 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #408121
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##408121#FFFFFF#000000##FFFFFF
##4081211.004.794.384.79
#FFFFFF4.791.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#857610
Deuteranopia (green-blind)
#7D702A
Tritanopia (blue-blind)
#3C7C6E
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #408121;
/* rgb */ color: rgb(64, 129, 33);
/* oklch */ color: oklch(54.0% 0.145 137.5);
Tailwind
colors: {
  custom: {
    50: '#7ba663',
    500: '#408121',
    950: '#000000',
  },
}
SCSS
$custom: #408121;
$custom-light: #7ba663;
$custom-dark: #000000;
JSON
{
  "hex": "#408121",
  "rgb": {
    "r": 64,
    "g": 129,
    "b": 33
  },
  "hsl": {
    "h": 100.625,
    "s": 59.259,
    "l": 31.765
  },
  "oklch": {
    "l": 0.54003,
    "c": 0.14459,
    "h": 137.5
  },
  "luminance": 0.169
}

Semantic roles & 50–950 ramp

primary
#408121
secondary
#924AB4
accent
#45E2B0
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A0F05
muted
#7C7F7A

Preview Lab

Preview with #408121

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

Preview Lab → · Contrast checker → · Palette generator →

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