#408B23#408B23

#408B23 is a mid, vivid green. Relative luminance 0.197; OKLCH L 56.8% C 0.156 H 138.6°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#408B23
RGBrgb(64, 139, 35)
HSLhsl(103, 60%, 34%)
HSVhsv(103, 75%, 55%)
CMYKcmyk(54%, 0%, 74.8%, 45.5%)
CIE-LABlab(51.47, -42.44, 45.80)
CIE-LCHlch(51.47, 62.44, 132.82°)
OKLaboklab(56.75% -0.1171 0.1033)
OKLCHoklch(56.75% 0.156 138.6)
XYZxyz(11.6499, 19.6757, 4.7737)
Luminance0.1968 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#408B23 #6E238B
analogous
#748B23 #408B23 #238B3A
triadic
#408B23 #23408B #8B2340
tetradic
#408B23 #23748B #6E238B #8B3A23
square
#408B23 #23748B #6E238B #8B3A23
split-complementary
#408B23 #3A238B #8B2374
monochromatic
#13290A #295A17 #408B23 #57BC2F #78D454

Accessibility & contrast

On white

4.25
#408B23 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#408B23 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #408B23
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##408B23#FFFFFF#000000##000000
##408B231.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7F10
Deuteranopia (green-blind)
#86782D
Tritanopia (blue-blind)
#398677
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #408b23;
/* rgb */ color: rgb(64, 139, 35);
/* oklch */ color: oklch(56.8% 0.156 138.6);
Tailwind
colors: {
  custom: {
    50: '#7dad65',
    500: '#408b23',
    950: '#000000',
  },
}
SCSS
$custom: #408b23;
$custom-light: #7dad65;
$custom-dark: #000000;
JSON
{
  "hex": "#408b23",
  "rgb": {
    "r": 64,
    "g": 139,
    "b": 35
  },
  "hsl": {
    "h": 103.269,
    "s": 59.77,
    "l": 34.118
  },
  "oklch": {
    "l": 0.56752,
    "c": 0.15617,
    "h": 138.6
  },
  "luminance": 0.19677
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #408B23

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

Preview Lab → · Contrast checker → · Palette generator →

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