#407716#407716

#407716 is a mid, vivid yellow-green. Relative luminance 0.143; OKLCH L 51.2% C 0.138 H 135.2°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#407716
RGBrgb(64, 119, 22)
HSLhsl(94, 69%, 28%)
HSVhsv(94, 82%, 47%)
CMYKcmyk(46.2%, 0%, 81.5%, 53.3%)
CIE-LABlab(44.72, -35.04, 43.88)
CIE-LCHlch(44.72, 56.15, 128.61°)
OKLaboklab(51.18% -0.098 0.0973)
OKLCHoklch(51.18% 0.138 135.2)
XYZxyz(8.8558, 14.3410, 3.0604)
Luminance0.1434 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#407716 #4D1677
analogous
#707716 #407716 #16771D
triadic
#407716 #164077 #771640
tetradic
#407716 #167077 #4D1677 #771D16
square
#407716 #167077 #4D1677 #771D16
split-complementary
#407716 #1D1677 #771670
monochromatic
#0E1A05 #24430C #407716 #5CAB20 #78D92F

Accessibility & contrast

On white

5.43
#407716 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#407716 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #407716
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##407716#FFFFFF#000000##FFFFFF
##4077161.005.433.875.43
#FFFFFF5.431.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6D00
Deuteranopia (green-blind)
#746821
Tritanopia (blue-blind)
#3E7265
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #407716;
/* rgb */ color: rgb(64, 119, 22);
/* oklch */ color: oklch(51.2% 0.138 135.2);
Tailwind
colors: {
  custom: {
    50: '#7b9f5c',
    500: '#407716',
    950: '#000000',
  },
}
SCSS
$custom: #407716;
$custom-light: #7b9f5c;
$custom-dark: #000000;
JSON
{
  "hex": "#407716",
  "rgb": {
    "r": 64,
    "g": 119,
    "b": 22
  },
  "hsl": {
    "h": 94.021,
    "s": 68.794,
    "l": 27.647
  },
  "oklch": {
    "l": 0.51175,
    "c": 0.13813,
    "h": 135.2
  },
  "luminance": 0.14342
}

Semantic roles & 50–950 ramp

primary
#407716
secondary
#7C3CAC
accent
#3CECA0
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#0A0E04
muted
#7C7E79

Preview Lab

Preview with #407716

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

Preview Lab → · Contrast checker → · Palette generator →

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