#417C22#417C22

#417C22 is a mid, vivid yellow-green. Relative luminance 0.157; OKLCH L 52.7% C 0.137 H 136.9°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#417C22
RGBrgb(65, 124, 34)
HSLhsl(99, 57%, 31%)
HSVhsv(99, 73%, 49%)
CMYKcmyk(47.6%, 0%, 72.6%, 51.4%)
CIE-LABlab(46.52, -36.00, 41.17)
CIE-LCHlch(46.52, 54.69, 131.17°)
OKLaboklab(52.69% -0.0998 0.0935)
OKLCHoklch(52.69% 0.137 136.9)
XYZxyz(9.6761, 15.6540, 4.0247)
Luminance0.1565 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#417C22 #5D227C
analogous
#6E7C22 #417C22 #227C30
triadic
#417C22 #22417C #7C2241
tetradic
#417C22 #226E7C #5D227C #7C3022
square
#417C22 #226E7C #5D227C #7C3022
split-complementary
#417C22 #30227C #7C226E
monochromatic
#0F1C08 #284C15 #417C22 #5AAC2F #78CE4B

Accessibility & contrast

On white

5.08
#417C22 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#417C22 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #417C22
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##417C22#FFFFFF#000000##FFFFFF
##417C221.005.084.135.08
#FFFFFF5.081.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807114
Deuteranopia (green-blind)
#786C2A
Tritanopia (blue-blind)
#3E776A
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #417c22;
/* rgb */ color: rgb(65, 124, 34);
/* oklch */ color: oklch(52.7% 0.137 136.9);
Tailwind
colors: {
  custom: {
    50: '#7ba263',
    500: '#417c22',
    950: '#000000',
  },
}
SCSS
$custom: #417c22;
$custom-light: #7ba263;
$custom-dark: #000000;
JSON
{
  "hex": "#417c22",
  "rgb": {
    "r": 65,
    "g": 124,
    "b": 34
  },
  "hsl": {
    "h": 99.333,
    "s": 56.962,
    "l": 30.98
  },
  "oklch": {
    "l": 0.5269,
    "c": 0.13676,
    "h": 136.9
  },
  "luminance": 0.15655
}

Semantic roles & 50–950 ramp

primary
#417C22
secondary
#8C4BAF
accent
#48E0AC
background
#F7FAF6
surface
#EEF3EB
border
#C9CDC6
text
#0A0F05
muted
#7C7F7A

Preview Lab

Preview with #417C22

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

Preview Lab → · Contrast checker → · Palette generator →

#417C22 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva