#408C2E#408C2E

#408C2E is a mid, vivid green. Relative luminance 0.200; OKLCH L 57.1% C 0.150 H 140.1°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#408C2E
RGBrgb(64, 140, 46)
HSLhsl(109, 51%, 36%)
HSVhsv(109, 67%, 55%)
CMYKcmyk(54.3%, 0%, 67.1%, 45.1%)
CIE-LABlab(51.89, -41.88, 41.70)
CIE-LCHlch(51.89, 59.10, 135.12°)
OKLaboklab(57.12% -0.1148 0.0962)
OKLCHoklch(57.12% 0.15 140.1)
XYZxyz(11.9851, 20.0425, 5.8213)
Luminance0.2004 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#408C2E #7A2E8C
analogous
#6F8C2E #408C2E #2E8C4B
triadic
#408C2E #2E408C #8C2E40
tetradic
#408C2E #2E6F8C #7A2E8C #8C4B2E
square
#408C2E #2E6F8C #7A2E8C #8C4B2E
split-complementary
#408C2E #4B2E8C #8C2E6F
monochromatic
#163010 #2B5E1F #408C2E #55BA3D #7BCD67

Accessibility & contrast

On white

4.19
#408C2E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#408C2E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #408C2E
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##408C2E#FFFFFF#000000##000000
##408C2E1.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#908022
Deuteranopia (green-blind)
#867936
Tritanopia (blue-blind)
#388779
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #408c2e;
/* rgb */ color: rgb(64, 140, 46);
/* oklch */ color: oklch(57.1% 0.150 140.1);
Tailwind
colors: {
  custom: {
    50: '#7cae6b',
    500: '#408c2e',
    950: '#000000',
  },
}
SCSS
$custom: #408c2e;
$custom-light: #7cae6b;
$custom-dark: #000000;
JSON
{
  "hex": "#408c2e",
  "rgb": {
    "r": 64,
    "g": 140,
    "b": 46
  },
  "hsl": {
    "h": 108.511,
    "s": 50.538,
    "l": 36.471
  },
  "oklch": {
    "l": 0.57123,
    "c": 0.14981,
    "h": 140.1
  },
  "luminance": 0.20043
}

Semantic roles & 50–950 ramp

primary
#408C2E
secondary
#A462B4
accent
#4EDABF
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A1007
muted
#7C7F7A

Preview Lab

Preview with #408C2E

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

Preview Lab → · Contrast checker → · Palette generator →

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