#408C1E#408C1E

#408C1E is a mid, vivid green. Relative luminance 0.199; OKLCH L 57.0% C 0.160 H 138.1°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#408C1E
RGBrgb(64, 140, 30)
HSLhsl(101, 65%, 33%)
HSVhsv(101, 79%, 55%)
CMYKcmyk(54.3%, 0%, 78.6%, 45.1%)
CIE-LABlab(51.77, -43.19, 47.91)
CIE-LCHlch(51.77, 64.50, 132.04°)
OKLaboklab(56.99% -0.1194 0.107)
OKLCHoklch(56.99% 0.16 138.1)
XYZxyz(11.7264, 19.9390, 4.4587)
Luminance0.1994 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#408C1E #6A1E8C
analogous
#778C1E #408C1E #1E8C33
triadic
#408C1E #1E408C #8C1E40
tetradic
#408C1E #1E778C #6A1E8C #8C331E
square
#408C1E #1E778C #6A1E8C #8C331E
split-complementary
#408C1E #331E8C #8C1E77
monochromatic
#122708 #295A13 #408C1E #57BE29 #77D94C

Accessibility & contrast

On white

4.21
#408C1E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#408C1E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #408C1E
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##408C1E#FFFFFF#000000##000000
##408C1E1.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#917F03
Deuteranopia (green-blind)
#87792A
Tritanopia (blue-blind)
#3A8777
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #408c1e;
/* rgb */ color: rgb(64, 140, 30);
/* oklch */ color: oklch(57.0% 0.160 138.1);
Tailwind
colors: {
  custom: {
    50: '#7dae63',
    500: '#408c1e',
    950: '#000000',
  },
}
SCSS
$custom: #408c1e;
$custom-light: #7dae63;
$custom-dark: #000000;
JSON
{
  "hex": "#408c1e",
  "rgb": {
    "r": 64,
    "g": 140,
    "b": 30
  },
  "hsl": {
    "h": 101.455,
    "s": 64.706,
    "l": 33.333
  },
  "oklch": {
    "l": 0.56989,
    "c": 0.16034,
    "h": 138.1
  },
  "luminance": 0.1994
}

Semantic roles & 50–950 ramp

primary
#408C1E
secondary
#984BBB
accent
#40E8B4
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0A1006
muted
#7C7F7A

Preview Lab

Preview with #408C1E

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

Preview Lab → · Contrast checker → · Palette generator →

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