#407216#407216

#407216 is a mid, vivid yellow-green. Relative luminance 0.132; OKLCH L 49.8% C 0.132 H 134.4°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#407216
RGBrgb(64, 114, 22)
HSLhsl(93, 68%, 27%)
HSVhsv(93, 81%, 45%)
CMYKcmyk(43.9%, 0%, 80.7%, 55.3%)
CIE-LABlab(43.04, -32.85, 42.29)
CIE-LCHlch(43.04, 53.55, 127.84°)
OKLaboklab(49.8% -0.0921 0.094)
OKLCHoklch(49.8% 0.132 134.4)
XYZxyz(8.2763, 13.1821, 2.8672)
Luminance0.1318 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#407216 #481672
analogous
#6E7216 #407216 #16721A
triadic
#407216 #164072 #721640
tetradic
#407216 #166E72 #481672 #721A16
square
#407216 #166E72 #481672 #721A16
split-complementary
#407216 #1A1672 #72166E
monochromatic
#0E1A05 #233F0C #407216 #5DA520 #7AD62C

Accessibility & contrast

On white

5.77
#407216 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#407216 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #407216
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##407216#FFFFFF#000000##FFFFFF
##4072161.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776800
Deuteranopia (green-blind)
#706420
Tritanopia (blue-blind)
#3F6D61
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #407216;
/* rgb */ color: rgb(64, 114, 22);
/* oklch */ color: oklch(49.8% 0.132 134.4);
Tailwind
colors: {
  custom: {
    50: '#7a9b5b',
    500: '#407216',
    950: '#000000',
  },
}
SCSS
$custom: #407216;
$custom-light: #7a9b5b;
$custom-dark: #000000;
JSON
{
  "hex": "#407216",
  "rgb": {
    "r": 64,
    "g": 114,
    "b": 22
  },
  "hsl": {
    "h": 92.609,
    "s": 67.647,
    "l": 26.667
  },
  "oklch": {
    "l": 0.49796,
    "c": 0.13161,
    "h": 134.4
  },
  "luminance": 0.13183
}

Semantic roles & 50–950 ramp

primary
#407216
secondary
#773CA8
accent
#3DEB9B
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#0A0E04
muted
#7C7E79

Preview Lab

Preview with #407216

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

Preview Lab → · Contrast checker → · Palette generator →

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