#407D30#407D30

#407D30 is a mid, vivid green. Relative luminance 0.160; OKLCH L 53.1% C 0.127 H 139.6°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#407D30
RGBrgb(64, 125, 48)
HSLhsl(108, 45%, 34%)
HSVhsv(108, 62%, 49%)
CMYKcmyk(48.8%, 0%, 61.6%, 51%)
CIE-LABlab(46.94, -35.38, 35.24)
CIE-LCHlch(46.94, 49.94, 135.11°)
OKLaboklab(53.06% -0.0971 0.0827)
OKLCHoklch(53.06% 0.127 139.6)
XYZxyz(9.9811, 15.9699, 5.3523)
Luminance0.1597 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#407D30 #6D307D
analogous
#677D30 #407D30 #307D47
triadic
#407D30 #30407D #7D3040
tetradic
#407D30 #30677D #6D307D #7D4730
square
#407D30 #30677D #6D307D #7D4730
split-complementary
#407D30 #47307D #7D3067
monochromatic
#13250E #29511F #407D30 #57A941 #78C364

Accessibility & contrast

On white

5.01
#407D30 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#407D30 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #407D30
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##407D30#FFFFFF#000000##FFFFFF
##407D301.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807328
Deuteranopia (green-blind)
#786D36
Tritanopia (blue-blind)
#3B796C
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #407d30;
/* rgb */ color: rgb(64, 125, 48);
/* oklch */ color: oklch(53.1% 0.127 139.6);
Tailwind
colors: {
  custom: {
    50: '#7aa36b',
    500: '#407d30',
    950: '#000000',
  },
}
SCSS
$custom: #407d30;
$custom-light: #7aa36b;
$custom-dark: #000000;
JSON
{
  "hex": "#407d30",
  "rgb": {
    "r": 64,
    "g": 125,
    "b": 48
  },
  "hsl": {
    "h": 107.532,
    "s": 44.509,
    "l": 33.922
  },
  "oklch": {
    "l": 0.53062,
    "c": 0.12749,
    "h": 139.6
  },
  "luminance": 0.15971
}

Semantic roles & 50–950 ramp

primary
#407D30
secondary
#9B5EAB
accent
#54D4B9
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A0F07
muted
#7C7F7A

Preview Lab

Preview with #407D30

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

Preview Lab → · Contrast checker → · Palette generator →

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