#417512#417512

#417512 is a mid, vivid yellow-green. Relative luminance 0.139; OKLCH L 50.7% C 0.137 H 134.3°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#417512
RGBrgb(65, 117, 18)
HSLhsl(92, 73%, 26%)
HSVhsv(92, 85%, 46%)
CMYKcmyk(44.4%, 0%, 84.6%, 54.1%)
CIE-LABlab(44.07, -34.03, 44.56)
CIE-LCHlch(44.07, 56.07, 127.37°)
OKLaboklab(50.65% -0.0956 0.0981)
OKLCHoklch(50.65% 0.137 134.3)
XYZxyz(8.6503, 13.8896, 2.7973)
Luminance0.1389 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#417512 #461275
analogous
#737512 #417512 #127515
triadic
#417512 #124175 #751241
tetradic
#417512 #127375 #461275 #751512
square
#417512 #127375 #461275 #751512
split-complementary
#417512 #151275 #751273
monochromatic
#0F1B04 #24400A #417512 #5EAA1A #7CDD24

Accessibility & contrast

On white

5.56
#417512 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#417512 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #417512
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##417512#FFFFFF#000000##FFFFFF
##4175121.005.563.785.56
#FFFFFF5.561.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6B00
Deuteranopia (green-blind)
#73671E
Tritanopia (blue-blind)
#407063
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #417512;
/* rgb */ color: rgb(65, 117, 18);
/* oklch */ color: oklch(50.7% 0.137 134.3);
Tailwind
colors: {
  custom: {
    50: '#7b9d5a',
    500: '#417512',
    950: '#000000',
  },
}
SCSS
$custom: #417512;
$custom-light: #7b9d5a;
$custom-dark: #000000;
JSON
{
  "hex": "#417512",
  "rgb": {
    "r": 65,
    "g": 117,
    "b": 18
  },
  "hsl": {
    "h": 91.515,
    "s": 73.333,
    "l": 26.471
  },
  "oklch": {
    "l": 0.50654,
    "c": 0.137,
    "h": 134.3
  },
  "luminance": 0.1389
}

Semantic roles & 50–950 ramp

primary
#417512
secondary
#7437AC
accent
#38F099
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#0A0E04
muted
#7C7E79

Preview Lab

Preview with #417512

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

Preview Lab → · Contrast checker → · Palette generator →

#417512 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva