#417B1E#417B1E

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

Color values

HEX#417B1E
RGBrgb(65, 123, 30)
HSLhsl(97, 61%, 30%)
HSVhsv(97, 76%, 48%)
CMYKcmyk(47.2%, 0%, 75.6%, 51.8%)
CIE-LABlab(46.15, -35.89, 42.40)
CIE-LCHlch(46.15, 55.55, 130.25°)
OKLaboklab(52.38% -0.0998 0.0955)
OKLCHoklch(52.38% 0.138 136.3)
XYZxyz(9.4970, 15.3829, 3.6968)
Luminance0.1538 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#417B1E #581E7B
analogous
#707B1E #417B1E #1E7B29
triadic
#417B1E #1E417B #7B1E41
tetradic
#417B1E #1E707B #581E7B #7B291E
square
#417B1E #1E707B #581E7B #7B291E
split-complementary
#417B1E #291E7B #7B1E70
monochromatic
#0D1906 #274A12 #417B1E #5BAC2A #78D142

Accessibility & contrast

On white

5.15
#417B1E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#417B1E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #417B1E
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##417B1E#FFFFFF#000000##FFFFFF
##417B1E1.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F700D
Deuteranopia (green-blind)
#786C27
Tritanopia (blue-blind)
#3E7669
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #417b1e;
/* rgb */ color: rgb(65, 123, 30);
/* oklch */ color: oklch(52.4% 0.138 136.3);
Tailwind
colors: {
  custom: {
    50: '#7ba261',
    500: '#417b1e',
    950: '#000000',
  },
}
SCSS
$custom: #417b1e;
$custom-light: #7ba261;
$custom-dark: #000000;
JSON
{
  "hex": "#417b1e",
  "rgb": {
    "r": 65,
    "g": 123,
    "b": 30
  },
  "hsl": {
    "h": 97.419,
    "s": 60.784,
    "l": 30
  },
  "oklch": {
    "l": 0.52383,
    "c": 0.13812,
    "h": 136.3
  },
  "luminance": 0.15383
}

Semantic roles & 50–950 ramp

primary
#417B1E
secondary
#8746AE
accent
#44E4A8
background
#F7FAF5
surface
#EEF3EA
border
#C9CDC6
text
#0A0F05
muted
#7C7F79

Preview Lab

Preview with #417B1E

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

Preview Lab → · Contrast checker → · Palette generator →

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