#408D23#408D23

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

Color values

HEX#408D23
RGBrgb(64, 141, 35)
HSLhsl(104, 60%, 35%)
HSVhsv(104, 75%, 55%)
CMYKcmyk(54.6%, 0%, 75.2%, 44.7%)
CIE-LABlab(52.13, -43.24, 46.47)
CIE-LCHlch(52.13, 63.47, 132.94°)
OKLaboklab(57.3% -0.1192 0.1047)
OKLCHoklch(57.3% 0.159 138.7)
XYZxyz(11.9421, 20.2601, 4.8711)
Luminance0.2026 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#408D23 #70238D
analogous
#758D23 #408D23 #238D3B
triadic
#408D23 #23408D #8D2340
tetradic
#408D23 #23758D #70238D #8D3B23
square
#408D23 #23758D #70238D #8D3B23
split-complementary
#408D23 #3B238D #8D2375
monochromatic
#132B0B #2A5C17 #408D23 #56BE2F #78D555

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##408D23#FFFFFF#000000##000000
##408D231.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)
#91800F
Deuteranopia (green-blind)
#887A2E
Tritanopia (blue-blind)
#398878
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #408d23;
/* rgb */ color: rgb(64, 141, 35);
/* oklch */ color: oklch(57.3% 0.159 138.7);
Tailwind
colors: {
  custom: {
    50: '#7daf65',
    500: '#408d23',
    950: '#000000',
  },
}
SCSS
$custom: #408d23;
$custom-light: #7daf65;
$custom-dark: #000000;
JSON
{
  "hex": "#408d23",
  "rgb": {
    "r": 64,
    "g": 141,
    "b": 35
  },
  "hsl": {
    "h": 103.585,
    "s": 60.227,
    "l": 34.51
  },
  "oklch": {
    "l": 0.57297,
    "c": 0.15869,
    "h": 138.7
  },
  "luminance": 0.20261
}

Semantic roles & 50–950 ramp

primary
#408D23
secondary
#9D53B9
accent
#44E3B8
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0A1006
muted
#7C7F7A

Preview Lab

Preview with #408D23

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

Preview Lab → · Contrast checker → · Palette generator →

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