#407726#407726

#407726 is a mid, vivid green. Relative luminance 0.144; OKLCH L 51.3% C 0.127 H 137.2°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#407726
RGBrgb(64, 119, 38)
HSLhsl(101, 52%, 31%)
HSVhsv(101, 68%, 47%)
CMYKcmyk(46.2%, 0%, 68.1%, 53.3%)
CIE-LABlab(44.83, -33.80, 37.63)
CIE-LCHlch(44.83, 50.59, 131.93°)
OKLaboklab(51.31% -0.0935 0.0866)
OKLCHoklch(51.31% 0.127 137.2)
XYZxyz(9.0608, 14.4230, 4.1398)
Luminance0.1442 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#407726 #5D2677
analogous
#687726 #407726 #267734
triadic
#407726 #264077 #772640
tetradic
#407726 #266877 #5D2677 #773426
square
#407726 #266877 #5D2677 #773426
split-complementary
#407726 #342677 #772668
monochromatic
#0E1A08 #274917 #407726 #59A535 #76C750

Accessibility & contrast

On white

5.41
#407726 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#407726 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #407726
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##407726#FFFFFF#000000##FFFFFF
##4077261.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6D1C
Deuteranopia (green-blind)
#74682D
Tritanopia (blue-blind)
#3D7366
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #407726;
/* rgb */ color: rgb(64, 119, 38);
/* oklch */ color: oklch(51.3% 0.127 137.2);
Tailwind
colors: {
  custom: {
    50: '#7a9f64',
    500: '#407726',
    950: '#000000',
  },
}
SCSS
$custom: #407726;
$custom-light: #7a9f64;
$custom-dark: #000000;
JSON
{
  "hex": "#407726",
  "rgb": {
    "r": 64,
    "g": 119,
    "b": 38
  },
  "hsl": {
    "h": 100.741,
    "s": 51.592,
    "l": 30.784
  },
  "oklch": {
    "l": 0.51307,
    "c": 0.12745,
    "h": 137.2
  },
  "luminance": 0.14424
}

Semantic roles & 50–950 ramp

primary
#407726
secondary
#8C4FA9
accent
#4DDBAD
background
#F7F9F6
surface
#EEF2EB
border
#C9CCC6
text
#090E06
muted
#7B7E7A

Preview Lab

Preview with #407726

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

Preview Lab → · Contrast checker → · Palette generator →

#407726 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva