#417B19#417B19

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

Color values

HEX#417B19
RGBrgb(65, 123, 25)
HSLhsl(96, 66%, 29%)
HSVhsv(96, 80%, 48%)
CMYKcmyk(47.2%, 0%, 79.7%, 51.8%)
CIE-LABlab(46.12, -36.23, 44.21)
CIE-LCHlch(46.12, 57.16, 129.34°)
OKLaboklab(52.35% -0.1011 0.0985)
OKLCHoklch(52.35% 0.141 135.7)
XYZxyz(9.4382, 15.3593, 3.3868)
Luminance0.1536 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#417B19 #53197B
analogous
#727B19 #417B19 #197B22
triadic
#417B19 #19417B #7B1941
tetradic
#417B19 #19727B #53197B #7B2219
square
#417B19 #19727B #53197B #7B2219
split-complementary
#417B19 #22197B #7B1972
monochromatic
#0D1905 #26480F #417B19 #5CAE23 #79D738

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##417B19#FFFFFF#000000##FFFFFF
##417B191.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)
#807002
Deuteranopia (green-blind)
#786B24
Tritanopia (blue-blind)
#3F7669
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #417b19;
/* rgb */ color: rgb(65, 123, 25);
/* oklch */ color: oklch(52.3% 0.141 135.7);
Tailwind
colors: {
  custom: {
    50: '#7ca25e',
    500: '#417b19',
    950: '#000000',
  },
}
SCSS
$custom: #417b19;
$custom-light: #7ca25e;
$custom-dark: #000000;
JSON
{
  "hex": "#417b19",
  "rgb": {
    "r": 65,
    "g": 123,
    "b": 25
  },
  "hsl": {
    "h": 95.51,
    "s": 66.216,
    "l": 29.02
  },
  "oklch": {
    "l": 0.52347,
    "c": 0.14113,
    "h": 135.7
  },
  "luminance": 0.1536
}

Semantic roles & 50–950 ramp

primary
#417B19
secondary
#8240AF
accent
#3FE9A4
background
#F7FAF5
surface
#EEF3E9
border
#C9CDC5
text
#0A0F05
muted
#7C7F79

Preview Lab

Preview with #417B19

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

Preview Lab → · Contrast checker → · Palette generator →

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