#417B1A#417B1A

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

Color values

HEX#417B1A
RGBrgb(65, 123, 26)
HSLhsl(96, 65%, 29%)
HSVhsv(96, 79%, 48%)
CMYKcmyk(47.2%, 0%, 78.9%, 51.8%)
CIE-LABlab(46.13, -36.17, 43.86)
CIE-LCHlch(46.13, 56.85, 129.51°)
OKLaboklab(52.35% -0.1008 0.0979)
OKLCHoklch(52.35% 0.141 135.8)
XYZxyz(9.4491, 15.3637, 3.4447)
Luminance0.1536 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#417B1A #541A7B
analogous
#727B1A #417B1A #1A7B23
triadic
#417B1A #1A417B #7B1A41
tetradic
#417B1A #1A727B #541A7B #7B231A
square
#417B1A #1A727B #541A7B #7B231A
split-complementary
#417B1A #231A7B #7B1A72
monochromatic
#0D1905 #26480F #417B1A #5CAE25 #78D53A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##417B1A#FFFFFF#000000##FFFFFF
##417B1A1.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)
#807004
Deuteranopia (green-blind)
#786C24
Tritanopia (blue-blind)
#3F7669
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #417b1a;
/* rgb */ color: rgb(65, 123, 26);
/* oklch */ color: oklch(52.4% 0.141 135.8);
Tailwind
colors: {
  custom: {
    50: '#7ca25f',
    500: '#417b1a',
    950: '#000000',
  },
}
SCSS
$custom: #417b1a;
$custom-light: #7ca25f;
$custom-dark: #000000;
JSON
{
  "hex": "#417b1a",
  "rgb": {
    "r": 65,
    "g": 123,
    "b": 26
  },
  "hsl": {
    "h": 95.876,
    "s": 65.101,
    "l": 29.216
  },
  "oklch": {
    "l": 0.52353,
    "c": 0.14056,
    "h": 135.8
  },
  "luminance": 0.15364
}

Semantic roles & 50–950 ramp

primary
#417B1A
secondary
#8342AF
accent
#40E8A4
background
#F7FAF5
surface
#EEF3E9
border
#C9CDC5
text
#0A0F05
muted
#7C7F79

Preview Lab

Preview with #417B1A

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

Preview Lab → · Contrast checker → · Palette generator →

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