#408F1E#408F1E

#408F1E is a mid, vivid green. Relative luminance 0.208; OKLCH L 57.8% C 0.164 H 138.4°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#408F1E
RGBrgb(64, 143, 30)
HSLhsl(102, 65%, 34%)
HSVhsv(102, 79%, 56%)
CMYKcmyk(55.2%, 0%, 79%, 43.9%)
CIE-LABlab(52.76, -44.36, 48.86)
CIE-LCHlch(52.76, 66.00, 132.24°)
OKLaboklab(57.81% -0.1226 0.109)
OKLCHoklch(57.81% 0.164 138.4)
XYZxyz(12.1707, 20.8277, 4.6068)
Luminance0.2083 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#408F1E #6D1E8F
analogous
#798F1E #408F1E #1E8F35
triadic
#408F1E #1E408F #8F1E40
tetradic
#408F1E #1E798F #6D1E8F #8F351E
square
#408F1E #1E798F #6D1E8F #8F351E
split-complementary
#408F1E #351E8F #8F1E79
monochromatic
#132A09 #295C13 #408F1E #57C229 #78DA4E

Accessibility & contrast

On white

4.07
#408F1E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#408F1E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #408F1E
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##408F1E#FFFFFF#000000##000000
##408F1E1.004.075.175.17
#FFFFFF4.071.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#948201
Deuteranopia (green-blind)
#8A7B2B
Tritanopia (blue-blind)
#398A7A
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #408f1e;
/* rgb */ color: rgb(64, 143, 30);
/* oklch */ color: oklch(57.8% 0.164 138.4);
Tailwind
colors: {
  custom: {
    50: '#7eb063',
    500: '#408f1e',
    950: '#000000',
  },
}
SCSS
$custom: #408f1e;
$custom-light: #7eb063;
$custom-dark: #000000;
JSON
{
  "hex": "#408f1e",
  "rgb": {
    "r": 64,
    "g": 143,
    "b": 30
  },
  "hsl": {
    "h": 101.947,
    "s": 65.318,
    "l": 33.922
  },
  "oklch": {
    "l": 0.57807,
    "c": 0.16403,
    "h": 138.4
  },
  "luminance": 0.20829
}

Semantic roles & 50–950 ramp

primary
#408F1E
secondary
#9B4CBC
accent
#40E8B6
background
#F8FAF6
surface
#EFF5EB
border
#CACFC6
text
#0B1106
muted
#7C807A

Preview Lab

Preview with #408F1E

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

Preview Lab → · Contrast checker → · Palette generator →

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