#417A1E#417A1E

#417A1E is a mid, vivid yellow-green. Relative luminance 0.151; OKLCH L 52.1% C 0.137 H 136.1°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#417A1E
RGBrgb(65, 122, 30)
HSLhsl(97, 61%, 30%)
HSVhsv(97, 75%, 48%)
CMYKcmyk(46.7%, 0%, 75.4%, 52.2%)
CIE-LABlab(45.82, -35.46, 42.07)
CIE-LCHlch(45.82, 55.02, 130.13°)
OKLaboklab(52.11% -0.0986 0.0948)
OKLCHoklch(52.11% 0.137 136.1)
XYZxyz(9.3736, 15.1360, 3.6557)
Luminance0.1514 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#417A1E #571E7A
analogous
#6F7A1E #417A1E #1E7A29
triadic
#417A1E #1E417A #7A1E41
tetradic
#417A1E #1E6F7A #571E7A #7A291E
square
#417A1E #1E6F7A #571E7A #7A291E
split-complementary
#417A1E #291E7A #7A1E6F
monochromatic
#0D1906 #274912 #417A1E #5BAB2A #78D042

Accessibility & contrast

On white

5.21
#417A1E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#417A1E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #417A1E
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##417A1E#FFFFFF#000000##FFFFFF
##417A1E1.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E6F0D
Deuteranopia (green-blind)
#776B27
Tritanopia (blue-blind)
#3F7568
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #417a1e;
/* rgb */ color: rgb(65, 122, 30);
/* oklch */ color: oklch(52.1% 0.137 136.1);
Tailwind
colors: {
  custom: {
    50: '#7ba160',
    500: '#417a1e',
    950: '#000000',
  },
}
SCSS
$custom: #417a1e;
$custom-light: #7ba160;
$custom-dark: #000000;
JSON
{
  "hex": "#417a1e",
  "rgb": {
    "r": 65,
    "g": 122,
    "b": 30
  },
  "hsl": {
    "h": 97.174,
    "s": 60.526,
    "l": 29.804
  },
  "oklch": {
    "l": 0.52108,
    "c": 0.1368,
    "h": 136.1
  },
  "luminance": 0.15137
}

Semantic roles & 50–950 ramp

primary
#417A1E
secondary
#8646AE
accent
#44E4A7
background
#F7F9F5
surface
#EEF2EA
border
#C9CCC6
text
#0A0F05
muted
#7C7E79

Preview Lab

Preview with #417A1E

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

Preview Lab → · Contrast checker → · Palette generator →

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