#407927#407927

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

Color values

HEX#407927
RGBrgb(64, 121, 39)
HSLhsl(102, 51%, 31%)
HSVhsv(102, 68%, 47%)
CMYKcmyk(47.1%, 0%, 67.8%, 52.5%)
CIE-LABlab(45.51, -34.59, 37.91)
CIE-LCHlch(45.51, 51.32, 132.37°)
OKLaboklab(51.87% -0.0955 0.0873)
OKLCHoklch(51.87% 0.129 137.6)
XYZxyz(9.3176, 14.9106, 4.3061)
Luminance0.1491 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#407927 #602779
analogous
#697927 #407927 #277937
triadic
#407927 #274079 #792740
tetradic
#407927 #276979 #602779 #793727
square
#407927 #276979 #602779 #793727
split-complementary
#407927 #372779 #792769
monochromatic
#0F1C09 #284B18 #407927 #58A736 #76C853

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##407927#FFFFFF#000000##FFFFFF
##4079271.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)
#7D6F1C
Deuteranopia (green-blind)
#756A2E
Tritanopia (blue-blind)
#3D7568
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #407927;
/* rgb */ color: rgb(64, 121, 39);
/* oklch */ color: oklch(51.9% 0.129 137.6);
Tailwind
colors: {
  custom: {
    50: '#7aa065',
    500: '#407927',
    950: '#000000',
  },
}
SCSS
$custom: #407927;
$custom-light: #7aa065;
$custom-dark: #000000;
JSON
{
  "hex": "#407927",
  "rgb": {
    "r": 64,
    "g": 121,
    "b": 39
  },
  "hsl": {
    "h": 101.707,
    "s": 51.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.51866,
    "c": 0.12945,
    "h": 137.6
  },
  "luminance": 0.14911
}

Semantic roles & 50–950 ramp

primary
#407927
secondary
#9051AB
accent
#4DDBB0
background
#F7F9F6
surface
#EEF2EB
border
#C9CCC6
text
#0A0F06
muted
#7C7E7A

Preview Lab

Preview with #407927

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

Preview Lab → · Contrast checker → · Palette generator →

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