#407E30#407E30

#407E30 is a mid, vivid green. Relative luminance 0.162; OKLCH L 53.3% C 0.129 H 139.6°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#407E30
RGBrgb(64, 126, 48)
HSLhsl(108, 45%, 34%)
HSVhsv(108, 62%, 49%)
CMYKcmyk(49.2%, 0%, 61.9%, 50.6%)
CIE-LABlab(47.27, -35.81, 35.63)
CIE-LCHlch(47.27, 50.51, 135.15°)
OKLaboklab(53.34% -0.0982 0.0835)
OKLCHoklch(53.34% 0.129 139.6)
XYZxyz(10.1083, 16.2244, 5.3947)
Luminance0.1623 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#407E30 #6E307E
analogous
#677E30 #407E30 #307E47
triadic
#407E30 #30407E #7E3040
tetradic
#407E30 #30677E #6E307E #7E4730
square
#407E30 #30677E #6E307E #7E4730
split-complementary
#407E30 #47307E #7E3067
monochromatic
#13250E #29521F #407E30 #57AA41 #78C464

Accessibility & contrast

On white

4.95
#407E30 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#407E30 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #407E30
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##407E30#FFFFFF#000000##FFFFFF
##407E301.004.954.244.95
#FFFFFF4.951.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817328
Deuteranopia (green-blind)
#796E36
Tritanopia (blue-blind)
#3B7A6D
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #407e30;
/* rgb */ color: rgb(64, 126, 48);
/* oklch */ color: oklch(53.3% 0.129 139.6);
Tailwind
colors: {
  custom: {
    50: '#7aa46b',
    500: '#407e30',
    950: '#000000',
  },
}
SCSS
$custom: #407e30;
$custom-light: #7aa46b;
$custom-dark: #000000;
JSON
{
  "hex": "#407e30",
  "rgb": {
    "r": 64,
    "g": 126,
    "b": 48
  },
  "hsl": {
    "h": 107.692,
    "s": 44.828,
    "l": 34.118
  },
  "oklch": {
    "l": 0.53335,
    "c": 0.12893,
    "h": 139.6
  },
  "luminance": 0.16225
}

Semantic roles & 50–950 ramp

primary
#407E30
secondary
#9B5FAB
accent
#53D5BA
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A0F07
muted
#7C7F7A

Preview Lab

Preview with #407E30

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

Preview Lab → · Contrast checker → · Palette generator →

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