#408D30#408D30

#408D30 is a mid, vivid green. Relative luminance 0.204; OKLCH L 57.4% C 0.150 H 140.4°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#408D30
RGBrgb(64, 141, 48)
HSLhsl(110, 49%, 37%)
HSVhsv(110, 66%, 55%)
CMYKcmyk(54.6%, 0%, 66%, 44.7%)
CIE-LABlab(52.23, -42.08, 41.19)
CIE-LCHlch(52.23, 58.88, 135.61°)
OKLaboklab(57.42% -0.1153 0.0953)
OKLCHoklch(57.42% 0.15 140.4)
XYZxyz(12.1722, 20.3522, 6.0827)
Luminance0.2035 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#408D30 #7D308D
analogous
#6F8D30 #408D30 #308D4E
triadic
#408D30 #30408D #8D3040
tetradic
#408D30 #306F8D #7D308D #8D4E30
square
#408D30 #306F8D #7D308D #8D4E30
split-complementary
#408D30 #4E308D #8D306F
monochromatic
#173211 #2B5F20 #408D30 #55BB40 #7CCD6B

Accessibility & contrast

On white

4.14
#408D30 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#408D30 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #408D30
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##408D30#FFFFFF#000000##000000
##408D301.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#918125
Deuteranopia (green-blind)
#877A38
Tritanopia (blue-blind)
#37897A
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #408d30;
/* rgb */ color: rgb(64, 141, 48);
/* oklch */ color: oklch(57.4% 0.150 140.4);
Tailwind
colors: {
  custom: {
    50: '#7daf6d',
    500: '#408d30',
    950: '#000000',
  },
}
SCSS
$custom: #408d30;
$custom-light: #7daf6d;
$custom-dark: #000000;
JSON
{
  "hex": "#408d30",
  "rgb": {
    "r": 64,
    "g": 141,
    "b": 48
  },
  "hsl": {
    "h": 109.677,
    "s": 49.206,
    "l": 37.059
  },
  "oklch": {
    "l": 0.57415,
    "c": 0.14958,
    "h": 140.4
  },
  "luminance": 0.20353
}

Semantic roles & 50–950 ramp

primary
#408D30
secondary
#A665B4
accent
#4FD9C1
background
#F7FAF6
surface
#EEF4EC
border
#C9CEC7
text
#0A1007
muted
#7C7F7A

Preview Lab

Preview with #408D30

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

Preview Lab → · Contrast checker → · Palette generator →

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