#408E23#408E23

#408E23 is a mid, vivid green. Relative luminance 0.206; OKLCH L 57.6% C 0.160 H 138.8°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#408E23
RGBrgb(64, 142, 35)
HSLhsl(104, 60%, 35%)
HSVhsv(104, 75%, 56%)
CMYKcmyk(54.9%, 0%, 75.4%, 44.3%)
CIE-LABlab(52.46, -43.63, 46.80)
CIE-LCHlch(52.46, 63.98, 132.99°)
OKLaboklab(57.57% -0.1203 0.1054)
OKLCHoklch(57.57% 0.16 138.8)
XYZxyz(12.0903, 20.5564, 4.9205)
Luminance0.2056 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#408E23 #71238E
analogous
#768E23 #408E23 #238E3B
triadic
#408E23 #23408E #8E2340
tetradic
#408E23 #23768E #71238E #8E3B23
square
#408E23 #23768E #71238E #8E3B23
split-complementary
#408E23 #3B238E #8E2376
monochromatic
#142C0B #2A5D17 #408E23 #56BF2F #79D556

Accessibility & contrast

On white

4.11
#408E23 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#408E23 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #408E23
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##408E23#FFFFFF#000000##000000
##408E231.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#92810E
Deuteranopia (green-blind)
#887B2E
Tritanopia (blue-blind)
#398979
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #408e23;
/* rgb */ color: rgb(64, 142, 35);
/* oklch */ color: oklch(57.6% 0.160 138.8);
Tailwind
colors: {
  custom: {
    50: '#7db065',
    500: '#408e23',
    950: '#000000',
  },
}
SCSS
$custom: #408e23;
$custom-light: #7db065;
$custom-dark: #000000;
JSON
{
  "hex": "#408e23",
  "rgb": {
    "r": 64,
    "g": 142,
    "b": 35
  },
  "hsl": {
    "h": 103.738,
    "s": 60.452,
    "l": 34.706
  },
  "oklch": {
    "l": 0.5757,
    "c": 0.15994,
    "h": 138.8
  },
  "luminance": 0.20557
}

Semantic roles & 50–950 ramp

primary
#408E23
secondary
#9E53B9
accent
#44E4B8
background
#F8FAF6
surface
#EFF5EB
border
#CACFC6
text
#0B1006
muted
#7C7F7A

Preview Lab

Preview with #408E23

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

Preview Lab → · Contrast checker → · Palette generator →

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