#417B1D#417B1D

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

Color values

HEX#417B1D
RGBrgb(65, 123, 29)
HSLhsl(97, 62%, 30%)
HSVhsv(97, 76%, 48%)
CMYKcmyk(47.2%, 0%, 76.4%, 51.8%)
CIE-LABlab(46.15, -35.96, 42.78)
CIE-LCHlch(46.15, 55.89, 130.05°)
OKLaboklab(52.38% -0.1001 0.0961)
OKLCHoklch(52.38% 0.139 136.2)
XYZxyz(9.4845, 15.3779, 3.6306)
Luminance0.1538 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#417B1D #571D7B
analogous
#707B1D #417B1D #1D7B28
triadic
#417B1D #1D417B #7B1D41
tetradic
#417B1D #1D707B #571D7B #7B281D
square
#417B1D #1D707B #571D7B #7B281D
split-complementary
#417B1D #281D7B #7B1D70
monochromatic
#0D1906 #274911 #417B1D #5BAD29 #78D240

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##417B1D#FFFFFF#000000##FFFFFF
##417B1D1.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)
#7F700B
Deuteranopia (green-blind)
#786C26
Tritanopia (blue-blind)
#3F7669
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #417b1d;
/* rgb */ color: rgb(65, 123, 29);
/* oklch */ color: oklch(52.4% 0.139 136.2);
Tailwind
colors: {
  custom: {
    50: '#7ba260',
    500: '#417b1d',
    950: '#000000',
  },
}
SCSS
$custom: #417b1d;
$custom-light: #7ba260;
$custom-dark: #000000;
JSON
{
  "hex": "#417b1d",
  "rgb": {
    "r": 65,
    "g": 123,
    "b": 29
  },
  "hsl": {
    "h": 97.021,
    "s": 61.842,
    "l": 29.804
  },
  "oklch": {
    "l": 0.52375,
    "c": 0.13876,
    "h": 136.2
  },
  "luminance": 0.15378
}

Semantic roles & 50–950 ramp

primary
#417B1D
secondary
#8645AF
accent
#43E5A7
background
#F7FAF5
surface
#EEF3EA
border
#C9CDC6
text
#0A0F05
muted
#7C7F79

Preview Lab

Preview with #417B1D

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

Preview Lab → · Contrast checker → · Palette generator →

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