#407B29#407B29

#407B29 is a mid, vivid green. Relative luminance 0.154; OKLCH L 52.4% C 0.131 H 138.1°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#407B29
RGBrgb(64, 123, 41)
HSLhsl(103, 50%, 32%)
HSVhsv(103, 67%, 48%)
CMYKcmyk(48%, 0%, 66.7%, 51.8%)
CIE-LABlab(46.20, -35.26, 37.75)
CIE-LCHlch(46.20, 51.66, 133.05°)
OKLaboklab(52.43% -0.0972 0.0872)
OKLCHoklch(52.43% 0.131 138.1)
XYZxyz(9.5972, 15.4154, 4.5671)
Luminance0.1542 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#407B29 #64297B
analogous
#697B29 #407B29 #297B3B
triadic
#407B29 #29407B #7B2940
tetradic
#407B29 #29697B #64297B #7B3B29
square
#407B29 #29697B #64297B #7B3B29
split-complementary
#407B29 #3B297B #7B2969
monochromatic
#101F0A #284D1A #407B29 #58A938 #77C757

Accessibility & contrast

On white

5.14
#407B29 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#407B29 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #407B29
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##407B29#FFFFFF#000000##FFFFFF
##407B291.005.144.085.14
#FFFFFF5.141.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F711F
Deuteranopia (green-blind)
#776C30
Tritanopia (blue-blind)
#3C776A
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #407b29;
/* rgb */ color: rgb(64, 123, 41);
/* oklch */ color: oklch(52.4% 0.131 138.1);
Tailwind
colors: {
  custom: {
    50: '#7aa267',
    500: '#407b29',
    950: '#000000',
  },
}
SCSS
$custom: #407b29;
$custom-light: #7aa267;
$custom-dark: #000000;
JSON
{
  "hex": "#407b29",
  "rgb": {
    "r": 64,
    "g": 123,
    "b": 41
  },
  "hsl": {
    "h": 103.171,
    "s": 50,
    "l": 32.157
  },
  "oklch": {
    "l": 0.52435,
    "c": 0.13063,
    "h": 138.1
  },
  "luminance": 0.15416
}

Semantic roles & 50–950 ramp

primary
#407B29
secondary
#9353AC
accent
#4EDAB2
background
#F7FAF6
surface
#EEF3EB
border
#C9CDC6
text
#0A0F06
muted
#7C7F7A

Preview Lab

Preview with #407B29

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

Preview Lab → · Contrast checker → · Palette generator →

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