#408029#408029

#408029 is a mid, vivid green. Relative luminance 0.167; OKLCH L 53.8% C 0.138 H 138.5°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#408029
RGBrgb(64, 128, 41)
HSLhsl(104, 51%, 33%)
HSVhsv(104, 68%, 50%)
CMYKcmyk(50%, 0%, 68%, 49.8%)
CIE-LABlab(47.86, -37.41, 39.56)
CIE-LCHlch(47.86, 54.45, 133.40°)
OKLaboklab(53.8% -0.1031 0.0911)
OKLCHoklch(53.8% 0.138 138.5)
XYZxyz(10.2334, 16.6877, 4.7792)
Luminance0.1669 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#408029 #692980
analogous
#6B8029 #408029 #29803D
triadic
#408029 #294080 #802940
tetradic
#408029 #296B80 #692980 #803D29
square
#408029 #296B80 #692980 #803D29
split-complementary
#408029 #3D2980 #80296B
monochromatic
#12230B #29521A #408029 #57AE38 #77CA59

Accessibility & contrast

On white

4.84
#408029 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#408029 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #408029
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##408029#FFFFFF#000000##FFFFFF
##4080291.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#84751E
Deuteranopia (green-blind)
#7B7031
Tritanopia (blue-blind)
#3B7C6E
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #408029;
/* rgb */ color: rgb(64, 128, 41);
/* oklch */ color: oklch(53.8% 0.138 138.5);
Tailwind
colors: {
  custom: {
    50: '#7ba567',
    500: '#408029',
    950: '#000000',
  },
}
SCSS
$custom: #408029;
$custom-light: #7ba567;
$custom-dark: #000000;
JSON
{
  "hex": "#408029",
  "rgb": {
    "r": 64,
    "g": 128,
    "b": 41
  },
  "hsl": {
    "h": 104.138,
    "s": 51.479,
    "l": 33.137
  },
  "oklch": {
    "l": 0.53802,
    "c": 0.13753,
    "h": 138.5
  },
  "luminance": 0.16688
}

Semantic roles & 50–950 ramp

primary
#408029
secondary
#9855AF
accent
#4DDBB5
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A0F06
muted
#7C7F7A

Preview Lab

Preview with #408029

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

Preview Lab → · Contrast checker → · Palette generator →

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