#417E1F#417E1F

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

Color values

HEX#417E1F
RGBrgb(65, 126, 31)
HSLhsl(99, 61%, 31%)
HSVhsv(99, 75%, 49%)
CMYKcmyk(48.4%, 0%, 75.4%, 50.6%)
CIE-LABlab(47.16, -37.10, 43.02)
CIE-LCHlch(47.16, 56.81, 130.77°)
OKLaboklab(53.21% -0.103 0.0969)
OKLCHoklch(53.21% 0.141 136.7)
XYZxyz(9.8879, 16.1438, 3.8911)
Luminance0.1614 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#417E1F #5C1F7E
analogous
#707E1F #417E1F #1F7E2C
triadic
#417E1F #1F417E #7E1F41
tetradic
#417E1F #1F707E #5C1F7E #7E2C1F
square
#417E1F #1F707E #5C1F7E #7E2C1F
split-complementary
#417E1F #2C1F7E #7E1F70
monochromatic
#0E1C07 #284D13 #417E1F #5AAF2B #78D146

Accessibility & contrast

On white

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

On black

4.23
#417E1F on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##417E1F#FFFFFF#000000##FFFFFF
##417E1F1.004.974.234.97
#FFFFFF4.971.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#82730D
Deuteranopia (green-blind)
#7A6E28
Tritanopia (blue-blind)
#3E796C
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #417e1f;
/* rgb */ color: rgb(65, 126, 31);
/* oklch */ color: oklch(53.2% 0.141 136.7);
Tailwind
colors: {
  custom: {
    50: '#7ca461',
    500: '#417e1f',
    950: '#000000',
  },
}
SCSS
$custom: #417e1f;
$custom-light: #7ca461;
$custom-dark: #000000;
JSON
{
  "hex": "#417e1f",
  "rgb": {
    "r": 65,
    "g": 126,
    "b": 31
  },
  "hsl": {
    "h": 98.526,
    "s": 60.51,
    "l": 30.784
  },
  "oklch": {
    "l": 0.53213,
    "c": 0.14144,
    "h": 136.7
  },
  "luminance": 0.16144
}

Semantic roles & 50–950 ramp

primary
#417E1F
secondary
#8B48B1
accent
#44E4AB
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A0F05
muted
#7C7F7A

Preview Lab

Preview with #417E1F

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

Preview Lab → · Contrast checker → · Palette generator →

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