#417226#417226

#417226 is a mid, moderate yellow-green. Relative luminance 0.133; OKLCH L 50.0% C 0.120 H 136.2°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#417226
RGBrgb(65, 114, 38)
HSLhsl(99, 50%, 30%)
HSVhsv(99, 67%, 45%)
CMYKcmyk(43%, 0%, 66.7%, 55.3%)
CIE-LABlab(43.21, -31.20, 35.88)
CIE-LCHlch(43.21, 47.55, 131.01°)
OKLaboklab(49.99% -0.0865 0.0829)
OKLCHoklch(49.99% 0.12 136.2)
XYZxyz(8.5469, 13.2979, 3.9498)
Luminance0.1330 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#417226 #572672
analogous
#677226 #417226 #267231
triadic
#417226 #264172 #722641
tetradic
#417226 #266772 #572672 #723126
square
#417226 #266772 #572672 #723126
split-complementary
#417226 #312672 #722667
monochromatic
#0D1708 #274417 #417226 #5BA035 #78C44E

Accessibility & contrast

On white

5.74
#417226 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#417226 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #417226
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##417226#FFFFFF#000000##FFFFFF
##4172261.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#76691D
Deuteranopia (green-blind)
#6F652C
Tritanopia (blue-blind)
#3F6E62
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #417226;
/* rgb */ color: rgb(65, 114, 38);
/* oklch */ color: oklch(50.0% 0.120 136.2);
Tailwind
colors: {
  custom: {
    50: '#7a9b64',
    500: '#417226',
    950: '#000000',
  },
}
SCSS
$custom: #417226;
$custom-light: #7a9b64;
$custom-dark: #000000;
JSON
{
  "hex": "#417226",
  "rgb": {
    "r": 65,
    "g": 114,
    "b": 38
  },
  "hsl": {
    "h": 98.684,
    "s": 50,
    "l": 29.804
  },
  "oklch": {
    "l": 0.4999,
    "c": 0.1198,
    "h": 136.2
  },
  "luminance": 0.13298
}

Semantic roles & 50–950 ramp

primary
#417226
secondary
#864FA5
accent
#4EDAA8
background
#F7F9F6
surface
#EEF2EB
border
#C9CCC6
text
#090E06
muted
#7B7E7A

Preview Lab

Preview with #417226

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

Preview Lab → · Contrast checker → · Palette generator →

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