#408F2B#408F2B

#408F2B is a mid, vivid green. Relative luminance 0.209; OKLCH L 57.9% C 0.156 H 139.8°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#408F2B
RGBrgb(64, 143, 43)
HSLhsl(107, 54%, 36%)
HSVhsv(107, 70%, 56%)
CMYKcmyk(55.2%, 0%, 69.9%, 43.9%)
CIE-LABlab(52.85, -43.36, 44.02)
CIE-LCHlch(52.85, 61.79, 134.57°)
OKLaboklab(57.91% -0.1191 0.1007)
OKLCHoklch(57.91% 0.156 139.8)
XYZxyz(12.3723, 20.9083, 5.6688)
Luminance0.2091 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#408F2B #7A2B8F
analogous
#728F2B #408F2B #2B8F48
triadic
#408F2B #2B408F #8F2B40
tetradic
#408F2B #2B728F #7A2B8F #8F482B
square
#408F2B #2B728F #7A2B8F #8F482B
split-complementary
#408F2B #482B8F #8F2B72
monochromatic
#16310F #2B601D #408F2B #55BE39 #7BD064

Accessibility & contrast

On white

4.05
#408F2B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#408F2B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #408F2B
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##408F2B#FFFFFF#000000##000000
##408F2B1.004.055.185.18
#FFFFFF4.051.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#93821D
Deuteranopia (green-blind)
#897C34
Tritanopia (blue-blind)
#388A7B
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #408f2b;
/* rgb */ color: rgb(64, 143, 43);
/* oklch */ color: oklch(57.9% 0.156 139.8);
Tailwind
colors: {
  custom: {
    50: '#7db06a',
    500: '#408f2b',
    950: '#000000',
  },
}
SCSS
$custom: #408f2b;
$custom-light: #7db06a;
$custom-dark: #000000;
JSON
{
  "hex": "#408f2b",
  "rgb": {
    "r": 64,
    "g": 143,
    "b": 43
  },
  "hsl": {
    "h": 107.4,
    "s": 53.763,
    "l": 36.471
  },
  "oklch": {
    "l": 0.57909,
    "c": 0.15594,
    "h": 139.8
  },
  "luminance": 0.20909
}

Semantic roles & 50–950 ramp

primary
#408F2B
secondary
#A45FB7
accent
#4BDDBE
background
#F8FAF6
surface
#EFF5EB
border
#CACFC6
text
#0A1107
muted
#7C807A

Preview Lab

Preview with #408F2B

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

Preview Lab → · Contrast checker → · Palette generator →

#408F2B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva