#417C23#417C23

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

Color values

HEX#417C23
RGBrgb(65, 124, 35)
HSLhsl(100, 56%, 31%)
HSVhsv(100, 72%, 49%)
CMYKcmyk(47.6%, 0%, 71.8%, 51.4%)
CIE-LABlab(46.52, -35.92, 40.76)
CIE-LCHlch(46.52, 54.33, 131.39°)
OKLaboklab(52.7% -0.0995 0.0928)
OKLCHoklch(52.7% 0.136 137)
XYZxyz(9.6907, 15.6598, 4.1018)
Luminance0.1566 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#417C23 #5E237C
analogous
#6D7C23 #417C23 #237C31
triadic
#417C23 #23417C #7C2341
tetradic
#417C23 #236D7C #5E237C #7C3123
square
#417C23 #236D7C #5E237C #7C3123
split-complementary
#417C23 #31237C #7C236D
monochromatic
#0F1D08 #284C16 #417C23 #5AAC30 #78CD4D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##417C23#FFFFFF#000000##FFFFFF
##417C231.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)
#807116
Deuteranopia (green-blind)
#786C2B
Tritanopia (blue-blind)
#3E776A
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #417c23;
/* rgb */ color: rgb(65, 124, 35);
/* oklch */ color: oklch(52.7% 0.136 137.0);
Tailwind
colors: {
  custom: {
    50: '#7ba263',
    500: '#417c23',
    950: '#000000',
  },
}
SCSS
$custom: #417c23;
$custom-light: #7ba263;
$custom-dark: #000000;
JSON
{
  "hex": "#417c23",
  "rgb": {
    "r": 65,
    "g": 124,
    "b": 35
  },
  "hsl": {
    "h": 99.775,
    "s": 55.975,
    "l": 31.176
  },
  "oklch": {
    "l": 0.52699,
    "c": 0.13606,
    "h": 137
  },
  "luminance": 0.1566
}

Semantic roles & 50–950 ramp

primary
#417C23
secondary
#8D4CAF
accent
#49DFAC
background
#F7FAF6
surface
#EEF3EB
border
#C9CDC6
text
#0A0F06
muted
#7C7F7A

Preview Lab

Preview with #417C23

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

Preview Lab → · Contrast checker → · Palette generator →

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