#408528#408528

#408528 is a mid, vivid green. Relative luminance 0.180; OKLCH L 55.2% C 0.145 H 138.8°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#408528
RGBrgb(64, 133, 40)
HSLhsl(105, 54%, 34%)
HSVhsv(105, 70%, 52%)
CMYKcmyk(51.9%, 0%, 69.9%, 47.8%)
CIE-LABlab(49.52, -39.60, 41.77)
CIE-LCHlch(49.52, 57.55, 133.47°)
OKLaboklab(55.16% -0.1091 0.0956)
OKLCHoklch(55.16% 0.145 138.8)
XYZxyz(10.8845, 18.0174, 4.9112)
Luminance0.1802 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#408528 #6D2885
analogous
#6F8528 #408528 #28853F
triadic
#408528 #284085 #852840
tetradic
#408528 #286F85 #6D2885 #853F28
square
#408528 #286F85 #6D2885 #853F28
split-complementary
#408528 #3F2885 #85286F
monochromatic
#13270C #29561A #408528 #57B436 #78CD5A

Accessibility & contrast

On white

4.56
#408528 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#408528 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #408528
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##408528#FFFFFF#000000##000000
##4085281.004.564.604.60
#FFFFFF4.561.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#89791B
Deuteranopia (green-blind)
#807430
Tritanopia (blue-blind)
#3A8072
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #408528;
/* rgb */ color: rgb(64, 133, 40);
/* oklch */ color: oklch(55.2% 0.145 138.8);
Tailwind
colors: {
  custom: {
    50: '#7ca967',
    500: '#408528',
    950: '#000000',
  },
}
SCSS
$custom: #408528;
$custom-light: #7ca967;
$custom-dark: #000000;
JSON
{
  "hex": "#408528",
  "rgb": {
    "r": 64,
    "g": 133,
    "b": 40
  },
  "hsl": {
    "h": 104.516,
    "s": 53.757,
    "l": 33.922
  },
  "oklch": {
    "l": 0.55158,
    "c": 0.14502,
    "h": 138.8
  },
  "luminance": 0.18018
}

Semantic roles & 50–950 ramp

primary
#408528
secondary
#9B56B3
accent
#4BDDB7
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A1006
muted
#7C7F7A

Preview Lab

Preview with #408528

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

Preview Lab → · Contrast checker → · Palette generator →

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