#407516#407516

#407516 is a mid, vivid yellow-green. Relative luminance 0.139; OKLCH L 50.6% C 0.136 H 134.9°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#407516
RGBrgb(64, 117, 22)
HSLhsl(93, 68%, 27%)
HSVhsv(93, 81%, 46%)
CMYKcmyk(45.3%, 0%, 81.2%, 54.1%)
CIE-LABlab(44.05, -34.17, 43.24)
CIE-LCHlch(44.05, 55.12, 128.32°)
OKLaboklab(50.62% -0.0957 0.096)
OKLCHoklch(50.62% 0.136 134.9)
XYZxyz(8.6203, 13.8700, 2.9819)
Luminance0.1387 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#407516 #4B1675
analogous
#6F7516 #407516 #16751C
triadic
#407516 #164075 #751640
tetradic
#407516 #166F75 #4B1675 #751C16
square
#407516 #166F75 #4B1675 #751C16
split-complementary
#407516 #1C1675 #75166F
monochromatic
#0E1A05 #24410C #407516 #5CA920 #79D82E

Accessibility & contrast

On white

5.56
#407516 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#407516 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #407516
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##407516#FFFFFF#000000##FFFFFF
##4075161.005.563.775.56
#FFFFFF5.561.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6B00
Deuteranopia (green-blind)
#736720
Tritanopia (blue-blind)
#3F7063
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #407516;
/* rgb */ color: rgb(64, 117, 22);
/* oklch */ color: oklch(50.6% 0.136 134.9);
Tailwind
colors: {
  custom: {
    50: '#7a9d5c',
    500: '#407516',
    950: '#000000',
  },
}
SCSS
$custom: #407516;
$custom-light: #7a9d5c;
$custom-dark: #000000;
JSON
{
  "hex": "#407516",
  "rgb": {
    "r": 64,
    "g": 117,
    "b": 22
  },
  "hsl": {
    "h": 93.474,
    "s": 68.345,
    "l": 27.255
  },
  "oklch": {
    "l": 0.50624,
    "c": 0.13553,
    "h": 134.9
  },
  "luminance": 0.1387
}

Semantic roles & 50–950 ramp

primary
#407516
secondary
#7A3CAB
accent
#3DEB9E
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#0A0E04
muted
#7C7E79

Preview Lab

Preview with #407516

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

Preview Lab → · Contrast checker → · Palette generator →

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