#417B15#417B15

#417B15 is a mid, vivid yellow-green. Relative luminance 0.153; OKLCH L 52.3% C 0.143 H 135.4°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#417B15
RGBrgb(65, 123, 21)
HSLhsl(94, 71%, 28%)
HSVhsv(94, 83%, 48%)
CMYKcmyk(47.2%, 0%, 82.9%, 51.8%)
CIE-LABlab(46.10, -36.47, 45.51)
CIE-LCHlch(46.10, 58.32, 128.71°)
OKLaboklab(52.32% -0.102 0.1006)
OKLCHoklch(52.32% 0.143 135.4)
XYZxyz(9.3981, 15.3433, 3.1757)
Luminance0.1534 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#417B15 #4F157B
analogous
#747B15 #417B15 #157B1C
triadic
#417B15 #15417B #7B1541
tetradic
#417B15 #15747B #4F157B #7B1C15
square
#417B15 #15747B #4F157B #7B1C15
split-complementary
#417B15 #1C157B #7B1574
monochromatic
#0E1A04 #25470C #417B15 #5DAF1E #79DB2F

Accessibility & contrast

On white

5.16
#417B15 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#417B15 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #417B15
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##417B15#FFFFFF#000000##FFFFFF
##417B151.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807000
Deuteranopia (green-blind)
#786B21
Tritanopia (blue-blind)
#3F7668
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #417b15;
/* rgb */ color: rgb(65, 123, 21);
/* oklch */ color: oklch(52.3% 0.143 135.4);
Tailwind
colors: {
  custom: {
    50: '#7ca25c',
    500: '#417b15',
    950: '#000000',
  },
}
SCSS
$custom: #417b15;
$custom-light: #7ca25c;
$custom-dark: #000000;
JSON
{
  "hex": "#417b15",
  "rgb": {
    "r": 65,
    "g": 123,
    "b": 21
  },
  "hsl": {
    "h": 94.118,
    "s": 70.833,
    "l": 28.235
  },
  "oklch": {
    "l": 0.52322,
    "c": 0.14322,
    "h": 135.4
  },
  "luminance": 0.15344
}

Semantic roles & 50–950 ramp

primary
#417B15
secondary
#7E3BB0
accent
#3AEEA0
background
#F7FAF5
surface
#EEF3E9
border
#C9CDC5
text
#0A0F04
muted
#7C7F79

Preview Lab

Preview with #417B15

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

Preview Lab → · Contrast checker → · Palette generator →

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