#408E30#408E30

#408E30 is a mid, vivid green. Relative luminance 0.206; OKLCH L 57.7% C 0.151 H 140.4°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#408E30
RGBrgb(64, 142, 48)
HSLhsl(110, 49%, 37%)
HSVhsv(110, 66%, 56%)
CMYKcmyk(54.9%, 0%, 66.2%, 44.3%)
CIE-LABlab(52.56, -42.48, 41.55)
CIE-LCHlch(52.56, 59.42, 135.64°)
OKLaboklab(57.69% -0.1163 0.0961)
OKLCHoklch(57.69% 0.151 140.4)
XYZxyz(12.3203, 20.6484, 6.1320)
Luminance0.2065 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#408E30 #7E308E
analogous
#6F8E30 #408E30 #308E4F
triadic
#408E30 #30408E #8E3040
tetradic
#408E30 #306F8E #7E308E #8E4F30
square
#408E30 #306F8E #7E308E #8E4F30
split-complementary
#408E30 #4F308E #8E306F
monochromatic
#173311 #2B6021 #408E30 #55BC3F #7CCD6B

Accessibility & contrast

On white

4.09
#408E30 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.13
#408E30 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #408E30
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##408E30#FFFFFF#000000##000000
##408E301.004.095.135.13
#FFFFFF4.091.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#928224
Deuteranopia (green-blind)
#887B38
Tritanopia (blue-blind)
#37897A
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #408e30;
/* rgb */ color: rgb(64, 142, 48);
/* oklch */ color: oklch(57.7% 0.151 140.4);
Tailwind
colors: {
  custom: {
    50: '#7db06d',
    500: '#408e30',
    950: '#000000',
  },
}
SCSS
$custom: #408e30;
$custom-light: #7db06d;
$custom-dark: #000000;
JSON
{
  "hex": "#408e30",
  "rgb": {
    "r": 64,
    "g": 142,
    "b": 48
  },
  "hsl": {
    "h": 109.787,
    "s": 49.474,
    "l": 37.255
  },
  "oklch": {
    "l": 0.57687,
    "c": 0.15091,
    "h": 140.4
  },
  "luminance": 0.20649
}

Semantic roles & 50–950 ramp

primary
#408E30
secondary
#A765B4
accent
#4FD9C1
background
#F8FAF6
surface
#EFF5EC
border
#CACFC7
text
#0A1007
muted
#7C7F7A

Preview Lab

Preview with #408E30

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

Preview Lab → · Contrast checker → · Palette generator →

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