#407526#407526

#407526 is a mid, vivid green. Relative luminance 0.140; OKLCH L 50.8% C 0.125 H 137.0°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#407526
RGBrgb(64, 117, 38)
HSLhsl(100, 51%, 30%)
HSVhsv(100, 68%, 46%)
CMYKcmyk(45.3%, 0%, 67.5%, 54.1%)
CIE-LABlab(44.16, -32.92, 36.91)
CIE-LCHlch(44.16, 49.45, 131.73°)
OKLaboklab(50.76% -0.0911 0.0851)
OKLCHoklch(50.76% 0.125 137)
XYZxyz(8.8252, 13.9520, 4.0613)
Luminance0.1395 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#407526 #5B2675
analogous
#677526 #407526 #267533
triadic
#407526 #264075 #752640
tetradic
#407526 #266775 #5B2675 #753326
square
#407526 #266775 #5B2675 #753326
split-complementary
#407526 #332675 #752667
monochromatic
#0D1908 #274717 #407526 #59A335 #76C64F

Accessibility & contrast

On white

5.54
#407526 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#407526 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #407526
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##407526#FFFFFF#000000##FFFFFF
##4075261.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796B1C
Deuteranopia (green-blind)
#72672D
Tritanopia (blue-blind)
#3D7165
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #407526;
/* rgb */ color: rgb(64, 117, 38);
/* oklch */ color: oklch(50.8% 0.125 137.0);
Tailwind
colors: {
  custom: {
    50: '#799d64',
    500: '#407526',
    950: '#000000',
  },
}
SCSS
$custom: #407526;
$custom-light: #799d64;
$custom-dark: #000000;
JSON
{
  "hex": "#407526",
  "rgb": {
    "r": 64,
    "g": 117,
    "b": 38
  },
  "hsl": {
    "h": 100.253,
    "s": 50.968,
    "l": 30.392
  },
  "oklch": {
    "l": 0.50758,
    "c": 0.12464,
    "h": 137
  },
  "luminance": 0.13953
}

Semantic roles & 50–950 ramp

primary
#407526
secondary
#8A4FA7
accent
#4DDAAC
background
#F7F9F6
surface
#EEF2EB
border
#C9CCC6
text
#090E06
muted
#7B7E7A

Preview Lab

Preview with #407526

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

Preview Lab → · Contrast checker → · Palette generator →

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