#417C15#417C15

#417C15 is a mid, vivid yellow-green. Relative luminance 0.156; OKLCH L 52.6% C 0.144 H 135.5°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#417C15
RGBrgb(65, 124, 21)
HSLhsl(94, 71%, 28%)
HSVhsv(94, 83%, 49%)
CMYKcmyk(47.6%, 0%, 83.1%, 51.4%)
CIE-LABlab(46.44, -36.89, 45.82)
CIE-LCHlch(46.44, 58.82, 128.84°)
OKLaboklab(52.6% -0.1031 0.1012)
OKLCHoklch(52.6% 0.144 135.5)
XYZxyz(9.5228, 15.5927, 3.2172)
Luminance0.1559 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#417C15 #50157C
analogous
#747C15 #417C15 #157C1D
triadic
#417C15 #15417C #7C1541
tetradic
#417C15 #15747C #50157C #7C1D15
square
#417C15 #15747C #50157C #7C1D15
split-complementary
#417C15 #1D157C #7C1574
monochromatic
#0E1A04 #26480C #417C15 #5CB01E #79DC30

Accessibility & contrast

On white

5.10
#417C15 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#417C15 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #417C15
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##417C15#FFFFFF#000000##FFFFFF
##417C151.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817100
Deuteranopia (green-blind)
#796C21
Tritanopia (blue-blind)
#3F7769
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #417c15;
/* rgb */ color: rgb(65, 124, 21);
/* oklch */ color: oklch(52.6% 0.144 135.5);
Tailwind
colors: {
  custom: {
    50: '#7ca25c',
    500: '#417c15',
    950: '#000000',
  },
}
SCSS
$custom: #417c15;
$custom-light: #7ca25c;
$custom-dark: #000000;
JSON
{
  "hex": "#417c15",
  "rgb": {
    "r": 65,
    "g": 124,
    "b": 21
  },
  "hsl": {
    "h": 94.369,
    "s": 71.034,
    "l": 28.431
  },
  "oklch": {
    "l": 0.52597,
    "c": 0.14449,
    "h": 135.5
  },
  "luminance": 0.15593
}

Semantic roles & 50–950 ramp

primary
#417C15
secondary
#7F3CB1
accent
#3AEEA1
background
#F7FAF5
surface
#EEF3E9
border
#C9CDC5
text
#0A0F04
muted
#7C7F79

Preview Lab

Preview with #417C15

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

Preview Lab → · Contrast checker → · Palette generator →

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