#417B16#417B16

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

Color values

HEX#417B16
RGBrgb(65, 123, 22)
HSLhsl(94, 70%, 28%)
HSVhsv(94, 82%, 48%)
CMYKcmyk(47.2%, 0%, 82.1%, 51.8%)
CIE-LABlab(46.11, -36.41, 45.20)
CIE-LCHlch(46.11, 58.04, 128.86°)
OKLaboklab(52.33% -0.1018 0.1001)
OKLCHoklch(52.33% 0.143 135.5)
XYZxyz(9.4075, 15.3471, 3.2255)
Luminance0.1535 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#417B16 #50167B
analogous
#737B16 #417B16 #167B1D
triadic
#417B16 #16417B #7B1641
tetradic
#417B16 #16737B #50167B #7B1D16
square
#417B16 #16737B #50167B #7B1D16
split-complementary
#417B16 #1D167B #7B1673
monochromatic
#0E1A05 #26470D #417B16 #5CAF1F #79DA31

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##417B16#FFFFFF#000000##FFFFFF
##417B161.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)
#786B22
Tritanopia (blue-blind)
#3F7668
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #417b16;
/* rgb */ color: rgb(65, 123, 22);
/* oklch */ color: oklch(52.3% 0.143 135.5);
Tailwind
colors: {
  custom: {
    50: '#7ca25d',
    500: '#417b16',
    950: '#000000',
  },
}
SCSS
$custom: #417b16;
$custom-light: #7ca25d;
$custom-dark: #000000;
JSON
{
  "hex": "#417b16",
  "rgb": {
    "r": 65,
    "g": 123,
    "b": 22
  },
  "hsl": {
    "h": 94.455,
    "s": 69.655,
    "l": 28.431
  },
  "oklch": {
    "l": 0.52328,
    "c": 0.14273,
    "h": 135.5
  },
  "luminance": 0.15348
}

Semantic roles & 50–950 ramp

primary
#417B16
secondary
#7F3DB0
accent
#3BECA1
background
#F7FAF5
surface
#EEF3E9
border
#C9CDC5
text
#0A0F05
muted
#7C7F79

Preview Lab

Preview with #417B16

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

Preview Lab → · Contrast checker → · Palette generator →

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