#408522#408522

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

Color values

HEX#408522
RGBrgb(64, 133, 34)
HSLhsl(102, 59%, 33%)
HSVhsv(102, 74%, 52%)
CMYKcmyk(51.9%, 0%, 74.4%, 47.8%)
CIE-LABlab(49.47, -40.10, 44.17)
CIE-LCHlch(49.47, 59.66, 132.23°)
OKLaboklab(55.11% -0.1108 0.0998)
OKLCHoklch(55.11% 0.149 138)
XYZxyz(10.7902, 17.9798, 4.4149)
Luminance0.1798 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#408522 #672285
analogous
#718522 #408522 #228535
triadic
#408522 #224085 #852240
tetradic
#408522 #227185 #672285 #853522
square
#408522 #227185 #672285 #853522
split-complementary
#408522 #352285 #852271
monochromatic
#112409 #295416 #408522 #57B62E #77D24F

Accessibility & contrast

On white

4.57
#408522 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##408522#FFFFFF#000000##000000
##4085221.004.574.604.60
#FFFFFF4.571.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#897910
Deuteranopia (green-blind)
#80732C
Tritanopia (blue-blind)
#3B8072
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #408522;
/* rgb */ color: rgb(64, 133, 34);
/* oklch */ color: oklch(55.1% 0.149 138.0);
Tailwind
colors: {
  custom: {
    50: '#7ca964',
    500: '#408522',
    950: '#000000',
  },
}
SCSS
$custom: #408522;
$custom-light: #7ca964;
$custom-dark: #000000;
JSON
{
  "hex": "#408522",
  "rgb": {
    "r": 64,
    "g": 133,
    "b": 34
  },
  "hsl": {
    "h": 101.818,
    "s": 59.281,
    "l": 32.745
  },
  "oklch": {
    "l": 0.55106,
    "c": 0.14914,
    "h": 138
  },
  "luminance": 0.17981
}

Semantic roles & 50–950 ramp

primary
#408522
secondary
#964DB6
accent
#45E2B3
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A1006
muted
#7C7F7A

Preview Lab

Preview with #408522

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

Preview Lab → · Contrast checker → · Palette generator →

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