#408C23#408C23

#408C23 is a mid, vivid green. Relative luminance 0.200; OKLCH L 57.0% C 0.157 H 138.6°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#408C23
RGBrgb(64, 140, 35)
HSLhsl(103, 60%, 34%)
HSVhsv(103, 75%, 55%)
CMYKcmyk(54.3%, 0%, 75%, 45.1%)
CIE-LABlab(51.80, -42.84, 46.13)
CIE-LCHlch(51.80, 62.96, 132.88°)
OKLaboklab(57.03% -0.1182 0.104)
OKLCHoklch(57.03% 0.157 138.6)
XYZxyz(11.7954, 19.9666, 4.8222)
Luminance0.1997 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#408C23 #6F238C
analogous
#758C23 #408C23 #238C3B
triadic
#408C23 #23408C #8C2340
tetradic
#408C23 #23758C #6F238C #8C3B23
square
#408C23 #23758C #6F238C #8C3B23
split-complementary
#408C23 #3B238C #8C2375
monochromatic
#132A0B #2A5B17 #408C23 #56BD2F #78D455

Accessibility & contrast

On white

4.21
#408C23 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#408C23 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #408C23
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##408C23#FFFFFF#000000##000000
##408C231.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F0F
Deuteranopia (green-blind)
#87792E
Tritanopia (blue-blind)
#398778
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #408c23;
/* rgb */ color: rgb(64, 140, 35);
/* oklch */ color: oklch(57.0% 0.157 138.6);
Tailwind
colors: {
  custom: {
    50: '#7dae65',
    500: '#408c23',
    950: '#000000',
  },
}
SCSS
$custom: #408c23;
$custom-light: #7dae65;
$custom-dark: #000000;
JSON
{
  "hex": "#408c23",
  "rgb": {
    "r": 64,
    "g": 140,
    "b": 35
  },
  "hsl": {
    "h": 103.429,
    "s": 60,
    "l": 34.314
  },
  "oklch": {
    "l": 0.57025,
    "c": 0.15743,
    "h": 138.6
  },
  "luminance": 0.19968
}

Semantic roles & 50–950 ramp

primary
#408C23
secondary
#9C52B8
accent
#45E3B7
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0A1006
muted
#7C7F7A

Preview Lab

Preview with #408C23

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

Preview Lab → · Contrast checker → · Palette generator →

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