#417017#417017

#417017 is a mid, vivid yellow-green. Relative luminance 0.128; OKLCH L 49.3% C 0.128 H 133.8°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#417017
RGBrgb(65, 112, 23)
HSLhsl(92, 66%, 26%)
HSVhsv(92, 79%, 44%)
CMYKcmyk(42%, 0%, 79.5%, 56.1%)
CIE-LABlab(42.42, -31.52, 41.36)
CIE-LCHlch(42.42, 52.00, 127.31°)
OKLaboklab(49.31% -0.0885 0.0922)
OKLCHoklch(49.31% 0.128 133.8)
XYZxyz(8.1287, 12.7736, 2.8477)
Luminance0.1277 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#417017 #461770
analogous
#6E7017 #417017 #177019
triadic
#417017 #174170 #701741
tetradic
#417017 #176E70 #461770 #701917
square
#417017 #176E70 #461770 #701917
split-complementary
#417017 #191770 #70176E
monochromatic
#0F1905 #243D0D #417017 #5EA321 #7CD42D

Accessibility & contrast

On white

5.91
#417017 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#417017 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #417017
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##417017#FFFFFF#000000##FFFFFF
##4170171.005.913.555.91
#FFFFFF5.911.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756703
Deuteranopia (green-blind)
#6E6320
Tritanopia (blue-blind)
#416B5F
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #417017;
/* rgb */ color: rgb(65, 112, 23);
/* oklch */ color: oklch(49.3% 0.128 133.8);
Tailwind
colors: {
  custom: {
    50: '#7a995c',
    500: '#417017',
    950: '#000000',
  },
}
SCSS
$custom: #417017;
$custom-light: #7a995c;
$custom-dark: #000000;
JSON
{
  "hex": "#417017",
  "rgb": {
    "r": 65,
    "g": 112,
    "b": 23
  },
  "hsl": {
    "h": 91.685,
    "s": 65.926,
    "l": 26.471
  },
  "oklch": {
    "l": 0.49307,
    "c": 0.12781,
    "h": 133.8
  },
  "luminance": 0.12774
}

Semantic roles & 50–950 ramp

primary
#417017
secondary
#743DA6
accent
#3FE999
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#0A0E04
muted
#7C7E79

Preview Lab

Preview with #417017

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

Preview Lab → · Contrast checker → · Palette generator →

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