#407E24#407E24

#407E24 is a mid, vivid green. Relative luminance 0.161; OKLCH L 53.2% C 0.139 H 137.6°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#407E24
RGBrgb(64, 126, 36)
HSLhsl(101, 56%, 32%)
HSVhsv(101, 71%, 49%)
CMYKcmyk(49.2%, 0%, 71.4%, 50.6%)
CIE-LABlab(47.16, -37.02, 40.98)
CIE-LCHlch(47.16, 55.23, 132.10°)
OKLaboklab(53.21% -0.1024 0.0934)
OKLCHoklch(53.21% 0.139 137.6)
XYZxyz(9.8933, 16.1384, 4.2624)
Luminance0.1614 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#407E24 #62247E
analogous
#6D7E24 #407E24 #247E35
triadic
#407E24 #24407E #7E2440
tetradic
#407E24 #246D7E #62247E #7E3524
square
#407E24 #246D7E #62247E #7E3524
split-complementary
#407E24 #35247E #7E246D
monochromatic
#101F09 #284E16 #407E24 #58AE32 #77CD50

Accessibility & contrast

On white

4.97
#407E24 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #407E24
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##407E24#FFFFFF#000000##FFFFFF
##407E241.004.974.234.97
#FFFFFF4.971.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827317
Deuteranopia (green-blind)
#7A6E2C
Tritanopia (blue-blind)
#3C796C
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #407e24;
/* rgb */ color: rgb(64, 126, 36);
/* oklch */ color: oklch(53.2% 0.139 137.6);
Tailwind
colors: {
  custom: {
    50: '#7ba464',
    500: '#407e24',
    950: '#000000',
  },
}
SCSS
$custom: #407e24;
$custom-light: #7ba464;
$custom-dark: #000000;
JSON
{
  "hex": "#407e24",
  "rgb": {
    "r": 64,
    "g": 126,
    "b": 36
  },
  "hsl": {
    "h": 101.333,
    "s": 55.556,
    "l": 31.765
  },
  "oklch": {
    "l": 0.53207,
    "c": 0.13857,
    "h": 137.6
  },
  "luminance": 0.16139
}

Semantic roles & 50–950 ramp

primary
#407E24
secondary
#924EB0
accent
#49DFB0
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A0F06
muted
#7C7F7A

Preview Lab

Preview with #407E24

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

Preview Lab → · Contrast checker → · Palette generator →

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