#407416#407416

#407416 is a mid, vivid yellow-green. Relative luminance 0.136; OKLCH L 50.3% C 0.134 H 134.7°. Best body text is #FFFFFF at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#407416
RGBrgb(64, 116, 22)
HSLhsl(93, 68%, 27%)
HSVhsv(93, 81%, 45%)
CMYKcmyk(44.8%, 0%, 81%, 54.5%)
CIE-LABlab(43.71, -33.73, 42.92)
CIE-LCHlch(43.71, 54.59, 128.16°)
OKLaboklab(50.35% -0.0945 0.0953)
OKLCHoklch(50.35% 0.134 134.7)
XYZxyz(8.5044, 13.6382, 2.9432)
Luminance0.1364 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#407416 #4A1674
analogous
#6F7416 #407416 #16741B
triadic
#407416 #164074 #741640
tetradic
#407416 #166F74 #4A1674 #741B16
square
#407416 #166F74 #4A1674 #741B16
split-complementary
#407416 #1B1674 #74166F
monochromatic
#0E1A05 #24410C #407416 #5CA720 #79D72D

Accessibility & contrast

On white

5.63
#407416 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#407416 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #407416
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##407416#FFFFFF#000000##FFFFFF
##4074161.005.633.735.63
#FFFFFF5.631.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796A00
Deuteranopia (green-blind)
#726620
Tritanopia (blue-blind)
#3F6F62
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #407416;
/* rgb */ color: rgb(64, 116, 22);
/* oklch */ color: oklch(50.3% 0.134 134.7);
Tailwind
colors: {
  custom: {
    50: '#7a9c5c',
    500: '#407416',
    950: '#000000',
  },
}
SCSS
$custom: #407416;
$custom-light: #7a9c5c;
$custom-dark: #000000;
JSON
{
  "hex": "#407416",
  "rgb": {
    "r": 64,
    "g": 116,
    "b": 22
  },
  "hsl": {
    "h": 93.191,
    "s": 68.116,
    "l": 27.059
  },
  "oklch": {
    "l": 0.50348,
    "c": 0.13423,
    "h": 134.7
  },
  "luminance": 0.13639
}

Semantic roles & 50–950 ramp

primary
#407416
secondary
#793CAA
accent
#3DEB9D
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#0A0E04
muted
#7C7E79

Preview Lab

Preview with #407416

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

Preview Lab → · Contrast checker → · Palette generator →

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