#407622#407622

#407622 is a mid, vivid yellow-green. Relative luminance 0.142; OKLCH L 51.0% C 0.129 H 136.4°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#407622
RGBrgb(64, 118, 34)
HSLhsl(99, 55%, 30%)
HSVhsv(99, 71%, 46%)
CMYKcmyk(45.8%, 0%, 71.2%, 53.7%)
CIE-LABlab(44.46, -33.73, 39.01)
CIE-LCHlch(44.46, 51.57, 130.85°)
OKLaboklab(50.99% -0.0936 0.089)
OKLCHoklch(50.99% 0.129 136.4)
XYZxyz(8.8813, 14.1618, 3.7786)
Luminance0.1416 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#407622 #582276
analogous
#6A7622 #407622 #22762E
triadic
#407622 #224076 #762240
tetradic
#407622 #226A76 #582276 #762E22
square
#407622 #226A76 #582276 #762E22
split-complementary
#407622 #2E2276 #76226A
monochromatic
#0D1807 #264614 #407622 #5AA630 #77CA48

Accessibility & contrast

On white

5.48
#407622 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#407622 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #407622
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##407622#FFFFFF#000000##FFFFFF
##4076221.005.483.835.48
#FFFFFF5.481.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6C16
Deuteranopia (green-blind)
#73672A
Tritanopia (blue-blind)
#3E7265
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #407622;
/* rgb */ color: rgb(64, 118, 34);
/* oklch */ color: oklch(51.0% 0.129 136.4);
Tailwind
colors: {
  custom: {
    50: '#7a9e62',
    500: '#407622',
    950: '#000000',
  },
}
SCSS
$custom: #407622;
$custom-light: #7a9e62;
$custom-dark: #000000;
JSON
{
  "hex": "#407622",
  "rgb": {
    "r": 64,
    "g": 118,
    "b": 34
  },
  "hsl": {
    "h": 98.571,
    "s": 55.263,
    "l": 29.804
  },
  "oklch": {
    "l": 0.50993,
    "c": 0.12914,
    "h": 136.4
  },
  "luminance": 0.14162
}

Semantic roles & 50–950 ramp

primary
#407622
secondary
#874BA9
accent
#49DFA9
background
#F7F9F6
surface
#EEF2EB
border
#C9CCC6
text
#0A0E05
muted
#7C7E7A

Preview Lab

Preview with #407622

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

Preview Lab → · Contrast checker → · Palette generator →

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