#407E29#407E29

#407E29 is a mid, vivid green. Relative luminance 0.162; OKLCH L 53.3% C 0.135 H 138.4°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#407E29
RGBrgb(64, 126, 41)
HSLhsl(104, 51%, 33%)
HSVhsv(104, 67%, 49%)
CMYKcmyk(49.2%, 0%, 67.5%, 50.6%)
CIE-LABlab(47.20, -36.56, 38.84)
CIE-LCHlch(47.20, 53.34, 133.27°)
OKLaboklab(53.26% -0.1008 0.0895)
OKLCHoklch(53.26% 0.135 138.4)
XYZxyz(9.9751, 16.1711, 4.6931)
Luminance0.1617 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#407E29 #67297E
analogous
#6A7E29 #407E29 #297E3D
triadic
#407E29 #29407E #7E2940
tetradic
#407E29 #296A7E #67297E #7E3D29
square
#407E29 #296A7E #67297E #7E3D29
split-complementary
#407E29 #3D297E #7E296A
monochromatic
#11220B #29501A #407E29 #57AC38 #77C959

Accessibility & contrast

On white

4.96
#407E29 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#407E29 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #407E29
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##407E29#FFFFFF#000000##FFFFFF
##407E291.004.964.234.96
#FFFFFF4.961.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#82731E
Deuteranopia (green-blind)
#7A6E30
Tritanopia (blue-blind)
#3B7A6C
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #407e29;
/* rgb */ color: rgb(64, 126, 41);
/* oklch */ color: oklch(53.3% 0.135 138.4);
Tailwind
colors: {
  custom: {
    50: '#7ba467',
    500: '#407e29',
    950: '#000000',
  },
}
SCSS
$custom: #407e29;
$custom-light: #7ba467;
$custom-dark: #000000;
JSON
{
  "hex": "#407e29",
  "rgb": {
    "r": 64,
    "g": 126,
    "b": 41
  },
  "hsl": {
    "h": 103.765,
    "s": 50.898,
    "l": 32.745
  },
  "oklch": {
    "l": 0.53256,
    "c": 0.1348,
    "h": 138.4
  },
  "luminance": 0.16172
}

Semantic roles & 50–950 ramp

primary
#407E29
secondary
#9655AE
accent
#4DDAB4
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A0F06
muted
#7C7F7A

Preview Lab

Preview with #407E29

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

Preview Lab → · Contrast checker → · Palette generator →

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