#408129#408129

#408129 is a mid, vivid green. Relative luminance 0.170; OKLCH L 54.1% C 0.139 H 138.6°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#408129
RGBrgb(64, 129, 41)
HSLhsl(104, 52%, 33%)
HSVhsv(104, 68%, 51%)
CMYKcmyk(50.4%, 0%, 68.2%, 49.4%)
CIE-LABlab(48.20, -37.83, 39.92)
CIE-LCHlch(48.20, 55.00, 133.46°)
OKLaboklab(54.08% -0.1042 0.0918)
OKLCHoklch(54.08% 0.139 138.6)
XYZxyz(10.3645, 16.9499, 4.8229)
Luminance0.1695 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#408129 #6A2981
analogous
#6C8129 #408129 #29813E
triadic
#408129 #294081 #812940
tetradic
#408129 #296C81 #6A2981 #813E29
square
#408129 #296C81 #6A2981 #813E29
split-complementary
#408129 #3E2981 #81296C
monochromatic
#12240B #29531A #408129 #57AF38 #77CB5A

Accessibility & contrast

On white

4.78
#408129 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#408129 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #408129
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##408129#FFFFFF#000000##FFFFFF
##4081291.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#85761D
Deuteranopia (green-blind)
#7C7031
Tritanopia (blue-blind)
#3B7D6F
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #408129;
/* rgb */ color: rgb(64, 129, 41);
/* oklch */ color: oklch(54.1% 0.139 138.6);
Tailwind
colors: {
  custom: {
    50: '#7ba667',
    500: '#408129',
    950: '#000000',
  },
}
SCSS
$custom: #408129;
$custom-light: #7ba667;
$custom-dark: #000000;
JSON
{
  "hex": "#408129",
  "rgb": {
    "r": 64,
    "g": 129,
    "b": 41
  },
  "hsl": {
    "h": 104.318,
    "s": 51.765,
    "l": 33.333
  },
  "oklch": {
    "l": 0.54076,
    "c": 0.1389,
    "h": 138.6
  },
  "luminance": 0.16951
}

Semantic roles & 50–950 ramp

primary
#408129
secondary
#9856B0
accent
#4DDBB6
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A0F06
muted
#7C7F7A

Preview Lab

Preview with #408129

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

Preview Lab → · Contrast checker → · Palette generator →

#408129 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva