#417311#417311

#417311 is a mid, vivid yellow-green. Relative luminance 0.134; OKLCH L 50.1% C 0.135 H 133.9°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#417311
RGBrgb(65, 115, 17)
HSLhsl(91, 74%, 26%)
HSVhsv(91, 85%, 45%)
CMYKcmyk(43.5%, 0%, 85.2%, 54.9%)
CIE-LABlab(43.40, -33.20, 44.24)
CIE-LCHlch(43.40, 55.32, 126.89°)
OKLaboklab(50.1% -0.0935 0.0973)
OKLCHoklch(50.1% 0.135 133.9)
XYZxyz(8.4117, 13.4253, 2.6783)
Luminance0.1343 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#417311 #431173
analogous
#727311 #417311 #117312
triadic
#417311 #114173 #731141
tetradic
#417311 #117273 #431173 #731211
square
#417311 #117273 #431173 #731211
split-complementary
#417311 #121173 #731172
monochromatic
#0F1B04 #233E09 #417311 #5FA819 #7DDE21

Accessibility & contrast

On white

5.70
#417311 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#417311 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #417311
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##417311#FFFFFF#000000##FFFFFF
##4173111.005.703.695.70
#FFFFFF5.701.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786900
Deuteranopia (green-blind)
#71651D
Tritanopia (blue-blind)
#416E61
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #417311;
/* rgb */ color: rgb(65, 115, 17);
/* oklch */ color: oklch(50.1% 0.135 133.9);
Tailwind
colors: {
  custom: {
    50: '#7b9c59',
    500: '#417311',
    950: '#000000',
  },
}
SCSS
$custom: #417311;
$custom-light: #7b9c59;
$custom-dark: #000000;
JSON
{
  "hex": "#417311",
  "rgb": {
    "r": 65,
    "g": 115,
    "b": 17
  },
  "hsl": {
    "h": 90.612,
    "s": 74.242,
    "l": 25.882
  },
  "oklch": {
    "l": 0.50097,
    "c": 0.13489,
    "h": 133.9
  },
  "luminance": 0.13426
}

Semantic roles & 50–950 ramp

primary
#417311
secondary
#7136AA
accent
#37F196
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#0A0E04
muted
#7C7E79

Preview Lab

Preview with #417311

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

Preview Lab → · Contrast checker → · Palette generator →

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