#417220#417220

#417220 is a mid, vivid yellow-green. Relative luminance 0.133; OKLCH L 49.9% C 0.125 H 135.3°. Best body text is #FFFFFF at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#417220
RGBrgb(65, 114, 32)
HSLhsl(96, 56%, 29%)
HSVhsv(96, 72%, 45%)
CMYKcmyk(43%, 0%, 71.9%, 55.3%)
CIE-LABlab(43.16, -31.76, 38.52)
CIE-LCHlch(43.16, 49.92, 129.50°)
OKLaboklab(49.93% -0.0885 0.0877)
OKLCHoklch(49.93% 0.125 135.3)
XYZxyz(8.4578, 13.2623, 3.4804)
Luminance0.1326 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#417220 #512072
analogous
#6A7220 #417220 #207228
triadic
#417220 #204172 #722041
tetradic
#417220 #206A72 #512072 #722820
square
#417220 #206A72 #512072 #722820
split-complementary
#417220 #282072 #72206A
monochromatic
#0E1807 #264213 #417220 #5CA22D #79CA42

Accessibility & contrast

On white

5.75
#417220 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#417220 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #417220
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##417220#FFFFFF#000000##FFFFFF
##4172201.005.753.655.75
#FFFFFF5.751.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766814
Deuteranopia (green-blind)
#706427
Tritanopia (blue-blind)
#406E62
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #417220;
/* rgb */ color: rgb(65, 114, 32);
/* oklch */ color: oklch(49.9% 0.125 135.3);
Tailwind
colors: {
  custom: {
    50: '#7a9b60',
    500: '#417220',
    950: '#000000',
  },
}
SCSS
$custom: #417220;
$custom-light: #7a9b60;
$custom-dark: #000000;
JSON
{
  "hex": "#417220",
  "rgb": {
    "r": 65,
    "g": 114,
    "b": 32
  },
  "hsl": {
    "h": 95.854,
    "s": 56.164,
    "l": 28.627
  },
  "oklch": {
    "l": 0.4993,
    "c": 0.12454,
    "h": 135.3
  },
  "luminance": 0.13263
}

Semantic roles & 50–950 ramp

primary
#417220
secondary
#8048A6
accent
#48DFA3
background
#F7F9F5
surface
#EEF2EA
border
#C9CCC6
text
#0A0E05
muted
#7C7E79

Preview Lab

Preview with #417220

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

Preview Lab → · Contrast checker → · Palette generator →

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