#408D1E#408D1E

#408D1E is a mid, vivid green. Relative luminance 0.202; OKLCH L 57.3% C 0.162 H 138.2°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#408D1E
RGBrgb(64, 141, 30)
HSLhsl(102, 65%, 34%)
HSVhsv(102, 79%, 55%)
CMYKcmyk(54.6%, 0%, 78.7%, 44.7%)
CIE-LABlab(52.10, -43.59, 48.22)
CIE-LCHlch(52.10, 65.00, 132.11°)
OKLaboklab(57.26% -0.1205 0.1077)
OKLCHoklch(57.26% 0.162 138.2)
XYZxyz(11.8731, 20.2325, 4.5077)
Luminance0.2023 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#408D1E #6B1E8D
analogous
#778D1E #408D1E #1E8D34
triadic
#408D1E #1E408D #8D1E40
tetradic
#408D1E #1E778D #6B1E8D #8D341E
square
#408D1E #1E778D #6B1E8D #8D341E
split-complementary
#408D1E #341E8D #8D1E77
monochromatic
#122809 #295B13 #408D1E #57BF29 #77D94C

Accessibility & contrast

On white

4.16
#408D1E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#408D1E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #408D1E
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##408D1E#FFFFFF#000000##000000
##408D1E1.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#928002
Deuteranopia (green-blind)
#887A2A
Tritanopia (blue-blind)
#398878
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #408d1e;
/* rgb */ color: rgb(64, 141, 30);
/* oklch */ color: oklch(57.3% 0.162 138.2);
Tailwind
colors: {
  custom: {
    50: '#7daf63',
    500: '#408d1e',
    950: '#000000',
  },
}
SCSS
$custom: #408d1e;
$custom-light: #7daf63;
$custom-dark: #000000;
JSON
{
  "hex": "#408d1e",
  "rgb": {
    "r": 64,
    "g": 141,
    "b": 30
  },
  "hsl": {
    "h": 101.622,
    "s": 64.912,
    "l": 33.529
  },
  "oklch": {
    "l": 0.57262,
    "c": 0.16157,
    "h": 138.2
  },
  "luminance": 0.20233
}

Semantic roles & 50–950 ramp

primary
#408D1E
secondary
#994BBC
accent
#40E8B4
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B1006
muted
#7C7F7A

Preview Lab

Preview with #408D1E

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

Preview Lab → · Contrast checker → · Palette generator →

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