#407A29#407A29

#407A29 is a mid, vivid green. Relative luminance 0.152; OKLCH L 52.2% C 0.129 H 138.0°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#407A29
RGBrgb(64, 122, 41)
HSLhsl(103, 50%, 32%)
HSVhsv(103, 66%, 48%)
CMYKcmyk(47.5%, 0%, 66.4%, 52.2%)
CIE-LABlab(45.86, -34.83, 37.38)
CIE-LCHlch(45.86, 51.09, 132.97°)
OKLaboklab(52.16% -0.096 0.0865)
OKLCHoklch(52.16% 0.129 138)
XYZxyz(9.4738, 15.1685, 4.5260)
Luminance0.1517 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#407A29 #63297A
analogous
#697A29 #407A29 #297A3B
triadic
#407A29 #29407A #7A2940
tetradic
#407A29 #29697A #63297A #7A3B29
square
#407A29 #29697A #63297A #7A3B29
split-complementary
#407A29 #3B297A #7A2969
monochromatic
#101E0A #284C1A #407A29 #58A838 #77C757

Accessibility & contrast

On white

5.21
#407A29 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#407A29 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #407A29
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##407A29#FFFFFF#000000##FFFFFF
##407A291.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E701F
Deuteranopia (green-blind)
#766B30
Tritanopia (blue-blind)
#3C7669
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #407a29;
/* rgb */ color: rgb(64, 122, 41);
/* oklch */ color: oklch(52.2% 0.129 138.0);
Tailwind
colors: {
  custom: {
    50: '#7aa167',
    500: '#407a29',
    950: '#000000',
  },
}
SCSS
$custom: #407a29;
$custom-light: #7aa167;
$custom-dark: #000000;
JSON
{
  "hex": "#407a29",
  "rgb": {
    "r": 64,
    "g": 122,
    "b": 41
  },
  "hsl": {
    "h": 102.963,
    "s": 49.693,
    "l": 31.961
  },
  "oklch": {
    "l": 0.52161,
    "c": 0.12923,
    "h": 138
  },
  "luminance": 0.15169
}

Semantic roles & 50–950 ramp

primary
#407A29
secondary
#9353AC
accent
#4FD9B2
background
#F7F9F6
surface
#EEF2EB
border
#C9CCC6
text
#0A0F06
muted
#7C7E7A

Preview Lab

Preview with #407A29

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

Preview Lab → · Contrast checker → · Palette generator →

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