#407B26#407B26

#407B26 is a mid, vivid green. Relative luminance 0.154; OKLCH L 52.4% C 0.133 H 137.6°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#407B26
RGBrgb(64, 123, 38)
HSLhsl(102, 53%, 32%)
HSVhsv(102, 69%, 48%)
CMYKcmyk(48%, 0%, 69.1%, 51.8%)
CIE-LABlab(46.17, -35.56, 39.07)
CIE-LCHlch(46.17, 52.83, 132.30°)
OKLaboklab(52.4% -0.0982 0.0896)
OKLCHoklch(52.4% 0.133 137.6)
XYZxyz(9.5469, 15.3952, 4.3019)
Luminance0.1540 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#407B26 #61267B
analogous
#6B7B26 #407B26 #267B37
triadic
#407B26 #26407B #7B2640
tetradic
#407B26 #266B7B #61267B #7B3726
square
#407B26 #266B7B #61267B #7B3726
split-complementary
#407B26 #37267B #7B266B
monochromatic
#0F1D09 #284C18 #407B26 #58AA34 #76CA52

Accessibility & contrast

On white

5.15
#407B26 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#407B26 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #407B26
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##407B26#FFFFFF#000000##FFFFFF
##407B261.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F701B
Deuteranopia (green-blind)
#776B2D
Tritanopia (blue-blind)
#3C776A
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #407b26;
/* rgb */ color: rgb(64, 123, 38);
/* oklch */ color: oklch(52.4% 0.133 137.6);
Tailwind
colors: {
  custom: {
    50: '#7aa265',
    500: '#407b26',
    950: '#000000',
  },
}
SCSS
$custom: #407b26;
$custom-light: #7aa265;
$custom-dark: #000000;
JSON
{
  "hex": "#407b26",
  "rgb": {
    "r": 64,
    "g": 123,
    "b": 38
  },
  "hsl": {
    "h": 101.647,
    "s": 52.795,
    "l": 31.569
  },
  "oklch": {
    "l": 0.52404,
    "c": 0.133,
    "h": 137.6
  },
  "luminance": 0.15396
}

Semantic roles & 50–950 ramp

primary
#407B26
secondary
#9150AD
accent
#4CDCB0
background
#F7FAF6
surface
#EEF3EB
border
#C9CDC6
text
#0A0F06
muted
#7C7F7A

Preview Lab

Preview with #407B26

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

Preview Lab → · Contrast checker → · Palette generator →

#407B26 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva