#407522#407522

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

Color values

HEX#407522
RGBrgb(64, 117, 34)
HSLhsl(98, 55%, 30%)
HSVhsv(98, 71%, 46%)
CMYKcmyk(45.3%, 0%, 70.9%, 54.1%)
CIE-LABlab(44.13, -33.29, 38.66)
CIE-LCHlch(44.13, 51.02, 130.73°)
OKLaboklab(50.72% -0.0924 0.0882)
OKLCHoklch(50.72% 0.128 136.3)
XYZxyz(8.7641, 13.9275, 3.7395)
Luminance0.1393 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#407522 #572275
analogous
#6A7522 #407522 #22752D
triadic
#407522 #224075 #752240
tetradic
#407522 #226A75 #572275 #752D22
square
#407522 #226A75 #572275 #752D22
split-complementary
#407522 #2D2275 #75226A
monochromatic
#0D1807 #264614 #407522 #5AA430 #77CA48

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##407522#FFFFFF#000000##FFFFFF
##4075221.005.553.795.55
#FFFFFF5.551.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.551.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #407522;
/* rgb */ color: rgb(64, 117, 34);
/* oklch */ color: oklch(50.7% 0.128 136.3);
Tailwind
colors: {
  custom: {
    50: '#7a9d62',
    500: '#407522',
    950: '#000000',
  },
}
SCSS
$custom: #407522;
$custom-light: #7a9d62;
$custom-dark: #000000;
JSON
{
  "hex": "#407522",
  "rgb": {
    "r": 64,
    "g": 117,
    "b": 34
  },
  "hsl": {
    "h": 98.313,
    "s": 54.967,
    "l": 29.608
  },
  "oklch": {
    "l": 0.50718,
    "c": 0.12777,
    "h": 136.3
  },
  "luminance": 0.13928
}

Semantic roles & 50–950 ramp

primary
#407522
secondary
#864BA8
accent
#49DEA9
background
#F7F9F6
surface
#EEF2EB
border
#C9CCC6
text
#090E05
muted
#7B7E7A

Preview Lab

Preview with #407522

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

Preview Lab → · Contrast checker → · Palette generator →

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