#417222#417222

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

Color values

HEX#417222
RGBrgb(65, 114, 34)
HSLhsl(97, 54%, 29%)
HSVhsv(97, 70%, 45%)
CMYKcmyk(43%, 0%, 70.2%, 55.3%)
CIE-LABlab(43.17, -31.58, 37.66)
CIE-LCHlch(43.17, 49.15, 129.98°)
OKLaboklab(49.95% -0.0878 0.0861)
OKLCHoklch(49.95% 0.123 135.6)
XYZxyz(8.4858, 13.2735, 3.6280)
Luminance0.1327 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#417222 #532272
analogous
#697222 #417222 #22722B
triadic
#417222 #224172 #722241
tetradic
#417222 #226972 #532272 #722B22
square
#417222 #226972 #532272 #722B22
split-complementary
#417222 #2B2272 #722269
monochromatic
#0D1807 #264314 #417222 #5CA130 #79C846

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##417222#FFFFFF#000000##FFFFFF
##4172221.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)
#766917
Deuteranopia (green-blind)
#706429
Tritanopia (blue-blind)
#406E62
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #417222;
/* rgb */ color: rgb(65, 114, 34);
/* oklch */ color: oklch(49.9% 0.123 135.6);
Tailwind
colors: {
  custom: {
    50: '#7a9b62',
    500: '#417222',
    950: '#000000',
  },
}
SCSS
$custom: #417222;
$custom-light: #7a9b62;
$custom-dark: #000000;
JSON
{
  "hex": "#417222",
  "rgb": {
    "r": 65,
    "g": 114,
    "b": 34
  },
  "hsl": {
    "h": 96.75,
    "s": 54.054,
    "l": 29.02
  },
  "oklch": {
    "l": 0.49949,
    "c": 0.12302,
    "h": 135.6
  },
  "luminance": 0.13274
}

Semantic roles & 50–950 ramp

primary
#417222
secondary
#824BA5
accent
#4ADDA4
background
#F7F9F5
surface
#EEF2EA
border
#C9CCC6
text
#090E05
muted
#7B7E79

Preview Lab

Preview with #417222

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

Preview Lab → · Contrast checker → · Palette generator →

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