#417F1A#417F1A

#417F1A is a mid, vivid yellow-green. Relative luminance 0.164; OKLCH L 53.5% C 0.146 H 136.3°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#417F1A
RGBrgb(65, 127, 26)
HSLhsl(97, 66%, 30%)
HSVhsv(97, 80%, 50%)
CMYKcmyk(48.8%, 0%, 79.5%, 50.2%)
CIE-LABlab(47.46, -37.86, 45.15)
CIE-LCHlch(47.46, 58.92, 129.98°)
OKLaboklab(53.45% -0.1054 0.1006)
OKLCHoklch(53.45% 0.146 136.3)
XYZxyz(9.9555, 16.3765, 3.6135)
Luminance0.1638 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#417F1A #581A7F
analogous
#737F1A #417F1A #1A7F26
triadic
#417F1A #1A417F #7F1A41
tetradic
#417F1A #1A737F #581A7F #7F261A
square
#417F1A #1A737F #581A7F #7F261A
split-complementary
#417F1A #261A7F #7F1A73
monochromatic
#0D1905 #274C10 #417F1A #5BB224 #78D73C

Accessibility & contrast

On white

4.91
#417F1A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#417F1A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #417F1A
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##417F1A#FFFFFF#000000##FFFFFF
##417F1A1.004.914.284.91
#FFFFFF4.911.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847401
Deuteranopia (green-blind)
#7B6F25
Tritanopia (blue-blind)
#3E7A6C
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #417f1a;
/* rgb */ color: rgb(65, 127, 26);
/* oklch */ color: oklch(53.5% 0.146 136.3);
Tailwind
colors: {
  custom: {
    50: '#7ca55f',
    500: '#417f1a',
    950: '#000000',
  },
}
SCSS
$custom: #417f1a;
$custom-light: #7ca55f;
$custom-dark: #000000;
JSON
{
  "hex": "#417f1a",
  "rgb": {
    "r": 65,
    "g": 127,
    "b": 26
  },
  "hsl": {
    "h": 96.832,
    "s": 66.013,
    "l": 30
  },
  "oklch": {
    "l": 0.53451,
    "c": 0.14571,
    "h": 136.3
  },
  "luminance": 0.16377
}

Semantic roles & 50–950 ramp

primary
#417F1A
secondary
#8742B3
accent
#3FE9A7
background
#F7FAF5
surface
#EEF4EA
border
#C9CEC6
text
#0A0F05
muted
#7C7F79

Preview Lab

Preview with #417F1A

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

Preview Lab → · Contrast checker → · Palette generator →

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