#407929#407929

#407929 is a mid, vivid green. Relative luminance 0.149; OKLCH L 51.9% C 0.128 H 137.9°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#407929
RGBrgb(64, 121, 41)
HSLhsl(103, 49%, 32%)
HSVhsv(103, 66%, 47%)
CMYKcmyk(47.1%, 0%, 66.1%, 52.5%)
CIE-LABlab(45.53, -34.39, 37.01)
CIE-LCHlch(45.53, 50.52, 132.89°)
OKLaboklab(51.89% -0.0949 0.0857)
OKLCHoklch(51.89% 0.128 137.9)
XYZxyz(9.3517, 14.9242, 4.4853)
Luminance0.1492 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#407929 #622979
analogous
#687929 #407929 #29793A
triadic
#407929 #294079 #792940
tetradic
#407929 #296879 #622979 #793A29
square
#407929 #296879 #622979 #793A29
split-complementary
#407929 #3A2979 #792968
monochromatic
#101E0A #284B1A #407929 #58A738 #77C656

Accessibility & contrast

On white

5.27
#407929 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#407929 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #407929
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##407929#FFFFFF#000000##FFFFFF
##4079291.005.273.985.27
#FFFFFF5.271.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6F1F
Deuteranopia (green-blind)
#756A30
Tritanopia (blue-blind)
#3C7568
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #407929;
/* rgb */ color: rgb(64, 121, 41);
/* oklch */ color: oklch(51.9% 0.128 137.9);
Tailwind
colors: {
  custom: {
    50: '#7aa066',
    500: '#407929',
    950: '#000000',
  },
}
SCSS
$custom: #407929;
$custom-light: #7aa066;
$custom-dark: #000000;
JSON
{
  "hex": "#407929",
  "rgb": {
    "r": 64,
    "g": 121,
    "b": 41
  },
  "hsl": {
    "h": 102.75,
    "s": 49.383,
    "l": 31.765
  },
  "oklch": {
    "l": 0.51887,
    "c": 0.12783,
    "h": 137.9
  },
  "luminance": 0.14925
}

Semantic roles & 50–950 ramp

primary
#407929
secondary
#9253AB
accent
#4FD9B1
background
#F7F9F6
surface
#EEF2EB
border
#C9CCC6
text
#0A0F06
muted
#7C7E7A

Preview Lab

Preview with #407929

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

Preview Lab → · Contrast checker → · Palette generator →

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