#417122#417122

#417122 is a mid, vivid yellow-green. Relative luminance 0.131; OKLCH L 49.7% C 0.122 H 135.4°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#417122
RGBrgb(65, 113, 34)
HSLhsl(96, 54%, 29%)
HSVhsv(96, 70%, 44%)
CMYKcmyk(42.5%, 0%, 69.9%, 55.7%)
CIE-LABlab(42.84, -31.13, 37.31)
CIE-LCHlch(42.84, 48.59, 129.84°)
OKLaboklab(49.67% -0.0866 0.0854)
OKLCHoklch(49.67% 0.122 135.4)
XYZxyz(8.3736, 13.0491, 3.5906)
Luminance0.1305 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#417122 #522271
analogous
#697122 #417122 #22712B
triadic
#417122 #224171 #712241
tetradic
#417122 #226971 #522271 #712B22
square
#417122 #226971 #522271 #712B22
split-complementary
#417122 #2B2271 #712269
monochromatic
#0E1807 #264214 #417122 #5CA030 #79C746

Accessibility & contrast

On white

5.82
#417122 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#417122 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #417122
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##417122#FFFFFF#000000##FFFFFF
##4171221.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756817
Deuteranopia (green-blind)
#6F6429
Tritanopia (blue-blind)
#406D61
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #417122;
/* rgb */ color: rgb(65, 113, 34);
/* oklch */ color: oklch(49.7% 0.122 135.4);
Tailwind
colors: {
  custom: {
    50: '#7a9a61',
    500: '#417122',
    950: '#000000',
  },
}
SCSS
$custom: #417122;
$custom-light: #7a9a61;
$custom-dark: #000000;
JSON
{
  "hex": "#417122",
  "rgb": {
    "r": 65,
    "g": 113,
    "b": 34
  },
  "hsl": {
    "h": 96.456,
    "s": 53.741,
    "l": 28.824
  },
  "oklch": {
    "l": 0.49674,
    "c": 0.12161,
    "h": 135.4
  },
  "luminance": 0.1305
}

Semantic roles & 50–950 ramp

primary
#417122
secondary
#814AA4
accent
#4BDDA4
background
#F7F9F5
surface
#EEF2EA
border
#C9CCC6
text
#090E05
muted
#7B7E79

Preview Lab

Preview with #417122

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

Preview Lab → · Contrast checker → · Palette generator →

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