#417223#417223

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

Color values

HEX#417223
RGBrgb(65, 114, 35)
HSLhsl(97, 53%, 29%)
HSVhsv(97, 69%, 45%)
CMYKcmyk(43%, 0%, 69.3%, 55.3%)
CIE-LABlab(43.18, -31.49, 37.23)
CIE-LCHlch(43.18, 48.76, 130.23°)
OKLaboklab(49.96% -0.0875 0.0854)
OKLCHoklch(49.96% 0.122 135.7)
XYZxyz(8.5005, 13.2793, 3.7050)
Luminance0.1328 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#417223 #542372
analogous
#697223 #417223 #23722D
triadic
#417223 #234172 #722341
tetradic
#417223 #236972 #542372 #722D23
square
#417223 #236972 #542372 #722D23
split-complementary
#417223 #2D2372 #722369
monochromatic
#0D1707 #264315 #417223 #5CA131 #78C748

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##417223#FFFFFF#000000##FFFFFF
##4172231.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)
#766918
Deuteranopia (green-blind)
#6F642A
Tritanopia (blue-blind)
#3F6E62
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #417223;
/* rgb */ color: rgb(65, 114, 35);
/* oklch */ color: oklch(50.0% 0.122 135.7);
Tailwind
colors: {
  custom: {
    50: '#7a9b62',
    500: '#417223',
    950: '#000000',
  },
}
SCSS
$custom: #417223;
$custom-light: #7a9b62;
$custom-dark: #000000;
JSON
{
  "hex": "#417223",
  "rgb": {
    "r": 65,
    "g": 114,
    "b": 35
  },
  "hsl": {
    "h": 97.215,
    "s": 53.02,
    "l": 29.216
  },
  "oklch": {
    "l": 0.49959,
    "c": 0.12224,
    "h": 135.7
  },
  "luminance": 0.1328
}

Semantic roles & 50–950 ramp

primary
#417223
secondary
#834CA5
accent
#4BDCA5
background
#F7F9F6
surface
#EEF2EB
border
#C9CCC6
text
#090E05
muted
#7B7E7A

Preview Lab

Preview with #417223

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

Preview Lab → · Contrast checker → · Palette generator →

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