#408232#408232

#408232 is a mid, vivid green. Relative luminance 0.173; OKLCH L 54.4% C 0.133 H 140.3°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#408232
RGBrgb(64, 130, 50)
HSLhsl(110, 44%, 35%)
HSVhsv(110, 62%, 51%)
CMYKcmyk(50.8%, 0%, 61.5%, 49%)
CIE-LABlab(48.62, -37.30, 36.20)
CIE-LCHlch(48.62, 51.98, 135.86°)
OKLaboklab(54.45% -0.1022 0.0849)
OKLCHoklch(54.45% 0.133 140.3)
XYZxyz(10.6723, 17.2848, 5.7909)
Luminance0.1729 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#408232 #743282
analogous
#688232 #408232 #32824C
triadic
#408232 #324082 #823240
tetradic
#408232 #326882 #743282 #824C32
square
#408232 #326882 #743282 #824C32
split-complementary
#408232 #4C3282 #823268
monochromatic
#142A10 #2A5621 #408232 #56AE43 #79C569

Accessibility & contrast

On white

4.71
#408232 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#408232 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #408232
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##408232#FFFFFF#000000##FFFFFF
##4082321.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#857729
Deuteranopia (green-blind)
#7D7138
Tritanopia (blue-blind)
#397E71
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #408232;
/* rgb */ color: rgb(64, 130, 50);
/* oklch */ color: oklch(54.4% 0.133 140.3);
Tailwind
colors: {
  custom: {
    50: '#7ba76d',
    500: '#408232',
    950: '#000000',
  },
}
SCSS
$custom: #408232;
$custom-light: #7ba76d;
$custom-dark: #000000;
JSON
{
  "hex": "#408232",
  "rgb": {
    "r": 64,
    "g": 130,
    "b": 50
  },
  "hsl": {
    "h": 109.5,
    "s": 44.444,
    "l": 35.294
  },
  "oklch": {
    "l": 0.54449,
    "c": 0.13285,
    "h": 140.3
  },
  "luminance": 0.17286
}

Semantic roles & 50–950 ramp

primary
#408232
secondary
#A063AD
accent
#54D4BE
background
#F7FAF6
surface
#EEF4EC
border
#C9CEC7
text
#0A0F07
muted
#7C7F7A

Preview Lab

Preview with #408232

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

Preview Lab → · Contrast checker → · Palette generator →

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