#408A23#408A23

#408A23 is a mid, vivid green. Relative luminance 0.194; OKLCH L 56.5% C 0.155 H 138.5°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#408A23
RGBrgb(64, 138, 35)
HSLhsl(103, 60%, 34%)
HSVhsv(103, 75%, 54%)
CMYKcmyk(53.6%, 0%, 74.6%, 45.9%)
CIE-LABlab(51.14, -42.04, 45.47)
CIE-LCHlch(51.14, 61.93, 132.76°)
OKLaboklab(56.48% -0.116 0.1026)
OKLCHoklch(56.48% 0.155 138.5)
XYZxyz(11.5058, 19.3874, 4.7256)
Luminance0.1939 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#408A23 #6D238A
analogous
#748A23 #408A23 #238A3A
triadic
#408A23 #23408A #8A2340
tetradic
#408A23 #23748A #6D238A #8A3A23
square
#408A23 #23748A #6D238A #8A3A23
split-complementary
#408A23 #3A238A #8A2374
monochromatic
#13280A #295917 #408A23 #57BB2F #78D454

Accessibility & contrast

On white

4.31
#408A23 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#408A23 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #408A23
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##408A23#FFFFFF#000000##000000
##408A231.004.314.884.88
#FFFFFF4.311.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7E10
Deuteranopia (green-blind)
#85772D
Tritanopia (blue-blind)
#3A8576
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #408a23;
/* rgb */ color: rgb(64, 138, 35);
/* oklch */ color: oklch(56.5% 0.155 138.5);
Tailwind
colors: {
  custom: {
    50: '#7dad65',
    500: '#408a23',
    950: '#000000',
  },
}
SCSS
$custom: #408a23;
$custom-light: #7dad65;
$custom-dark: #000000;
JSON
{
  "hex": "#408a23",
  "rgb": {
    "r": 64,
    "g": 138,
    "b": 35
  },
  "hsl": {
    "h": 103.107,
    "s": 59.538,
    "l": 33.922
  },
  "oklch": {
    "l": 0.5648,
    "c": 0.15491,
    "h": 138.5
  },
  "luminance": 0.19388
}

Semantic roles & 50–950 ramp

primary
#408A23
secondary
#9B51B7
accent
#45E3B6
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0A1006
muted
#7C7F7A

Preview Lab

Preview with #408A23

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

Preview Lab → · Contrast checker → · Palette generator →

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