#408E26#408E26

#408E26 is a mid, vivid green. Relative luminance 0.206; OKLCH L 57.6% C 0.158 H 139.1°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#408E26
RGBrgb(64, 142, 38)
HSLhsl(105, 58%, 35%)
HSVhsv(105, 73%, 56%)
CMYKcmyk(54.9%, 0%, 73.2%, 44.3%)
CIE-LABlab(52.48, -43.40, 45.67)
CIE-LCHlch(52.48, 63.00, 133.54°)
OKLaboklab(57.59% -0.1195 0.1035)
OKLCHoklch(57.59% 0.158 139.1)
XYZxyz(12.1367, 20.5750, 5.1652)
Luminance0.2058 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#408E26 #74268E
analogous
#748E26 #408E26 #268E40
triadic
#408E26 #26408E #8E2640
tetradic
#408E26 #26748E #74268E #8E4026
square
#408E26 #26748E #74268E #8E4026
split-complementary
#408E26 #40268E #8E2674
monochromatic
#142D0C #2A5E19 #408E26 #56BE33 #79D35B

Accessibility & contrast

On white

4.11
#408E26 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#408E26 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #408E26
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##408E26#FFFFFF#000000##000000
##408E261.004.115.125.12
#FFFFFF4.111.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#928114
Deuteranopia (green-blind)
#887B30
Tritanopia (blue-blind)
#38897A
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #408e26;
/* rgb */ color: rgb(64, 142, 38);
/* oklch */ color: oklch(57.6% 0.158 139.1);
Tailwind
colors: {
  custom: {
    50: '#7db067',
    500: '#408e26',
    950: '#000000',
  },
}
SCSS
$custom: #408e26;
$custom-light: #7db067;
$custom-dark: #000000;
JSON
{
  "hex": "#408e26",
  "rgb": {
    "r": 64,
    "g": 142,
    "b": 38
  },
  "hsl": {
    "h": 105,
    "s": 57.778,
    "l": 35.294
  },
  "oklch": {
    "l": 0.57593,
    "c": 0.15806,
    "h": 139.1
  },
  "luminance": 0.20576
}

Semantic roles & 50–950 ramp

primary
#408E26
secondary
#A058B8
accent
#47E1BA
background
#F8FAF6
surface
#EFF5EB
border
#CACFC6
text
#0A1006
muted
#7C7F7A

Preview Lab

Preview with #408E26

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

Preview Lab → · Contrast checker → · Palette generator →

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