#417221#417221

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

Color values

HEX#417221
RGBrgb(65, 114, 33)
HSLhsl(96, 55%, 29%)
HSVhsv(96, 71%, 45%)
CMYKcmyk(43%, 0%, 71.1%, 55.3%)
CIE-LABlab(43.16, -31.67, 38.10)
CIE-LCHlch(43.16, 49.54, 129.74°)
OKLaboklab(49.94% -0.0882 0.0869)
OKLCHoklch(49.94% 0.124 135.4)
XYZxyz(8.4716, 13.2678, 3.5531)
Luminance0.1327 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#417221 #522172
analogous
#6A7221 #417221 #21722A
triadic
#417221 #214172 #722141
tetradic
#417221 #216A72 #522172 #722A21
square
#417221 #216A72 #522172 #722A21
split-complementary
#417221 #2A2172 #72216A
monochromatic
#0E1807 #264313 #417221 #5CA12F #79C944

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##417221#FFFFFF#000000##FFFFFF
##4172211.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)
#766915
Deuteranopia (green-blind)
#706428
Tritanopia (blue-blind)
#406E62
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #417221;
/* rgb */ color: rgb(65, 114, 33);
/* oklch */ color: oklch(49.9% 0.124 135.4);
Tailwind
colors: {
  custom: {
    50: '#7a9b61',
    500: '#417221',
    950: '#000000',
  },
}
SCSS
$custom: #417221;
$custom-light: #7a9b61;
$custom-dark: #000000;
JSON
{
  "hex": "#417221",
  "rgb": {
    "r": 65,
    "g": 114,
    "b": 33
  },
  "hsl": {
    "h": 96.296,
    "s": 55.102,
    "l": 28.824
  },
  "oklch": {
    "l": 0.49939,
    "c": 0.12379,
    "h": 135.4
  },
  "luminance": 0.13268
}

Semantic roles & 50–950 ramp

primary
#417221
secondary
#8149A5
accent
#49DEA4
background
#F7F9F5
surface
#EEF2EA
border
#C9CCC6
text
#090E05
muted
#7B7E79

Preview Lab

Preview with #417221

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

Preview Lab → · Contrast checker → · Palette generator →

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