#417228#417228

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

Color values

HEX#417228
RGBrgb(65, 114, 40)
HSLhsl(100, 48%, 30%)
HSVhsv(100, 65%, 45%)
CMYKcmyk(43%, 0%, 64.9%, 55.3%)
CIE-LABlab(43.23, -31.00, 34.95)
CIE-LCHlch(43.23, 46.72, 131.57°)
OKLaboklab(50.01% -0.0858 0.0812)
OKLCHoklch(50.01% 0.118 136.6)
XYZxyz(8.5801, 13.3112, 4.1243)
Luminance0.1331 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#417228 #592872
analogous
#667228 #417228 #287234
triadic
#417228 #284172 #722841
tetradic
#417228 #286672 #592872 #723428
square
#417228 #286672 #592872 #723428
split-complementary
#417228 #342872 #722866
monochromatic
#0D1708 #274518 #417228 #5B9F38 #78C252

Accessibility & contrast

On white

5.73
#417228 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #417228
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##417228#FFFFFF#000000##FFFFFF
##4172281.005.733.665.73
#FFFFFF5.731.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #417228;
/* rgb */ color: rgb(65, 114, 40);
/* oklch */ color: oklch(50.0% 0.118 136.6);
Tailwind
colors: {
  custom: {
    50: '#7a9b65',
    500: '#417228',
    950: '#000000',
  },
}
SCSS
$custom: #417228;
$custom-light: #7a9b65;
$custom-dark: #000000;
JSON
{
  "hex": "#417228",
  "rgb": {
    "r": 65,
    "g": 114,
    "b": 40
  },
  "hsl": {
    "h": 99.73,
    "s": 48.052,
    "l": 30.196
  },
  "oklch": {
    "l": 0.50012,
    "c": 0.11808,
    "h": 136.6
  },
  "luminance": 0.13312
}

Semantic roles & 50–950 ramp

primary
#417228
secondary
#8852A4
accent
#50D8AA
background
#F7F9F6
surface
#EEF2EB
border
#C9CCC6
text
#090E06
muted
#7B7E7A

Preview Lab

Preview with #417228

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

Preview Lab → · Contrast checker → · Palette generator →

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