#407D29#407D29

#407D29 is a mid, vivid green. Relative luminance 0.159; OKLCH L 53.0% C 0.133 H 138.3°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#407D29
RGBrgb(64, 125, 41)
HSLhsl(104, 51%, 33%)
HSVhsv(104, 67%, 49%)
CMYKcmyk(48.8%, 0%, 67.2%, 51%)
CIE-LABlab(46.87, -36.13, 38.48)
CIE-LCHlch(46.87, 52.78, 133.20°)
OKLaboklab(52.98% -0.0996 0.0888)
OKLCHoklch(52.98% 0.133 138.3)
XYZxyz(9.8479, 15.9167, 4.6507)
Luminance0.1592 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#407D29 #66297D
analogous
#6A7D29 #407D29 #297D3C
triadic
#407D29 #29407D #7D2940
tetradic
#407D29 #296A7D #66297D #7D3C29
square
#407D29 #296A7D #66297D #7D3C29
split-complementary
#407D29 #3C297D #7D296A
monochromatic
#11210B #284F1A #407D29 #58AB38 #77C858

Accessibility & contrast

On white

5.02
#407D29 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#407D29 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #407D29
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##407D29#FFFFFF#000000##FFFFFF
##407D291.005.024.185.02
#FFFFFF5.021.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#81721E
Deuteranopia (green-blind)
#796D30
Tritanopia (blue-blind)
#3C796C
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #407d29;
/* rgb */ color: rgb(64, 125, 41);
/* oklch */ color: oklch(53.0% 0.133 138.3);
Tailwind
colors: {
  custom: {
    50: '#7aa367',
    500: '#407d29',
    950: '#000000',
  },
}
SCSS
$custom: #407d29;
$custom-light: #7aa367;
$custom-dark: #000000;
JSON
{
  "hex": "#407d29",
  "rgb": {
    "r": 64,
    "g": 125,
    "b": 41
  },
  "hsl": {
    "h": 103.571,
    "s": 50.602,
    "l": 32.549
  },
  "oklch": {
    "l": 0.52982,
    "c": 0.13341,
    "h": 138.3
  },
  "luminance": 0.15917
}

Semantic roles & 50–950 ramp

primary
#407D29
secondary
#9554AE
accent
#4EDAB4
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A0F06
muted
#7C7F7A

Preview Lab

Preview with #407D29

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

Preview Lab → · Contrast checker → · Palette generator →

#407D29 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva