#407520#407520

#407520 is a mid, vivid yellow-green. Relative luminance 0.139; OKLCH L 50.7% C 0.129 H 136.0°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#407520
RGBrgb(64, 117, 32)
HSLhsl(97, 57%, 29%)
HSVhsv(97, 73%, 46%)
CMYKcmyk(45.3%, 0%, 72.6%, 54.1%)
CIE-LABlab(44.11, -33.46, 39.50)
CIE-LCHlch(44.11, 51.77, 130.27°)
OKLaboklab(50.7% -0.093 0.0897)
OKLCHoklch(50.7% 0.129 136)
XYZxyz(8.7361, 13.9163, 3.5920)
Luminance0.1392 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#407520 #552075
analogous
#6B7520 #407520 #20752B
triadic
#407520 #204075 #752040
tetradic
#407520 #206B75 #552075 #752B20
square
#407520 #206B75 #552075 #752B20
split-complementary
#407520 #2B2075 #75206B
monochromatic
#0D1807 #264513 #407520 #5AA52D #77CC44

Accessibility & contrast

On white

5.55
#407520 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#407520 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #407520
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##407520#FFFFFF#000000##FFFFFF
##4075201.005.553.785.55
#FFFFFF5.551.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796B13
Deuteranopia (green-blind)
#726728
Tritanopia (blue-blind)
#3E7164
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #407520;
/* rgb */ color: rgb(64, 117, 32);
/* oklch */ color: oklch(50.7% 0.129 136.0);
Tailwind
colors: {
  custom: {
    50: '#7a9d61',
    500: '#407520',
    950: '#000000',
  },
}
SCSS
$custom: #407520;
$custom-light: #7a9d61;
$custom-dark: #000000;
JSON
{
  "hex": "#407520",
  "rgb": {
    "r": 64,
    "g": 117,
    "b": 32
  },
  "hsl": {
    "h": 97.412,
    "s": 57.047,
    "l": 29.216
  },
  "oklch": {
    "l": 0.507,
    "c": 0.12923,
    "h": 136
  },
  "luminance": 0.13917
}

Semantic roles & 50–950 ramp

primary
#407520
secondary
#8448A8
accent
#47E0A7
background
#F7F9F5
surface
#EEF2EA
border
#C9CCC6
text
#0A0E05
muted
#7C7E79

Preview Lab

Preview with #407520

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

Preview Lab → · Contrast checker → · Palette generator →

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