#417D1E#417D1E

#417D1E is a mid, vivid yellow-green. Relative luminance 0.159; OKLCH L 52.9% C 0.141 H 136.5°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#417D1E
RGBrgb(65, 125, 30)
HSLhsl(98, 61%, 30%)
HSVhsv(98, 76%, 49%)
CMYKcmyk(48%, 0%, 76%, 51%)
CIE-LABlab(46.82, -36.74, 43.07)
CIE-LCHlch(46.82, 56.61, 130.47°)
OKLaboklab(52.93% -0.1021 0.0969)
OKLCHoklch(52.93% 0.141 136.5)
XYZxyz(9.7477, 15.8842, 3.7804)
Luminance0.1588 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#417D1E #5A1E7D
analogous
#707D1E #417D1E #1E7D2B
triadic
#417D1E #1E417D #7D1E41
tetradic
#417D1E #1E707D #5A1E7D #7D2B1E
square
#417D1E #1E707D #5A1E7D #7D2B1E
split-complementary
#417D1E #2B1E7D #7D1E70
monochromatic
#0E1A06 #274C12 #417D1E #5BAE2A #78D243

Accessibility & contrast

On white

5.03
#417D1E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#417D1E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #417D1E
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##417D1E#FFFFFF#000000##FFFFFF
##417D1E1.005.034.185.03
#FFFFFF5.031.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#81720C
Deuteranopia (green-blind)
#7A6D28
Tritanopia (blue-blind)
#3E786B
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #417d1e;
/* rgb */ color: rgb(65, 125, 30);
/* oklch */ color: oklch(52.9% 0.141 136.5);
Tailwind
colors: {
  custom: {
    50: '#7ca361',
    500: '#417d1e',
    950: '#000000',
  },
}
SCSS
$custom: #417d1e;
$custom-light: #7ca361;
$custom-dark: #000000;
JSON
{
  "hex": "#417d1e",
  "rgb": {
    "r": 65,
    "g": 125,
    "b": 30
  },
  "hsl": {
    "h": 97.895,
    "s": 61.29,
    "l": 30.392
  },
  "oklch": {
    "l": 0.52931,
    "c": 0.14076,
    "h": 136.5
  },
  "luminance": 0.15885
}

Semantic roles & 50–950 ramp

primary
#417D1E
secondary
#8946B0
accent
#43E4A9
background
#F7FAF5
surface
#EEF4EA
border
#C9CEC6
text
#0A0F05
muted
#7C7F79

Preview Lab

Preview with #417D1E

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

Preview Lab → · Contrast checker → · Palette generator →

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