#408C29#408C29

#408C29 is a mid, vivid green. Relative luminance 0.200; OKLCH L 57.1% C 0.153 H 139.3°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#408C29
RGBrgb(64, 140, 41)
HSLhsl(106, 55%, 35%)
HSVhsv(106, 71%, 55%)
CMYKcmyk(54.3%, 0%, 70.7%, 45.1%)
CIE-LABlab(51.84, -42.35, 43.80)
CIE-LCHlch(51.84, 60.92, 134.03°)
OKLaboklab(57.08% -0.1164 0.1)
OKLCHoklch(57.08% 0.153 139.3)
XYZxyz(11.8922, 20.0053, 5.3321)
Luminance0.2001 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#408C29 #75298C
analogous
#718C29 #408C29 #298C44
triadic
#408C29 #29408C #8C2940
tetradic
#408C29 #29718C #75298C #8C4429
square
#408C29 #29718C #75298C #8C4429
split-complementary
#408C29 #44298C #8C2971
monochromatic
#152D0D #2A5D1B #408C29 #56BB37 #79D05F

Accessibility & contrast

On white

4.20
#408C29 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#408C29 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #408C29
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##408C29#FFFFFF#000000##000000
##408C291.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#90801A
Deuteranopia (green-blind)
#867932
Tritanopia (blue-blind)
#398778
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #408c29;
/* rgb */ color: rgb(64, 140, 41);
/* oklch */ color: oklch(57.1% 0.153 139.3);
Tailwind
colors: {
  custom: {
    50: '#7dae68',
    500: '#408c29',
    950: '#000000',
  },
}
SCSS
$custom: #408c29;
$custom-light: #7dae68;
$custom-dark: #000000;
JSON
{
  "hex": "#408c29",
  "rgb": {
    "r": 64,
    "g": 140,
    "b": 41
  },
  "hsl": {
    "h": 106.061,
    "s": 54.696,
    "l": 35.49
  },
  "oklch": {
    "l": 0.57075,
    "c": 0.15347,
    "h": 139.3
  },
  "luminance": 0.20006
}

Semantic roles & 50–950 ramp

primary
#408C29
secondary
#A15BB6
accent
#4ADEBC
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0A1006
muted
#7C7F7A

Preview Lab

Preview with #408C29

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

Preview Lab → · Contrast checker → · Palette generator →

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