#408E1A#408E1A

#408E1A is a mid, vivid green. Relative luminance 0.205; OKLCH L 57.5% C 0.165 H 138.0°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#408E1A
RGBrgb(64, 142, 26)
HSLhsl(100, 69%, 33%)
HSVhsv(100, 82%, 56%)
CMYKcmyk(54.9%, 0%, 81.7%, 44.3%)
CIE-LABlab(52.41, -44.22, 49.81)
CIE-LCHlch(52.41, 66.61, 131.59°)
OKLaboklab(57.51% -0.1224 0.1104)
OKLCHoklch(57.51% 0.165 138)
XYZxyz(11.9734, 20.5096, 4.3049)
Luminance0.2051 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#408E1A #681A8E
analogous
#7A8E1A #408E1A #1A8E2E
triadic
#408E1A #1A408E #8E1A40
tetradic
#408E1A #1A7A8E #681A8E #8E2E1A
square
#408E1A #1A7A8E #681A8E #8E2E1A
split-complementary
#408E1A #2E1A8E #8E1A7A
monochromatic
#112707 #295A11 #408E1A #57C223 #77DD45

Accessibility & contrast

On white

4.12
#408E1A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#408E1A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #408E1A
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##408E1A#FFFFFF#000000##000000
##408E1A1.004.125.105.10
#FFFFFF4.121.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#938100
Deuteranopia (green-blind)
#897B28
Tritanopia (blue-blind)
#3A8979
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #408e1a;
/* rgb */ color: rgb(64, 142, 26);
/* oklch */ color: oklch(57.5% 0.165 138.0);
Tailwind
colors: {
  custom: {
    50: '#7eb061',
    500: '#408e1a',
    950: '#000000',
  },
}
SCSS
$custom: #408e1a;
$custom-light: #7eb061;
$custom-dark: #000000;
JSON
{
  "hex": "#408e1a",
  "rgb": {
    "r": 64,
    "g": 142,
    "b": 26
  },
  "hsl": {
    "h": 100.345,
    "s": 69.048,
    "l": 32.941
  },
  "oklch": {
    "l": 0.5751,
    "c": 0.16483,
    "h": 138
  },
  "luminance": 0.20511
}

Semantic roles & 50–950 ramp

primary
#408E1A
secondary
#9745BE
accent
#3CECB2
background
#F8FAF6
surface
#EFF5EB
border
#CACFC6
text
#0B1005
muted
#7C7F7A

Preview Lab

Preview with #408E1A

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

Preview Lab → · Contrast checker → · Palette generator →

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