#408B1E#408B1E

#408B1E is a mid, vivid green. Relative luminance 0.196; OKLCH L 56.7% C 0.159 H 138.1°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#408B1E
RGBrgb(64, 139, 30)
HSLhsl(101, 64%, 33%)
HSVhsv(101, 78%, 55%)
CMYKcmyk(54%, 0%, 78.4%, 45.5%)
CIE-LABlab(51.44, -42.80, 47.59)
CIE-LCHlch(51.44, 64.00, 131.97°)
OKLaboklab(56.72% -0.1184 0.1063)
OKLCHoklch(56.72% 0.159 138.1)
XYZxyz(11.5809, 19.6481, 4.4102)
Luminance0.1965 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#408B1E #691E8B
analogous
#768B1E #408B1E #1E8B32
triadic
#408B1E #1E408B #8B1E40
tetradic
#408B1E #1E768B #691E8B #8B321E
square
#408B1E #1E768B #691E8B #8B321E
split-complementary
#408B1E #321E8B #8B1E76
monochromatic
#122608 #295913 #408B1E #57BD29 #77D84B

Accessibility & contrast

On white

4.26
#408B1E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#408B1E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #408B1E
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##408B1E#FFFFFF#000000##000000
##408B1E1.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#907E03
Deuteranopia (green-blind)
#86782A
Tritanopia (blue-blind)
#3A8676
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #408b1e;
/* rgb */ color: rgb(64, 139, 30);
/* oklch */ color: oklch(56.7% 0.159 138.1);
Tailwind
colors: {
  custom: {
    50: '#7dad63',
    500: '#408b1e',
    950: '#000000',
  },
}
SCSS
$custom: #408b1e;
$custom-light: #7dad63;
$custom-dark: #000000;
JSON
{
  "hex": "#408b1e",
  "rgb": {
    "r": 64,
    "g": 139,
    "b": 30
  },
  "hsl": {
    "h": 101.284,
    "s": 64.497,
    "l": 33.137
  },
  "oklch": {
    "l": 0.56716,
    "c": 0.15911,
    "h": 138.1
  },
  "luminance": 0.19649
}

Semantic roles & 50–950 ramp

primary
#408B1E
secondary
#984ABB
accent
#40E7B3
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0A1006
muted
#7C7F7A

Preview Lab

Preview with #408B1E

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

Preview Lab → · Contrast checker → · Palette generator →

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