#417A23#417A23

#417A23 is a mid, vivid yellow-green. Relative luminance 0.152; OKLCH L 52.2% C 0.133 H 136.8°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#417A23
RGBrgb(65, 122, 35)
HSLhsl(99, 55%, 31%)
HSVhsv(99, 71%, 48%)
CMYKcmyk(46.7%, 0%, 71.3%, 52.2%)
CIE-LABlab(45.86, -35.05, 40.06)
CIE-LCHlch(45.86, 53.23, 131.19°)
OKLaboklab(52.15% -0.0972 0.0913)
OKLCHoklch(52.15% 0.133 136.8)
XYZxyz(9.4426, 15.1636, 4.0191)
Luminance0.1516 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#417A23 #5C237A
analogous
#6C7A23 #417A23 #237A30
triadic
#417A23 #23417A #7A2341
tetradic
#417A23 #236C7A #5C237A #7A3023
square
#417A23 #236C7A #5C237A #7A3023
split-complementary
#417A23 #30237A #7A236C
monochromatic
#0E1B08 #284A15 #417A23 #5AAA31 #78CC4C

Accessibility & contrast

On white

5.21
#417A23 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#417A23 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #417A23
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##417A23#FFFFFF#000000##FFFFFF
##417A231.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E7016
Deuteranopia (green-blind)
#776B2B
Tritanopia (blue-blind)
#3E7569
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #417a23;
/* rgb */ color: rgb(65, 122, 35);
/* oklch */ color: oklch(52.2% 0.133 136.8);
Tailwind
colors: {
  custom: {
    50: '#7ba163',
    500: '#417a23',
    950: '#000000',
  },
}
SCSS
$custom: #417a23;
$custom-light: #7ba163;
$custom-dark: #000000;
JSON
{
  "hex": "#417a23",
  "rgb": {
    "r": 65,
    "g": 122,
    "b": 35
  },
  "hsl": {
    "h": 99.31,
    "s": 55.414,
    "l": 30.784
  },
  "oklch": {
    "l": 0.52151,
    "c": 0.13334,
    "h": 136.8
  },
  "luminance": 0.15164
}

Semantic roles & 50–950 ramp

primary
#417A23
secondary
#8B4CAD
accent
#49DFAB
background
#F7F9F6
surface
#EEF2EB
border
#C9CCC6
text
#0A0F05
muted
#7C7E7A

Preview Lab

Preview with #417A23

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

Preview Lab → · Contrast checker → · Palette generator →

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