#408C26#408C26

#408C26 is a mid, vivid green. Relative luminance 0.200; OKLCH L 57.0% C 0.156 H 139.0°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#408C26
RGBrgb(64, 140, 38)
HSLhsl(105, 57%, 35%)
HSVhsv(105, 73%, 55%)
CMYKcmyk(54.3%, 0%, 72.9%, 45.1%)
CIE-LABlab(51.82, -42.60, 44.99)
CIE-LCHlch(51.82, 61.96, 133.44°)
OKLaboklab(57.05% -0.1173 0.1021)
OKLCHoklch(57.05% 0.156 139)
XYZxyz(11.8418, 19.9852, 5.0669)
Luminance0.1999 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#408C26 #72268C
analogous
#738C26 #408C26 #268C3F
triadic
#408C26 #26408C #8C2640
tetradic
#408C26 #26738C #72268C #8C3F26
square
#408C26 #26738C #72268C #8C3F26
split-complementary
#408C26 #3F268C #8C2673
monochromatic
#142C0C #2A5C19 #408C26 #56BC33 #79D25A

Accessibility & contrast

On white

4.20
#408C26 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#408C26 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #408C26
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##408C26#FFFFFF#000000##000000
##408C261.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F15
Deuteranopia (green-blind)
#867930
Tritanopia (blue-blind)
#398778
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #408c26;
/* rgb */ color: rgb(64, 140, 38);
/* oklch */ color: oklch(57.0% 0.156 139.0);
Tailwind
colors: {
  custom: {
    50: '#7dae67',
    500: '#408c26',
    950: '#000000',
  },
}
SCSS
$custom: #408c26;
$custom-light: #7dae67;
$custom-dark: #000000;
JSON
{
  "hex": "#408c26",
  "rgb": {
    "r": 64,
    "g": 140,
    "b": 38
  },
  "hsl": {
    "h": 104.706,
    "s": 57.303,
    "l": 34.902
  },
  "oklch": {
    "l": 0.57049,
    "c": 0.15551,
    "h": 139
  },
  "luminance": 0.19986
}

Semantic roles & 50–950 ramp

primary
#408C26
secondary
#9F57B7
accent
#47E1B9
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0A1006
muted
#7C7F7A

Preview Lab

Preview with #408C26

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

Preview Lab → · Contrast checker → · Palette generator →

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