#417E19#417E19

#417E19 is a mid, vivid yellow-green. Relative luminance 0.161; OKLCH L 53.2% C 0.145 H 136.1°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#417E19
RGBrgb(65, 126, 25)
HSLhsl(96, 67%, 30%)
HSVhsv(96, 80%, 49%)
CMYKcmyk(48.4%, 0%, 80.2%, 50.6%)
CIE-LABlab(47.13, -37.51, 45.17)
CIE-LCHlch(47.13, 58.71, 129.70°)
OKLaboklab(53.17% -0.1045 0.1005)
OKLCHoklch(53.17% 0.145 136.1)
XYZxyz(9.8160, 16.1151, 3.5128)
Luminance0.1612 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#417E19 #56197E
analogous
#737E19 #417E19 #197E24
triadic
#417E19 #19417E #7E1941
tetradic
#417E19 #19737E #56197E #7E2419
square
#417E19 #19737E #56197E #7E2419
split-complementary
#417E19 #24197E #7E1973
monochromatic
#0D1A05 #274B0F #417E19 #5BB123 #78D83A

Accessibility & contrast

On white

4.97
#417E19 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#417E19 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #417E19
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##417E19#FFFFFF#000000##FFFFFF
##417E191.004.974.224.97
#FFFFFF4.971.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837300
Deuteranopia (green-blind)
#7B6E24
Tritanopia (blue-blind)
#3E796B
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #417e19;
/* rgb */ color: rgb(65, 126, 25);
/* oklch */ color: oklch(53.2% 0.145 136.1);
Tailwind
colors: {
  custom: {
    50: '#7ca45f',
    500: '#417e19',
    950: '#000000',
  },
}
SCSS
$custom: #417e19;
$custom-light: #7ca45f;
$custom-dark: #000000;
JSON
{
  "hex": "#417e19",
  "rgb": {
    "r": 65,
    "g": 126,
    "b": 25
  },
  "hsl": {
    "h": 96.238,
    "s": 66.887,
    "l": 29.608
  },
  "oklch": {
    "l": 0.5317,
    "c": 0.14498,
    "h": 136.1
  },
  "luminance": 0.16116
}

Semantic roles & 50–950 ramp

primary
#417E19
secondary
#8541B2
accent
#3EEAA6
background
#F7FAF5
surface
#EEF4EA
border
#C9CEC6
text
#0A0F05
muted
#7C7F79

Preview Lab

Preview with #417E19

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

Preview Lab → · Contrast checker → · Palette generator →

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