#407620#407620

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

Color values

HEX#407620
RGBrgb(64, 118, 32)
HSLhsl(98, 57%, 29%)
HSVhsv(98, 73%, 46%)
CMYKcmyk(45.8%, 0%, 72.9%, 53.7%)
CIE-LABlab(44.45, -33.90, 39.85)
CIE-LCHlch(44.45, 52.32, 130.39°)
OKLaboklab(50.98% -0.0942 0.0904)
OKLCHoklch(50.98% 0.131 136.2)
XYZxyz(8.8533, 14.1506, 3.6311)
Luminance0.1415 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#407620 #562076
analogous
#6B7620 #407620 #20762B
triadic
#407620 #204076 #762040
tetradic
#407620 #206B76 #562076 #762B20
square
#407620 #206B76 #562076 #762B20
split-complementary
#407620 #2B2076 #76206B
monochromatic
#0D1807 #264613 #407620 #5AA62D #77CC44

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##407620#FFFFFF#000000##FFFFFF
##4076201.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)
#7A6C13
Deuteranopia (green-blind)
#736728
Tritanopia (blue-blind)
#3E7265
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #407620;
/* rgb */ color: rgb(64, 118, 32);
/* oklch */ color: oklch(51.0% 0.131 136.2);
Tailwind
colors: {
  custom: {
    50: '#7a9e61',
    500: '#407620',
    950: '#000000',
  },
}
SCSS
$custom: #407620;
$custom-light: #7a9e61;
$custom-dark: #000000;
JSON
{
  "hex": "#407620",
  "rgb": {
    "r": 64,
    "g": 118,
    "b": 32
  },
  "hsl": {
    "h": 97.674,
    "s": 57.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.50975,
    "c": 0.1306,
    "h": 136.2
  },
  "luminance": 0.14151
}

Semantic roles & 50–950 ramp

primary
#407620
secondary
#8548A9
accent
#47E1A8
background
#F7F9F5
surface
#EEF2EA
border
#C9CCC6
text
#0A0E05
muted
#7C7E79

Preview Lab

Preview with #407620

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

Preview Lab → · Contrast checker → · Palette generator →

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