#417B22#417B22

#417B22 is a mid, vivid yellow-green. Relative luminance 0.154; OKLCH L 52.4% C 0.135 H 136.8°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#417B22
RGBrgb(65, 123, 34)
HSLhsl(99, 57%, 31%)
HSVhsv(99, 72%, 48%)
CMYKcmyk(47.2%, 0%, 72.4%, 51.8%)
CIE-LABlab(46.18, -35.57, 40.82)
CIE-LCHlch(46.18, 54.15, 131.07°)
OKLaboklab(52.42% -0.0987 0.0928)
OKLCHoklch(52.42% 0.135 136.8)
XYZxyz(9.5514, 15.4046, 3.9832)
Luminance0.1540 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#417B22 #5C227B
analogous
#6D7B22 #417B22 #227B2F
triadic
#417B22 #22417B #7B2241
tetradic
#417B22 #226D7B #5C227B #7B2F22
square
#417B22 #226D7B #5C227B #7B2F22
split-complementary
#417B22 #2F227B #7B226D
monochromatic
#0E1B07 #284B15 #417B22 #5AAB2F #78CD4A

Accessibility & contrast

On white

5.15
#417B22 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#417B22 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #417B22
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##417B22#FFFFFF#000000##FFFFFF
##417B221.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7014
Deuteranopia (green-blind)
#786C2A
Tritanopia (blue-blind)
#3E7669
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #417b22;
/* rgb */ color: rgb(65, 123, 34);
/* oklch */ color: oklch(52.4% 0.135 136.8);
Tailwind
colors: {
  custom: {
    50: '#7ba263',
    500: '#417b22',
    950: '#000000',
  },
}
SCSS
$custom: #417b22;
$custom-light: #7ba263;
$custom-dark: #000000;
JSON
{
  "hex": "#417b22",
  "rgb": {
    "r": 65,
    "g": 123,
    "b": 34
  },
  "hsl": {
    "h": 99.101,
    "s": 56.688,
    "l": 30.784
  },
  "oklch": {
    "l": 0.52416,
    "c": 0.13542,
    "h": 136.8
  },
  "luminance": 0.15405
}

Semantic roles & 50–950 ramp

primary
#417B22
secondary
#8B4BAE
accent
#48E0AB
background
#F7FAF6
surface
#EEF3EB
border
#C9CDC6
text
#0A0F05
muted
#7C7F7A

Preview Lab

Preview with #417B22

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

Preview Lab → · Contrast checker → · Palette generator →

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