#407529#407529

#407529 is a mid, vivid green. Relative luminance 0.140; OKLCH L 50.8% C 0.122 H 137.5°. Best body text is #FFFFFF at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#407529
RGBrgb(64, 117, 41)
HSLhsl(102, 48%, 31%)
HSVhsv(102, 65%, 46%)
CMYKcmyk(45.3%, 0%, 65%, 54.1%)
CIE-LABlab(44.19, -32.61, 35.53)
CIE-LCHlch(44.19, 48.23, 132.54°)
OKLaboklab(50.79% -0.09 0.0825)
OKLCHoklch(50.79% 0.122 137.5)
XYZxyz(8.8756, 13.9721, 4.3266)
Luminance0.1397 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#407529 #5E2975
analogous
#667529 #407529 #297538
triadic
#407529 #294075 #752940
tetradic
#407529 #296675 #5E2975 #753829
square
#407529 #296675 #5E2975 #753829
split-complementary
#407529 #382975 #752966
monochromatic
#0E1A09 #274819 #407529 #59A239 #76C355

Accessibility & contrast

On white

5.53
#407529 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#407529 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #407529
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##407529#FFFFFF#000000##FFFFFF
##4075291.005.533.795.53
#FFFFFF5.531.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796B20
Deuteranopia (green-blind)
#72672F
Tritanopia (blue-blind)
#3D7165
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #407529;
/* rgb */ color: rgb(64, 117, 41);
/* oklch */ color: oklch(50.8% 0.122 137.5);
Tailwind
colors: {
  custom: {
    50: '#799d66',
    500: '#407529',
    950: '#000000',
  },
}
SCSS
$custom: #407529;
$custom-light: #799d66;
$custom-dark: #000000;
JSON
{
  "hex": "#407529",
  "rgb": {
    "r": 64,
    "g": 117,
    "b": 41
  },
  "hsl": {
    "h": 101.842,
    "s": 48.101,
    "l": 30.98
  },
  "oklch": {
    "l": 0.50792,
    "c": 0.12213,
    "h": 137.5
  },
  "luminance": 0.13973
}

Semantic roles & 50–950 ramp

primary
#407529
secondary
#8D53A7
accent
#50D8AF
background
#F7F9F6
surface
#EEF2EB
border
#C9CCC6
text
#090E06
muted
#7B7E7A

Preview Lab

Preview with #407529

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

Preview Lab → · Contrast checker → · Palette generator →

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