#417522#417522

#417522 is a mid, vivid yellow-green. Relative luminance 0.140; OKLCH L 50.8% C 0.127 H 136.0°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#417522
RGBrgb(65, 117, 34)
HSLhsl(98, 55%, 30%)
HSVhsv(98, 71%, 46%)
CMYKcmyk(44.4%, 0%, 70.9%, 54.1%)
CIE-LABlab(44.18, -32.93, 38.73)
CIE-LCHlch(44.18, 50.84, 130.38°)
OKLaboklab(50.77% -0.0915 0.0884)
OKLCHoklch(50.77% 0.127 136)
XYZxyz(8.8298, 13.9614, 3.7426)
Luminance0.1396 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#417522 #562275
analogous
#6B7522 #417522 #22752C
triadic
#417522 #224175 #752241
tetradic
#417522 #226B75 #562275 #752C22
square
#417522 #226B75 #562275 #752C22
split-complementary
#417522 #2C2275 #75226B
monochromatic
#0D1807 #274614 #417522 #5BA430 #78CA48

Accessibility & contrast

On white

5.54
#417522 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#417522 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #417522
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##417522#FFFFFF#000000##FFFFFF
##4175221.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796B16
Deuteranopia (green-blind)
#726729
Tritanopia (blue-blind)
#3F7164
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #417522;
/* rgb */ color: rgb(65, 117, 34);
/* oklch */ color: oklch(50.8% 0.127 136.0);
Tailwind
colors: {
  custom: {
    50: '#7a9d62',
    500: '#417522',
    950: '#000000',
  },
}
SCSS
$custom: #417522;
$custom-light: #7a9d62;
$custom-dark: #000000;
JSON
{
  "hex": "#417522",
  "rgb": {
    "r": 65,
    "g": 117,
    "b": 34
  },
  "hsl": {
    "h": 97.59,
    "s": 54.967,
    "l": 29.608
  },
  "oklch": {
    "l": 0.50772,
    "c": 0.12721,
    "h": 136
  },
  "luminance": 0.13962
}

Semantic roles & 50–950 ramp

primary
#417522
secondary
#854BA8
accent
#49DEA7
background
#F7F9F6
surface
#EEF2EB
border
#C9CCC6
text
#0A0E05
muted
#7C7E7A

Preview Lab

Preview with #417522

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

Preview Lab → · Contrast checker → · Palette generator →

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