#408F26#408F26

#408F26 is a mid, vivid green. Relative luminance 0.209; OKLCH L 57.9% C 0.159 H 139.2°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#408F26
RGBrgb(64, 143, 38)
HSLhsl(105, 58%, 35%)
HSVhsv(105, 73%, 56%)
CMYKcmyk(55.2%, 0%, 73.4%, 43.9%)
CIE-LABlab(52.81, -43.79, 46.01)
CIE-LCHlch(52.81, 63.52, 133.58°)
OKLaboklab(57.87% -0.1205 0.1042)
OKLCHoklch(57.87% 0.159 139.2)
XYZxyz(12.2862, 20.8739, 5.2150)
Luminance0.2087 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#408F26 #75268F
analogous
#748F26 #408F26 #268F40
triadic
#408F26 #26408F #8F2640
tetradic
#408F26 #26748F #75268F #8F4026
square
#408F26 #26748F #75268F #8F4026
split-complementary
#408F26 #40268F #8F2674
monochromatic
#152E0C #2A5F19 #408F26 #56BF33 #79D45C

Accessibility & contrast

On white

4.06
#408F26 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#408F26 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #408F26
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##408F26#FFFFFF#000000##000000
##408F261.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#938214
Deuteranopia (green-blind)
#897C30
Tritanopia (blue-blind)
#388A7A
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #408f26;
/* rgb */ color: rgb(64, 143, 38);
/* oklch */ color: oklch(57.9% 0.159 139.2);
Tailwind
colors: {
  custom: {
    50: '#7db067',
    500: '#408f26',
    950: '#000000',
  },
}
SCSS
$custom: #408f26;
$custom-light: #7db067;
$custom-dark: #000000;
JSON
{
  "hex": "#408f26",
  "rgb": {
    "r": 64,
    "g": 143,
    "b": 38
  },
  "hsl": {
    "h": 105.143,
    "s": 58.011,
    "l": 35.49
  },
  "oklch": {
    "l": 0.57865,
    "c": 0.15932,
    "h": 139.2
  },
  "luminance": 0.20875
}

Semantic roles & 50–950 ramp

primary
#408F26
secondary
#A158B9
accent
#47E1BB
background
#F8FAF6
surface
#EFF5EB
border
#CACFC6
text
#0A1106
muted
#7C807A

Preview Lab

Preview with #408F26

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

Preview Lab → · Contrast checker → · Palette generator →

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