#408A1E#408A1E

#408A1E is a mid, vivid green. Relative luminance 0.194; OKLCH L 56.4% C 0.158 H 138.0°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#408A1E
RGBrgb(64, 138, 30)
HSLhsl(101, 64%, 33%)
HSVhsv(101, 78%, 54%)
CMYKcmyk(53.6%, 0%, 78.3%, 45.9%)
CIE-LABlab(51.11, -42.40, 47.26)
CIE-LCHlch(51.11, 63.50, 131.90°)
OKLaboklab(56.44% -0.1173 0.1057)
OKLCHoklch(56.44% 0.158 138)
XYZxyz(11.4368, 19.3598, 4.3622)
Luminance0.1936 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#408A1E #681E8A
analogous
#768A1E #408A1E #1E8A32
triadic
#408A1E #1E408A #8A1E40
tetradic
#408A1E #1E768A #681E8A #8A321E
square
#408A1E #1E768A #681E8A #8A321E
split-complementary
#408A1E #321E8A #8A1E76
monochromatic
#112508 #295813 #408A1E #57BC29 #77D84B

Accessibility & contrast

On white

4.31
#408A1E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#408A1E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #408A1E
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##408A1E#FFFFFF#000000##000000
##408A1E1.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7E04
Deuteranopia (green-blind)
#85772A
Tritanopia (blue-blind)
#3A8576
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #408a1e;
/* rgb */ color: rgb(64, 138, 30);
/* oklch */ color: oklch(56.4% 0.158 138.0);
Tailwind
colors: {
  custom: {
    50: '#7dad63',
    500: '#408a1e',
    950: '#000000',
  },
}
SCSS
$custom: #408a1e;
$custom-light: #7dad63;
$custom-dark: #000000;
JSON
{
  "hex": "#408a1e",
  "rgb": {
    "r": 64,
    "g": 138,
    "b": 30
  },
  "hsl": {
    "h": 101.111,
    "s": 64.286,
    "l": 32.941
  },
  "oklch": {
    "l": 0.56443,
    "c": 0.15786,
    "h": 138
  },
  "luminance": 0.19361
}

Semantic roles & 50–950 ramp

primary
#408A1E
secondary
#974ABA
accent
#41E7B3
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0A1006
muted
#7C7F7A

Preview Lab

Preview with #408A1E

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

Preview Lab → · Contrast checker → · Palette generator →

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