#417121#417121

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

Color values

HEX#417121
RGBrgb(65, 113, 33)
HSLhsl(96, 55%, 29%)
HSVhsv(96, 71%, 44%)
CMYKcmyk(42.5%, 0%, 70.8%, 55.7%)
CIE-LABlab(42.83, -31.22, 37.74)
CIE-LCHlch(42.83, 48.98, 129.59°)
OKLaboklab(49.67% -0.0869 0.0862)
OKLCHoklch(49.67% 0.122 135.3)
XYZxyz(8.3594, 13.0434, 3.5157)
Luminance0.1304 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#417121 #512171
analogous
#697121 #417121 #217129
triadic
#417121 #214171 #712141
tetradic
#417121 #216971 #512171 #712921
square
#417121 #216971 #512171 #712921
split-complementary
#417121 #292171 #712169
monochromatic
#0E1807 #264213 #417121 #5CA02F #79C844

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##417121#FFFFFF#000000##FFFFFF
##4171211.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)
#756816
Deuteranopia (green-blind)
#6F6428
Tritanopia (blue-blind)
#406D61
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #417121;
/* rgb */ color: rgb(65, 113, 33);
/* oklch */ color: oklch(49.7% 0.122 135.3);
Tailwind
colors: {
  custom: {
    50: '#7a9a61',
    500: '#417121',
    950: '#000000',
  },
}
SCSS
$custom: #417121;
$custom-light: #7a9a61;
$custom-dark: #000000;
JSON
{
  "hex": "#417121",
  "rgb": {
    "r": 65,
    "g": 113,
    "b": 33
  },
  "hsl": {
    "h": 96,
    "s": 54.795,
    "l": 28.627
  },
  "oklch": {
    "l": 0.49665,
    "c": 0.12239,
    "h": 135.3
  },
  "luminance": 0.13044
}

Semantic roles & 50–950 ramp

primary
#417121
secondary
#8049A5
accent
#4ADEA3
background
#F7F9F5
surface
#EEF2EA
border
#C9CCC6
text
#090E05
muted
#7B7E79

Preview Lab

Preview with #417121

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

Preview Lab → · Contrast checker → · Palette generator →

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