#417120#417120

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

Color values

HEX#417120
RGBrgb(65, 113, 32)
HSLhsl(96, 56%, 28%)
HSVhsv(96, 72%, 44%)
CMYKcmyk(42.5%, 0%, 71.7%, 55.7%)
CIE-LABlab(42.82, -31.30, 38.17)
CIE-LCHlch(42.82, 49.36, 129.35°)
OKLaboklab(49.66% -0.0872 0.0869)
OKLCHoklch(49.66% 0.123 135.1)
XYZxyz(8.3456, 13.0379, 3.4430)
Luminance0.1304 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#417120 #502071
analogous
#697120 #417120 #207128
triadic
#417120 #204171 #712041
tetradic
#417120 #206971 #502071 #712820
square
#417120 #206971 #502071 #712820
split-complementary
#417120 #282071 #712069
monochromatic
#0E1807 #264112 #417120 #5CA12E #79C942

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##417120#FFFFFF#000000##FFFFFF
##4171201.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)
#756814
Deuteranopia (green-blind)
#6F6427
Tritanopia (blue-blind)
#406D61
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #417120;
/* rgb */ color: rgb(65, 113, 32);
/* oklch */ color: oklch(49.7% 0.123 135.1);
Tailwind
colors: {
  custom: {
    50: '#7a9a60',
    500: '#417120',
    950: '#000000',
  },
}
SCSS
$custom: #417120;
$custom-light: #7a9a60;
$custom-dark: #000000;
JSON
{
  "hex": "#417120",
  "rgb": {
    "r": 65,
    "g": 113,
    "b": 32
  },
  "hsl": {
    "h": 95.556,
    "s": 55.862,
    "l": 28.431
  },
  "oklch": {
    "l": 0.49655,
    "c": 0.12314,
    "h": 135.1
  },
  "luminance": 0.13038
}

Semantic roles & 50–950 ramp

primary
#417120
secondary
#7F48A5
accent
#49DFA2
background
#F7F9F5
surface
#EEF2EA
border
#C9CCC6
text
#090E05
muted
#7B7E79

Preview Lab

Preview with #417120

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

Preview Lab → · Contrast checker → · Palette generator →

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