#417916#417916

#417916 is a mid, vivid yellow-green. Relative luminance 0.149; OKLCH L 51.8% C 0.140 H 135.2°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#417916
RGBrgb(65, 121, 22)
HSLhsl(94, 69%, 28%)
HSVhsv(94, 82%, 47%)
CMYKcmyk(46.3%, 0%, 81.8%, 52.5%)
CIE-LABlab(45.44, -35.56, 44.57)
CIE-LCHlch(45.44, 57.01, 128.58°)
OKLaboklab(51.78% -0.0995 0.0988)
OKLCHoklch(51.78% 0.14 135.2)
XYZxyz(9.1620, 14.8559, 3.1436)
Luminance0.1486 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#417916 #4E1679
analogous
#727916 #417916 #16791C
triadic
#417916 #164179 #791641
tetradic
#417916 #167279 #4E1679 #791C16
square
#417916 #167279 #4E1679 #791C16
split-complementary
#417916 #1C1679 #791672
monochromatic
#0E1A05 #25450D #417916 #5DAD1F #7AD930

Accessibility & contrast

On white

5.29
#417916 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#417916 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #417916
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##417916#FFFFFF#000000##FFFFFF
##4179161.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E6E00
Deuteranopia (green-blind)
#766A21
Tritanopia (blue-blind)
#3F7467
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #417916;
/* rgb */ color: rgb(65, 121, 22);
/* oklch */ color: oklch(51.8% 0.140 135.2);
Tailwind
colors: {
  custom: {
    50: '#7ba05c',
    500: '#417916',
    950: '#000000',
  },
}
SCSS
$custom: #417916;
$custom-light: #7ba05c;
$custom-dark: #000000;
JSON
{
  "hex": "#417916",
  "rgb": {
    "r": 65,
    "g": 121,
    "b": 22
  },
  "hsl": {
    "h": 93.939,
    "s": 69.231,
    "l": 28.039
  },
  "oklch": {
    "l": 0.51778,
    "c": 0.14017,
    "h": 135.2
  },
  "luminance": 0.14856
}

Semantic roles & 50–950 ramp

primary
#417916
secondary
#7D3DAE
accent
#3CEC9F
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#0A0F04
muted
#7C7E79

Preview Lab

Preview with #417916

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

Preview Lab → · Contrast checker → · Palette generator →

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