#507617#507617

#507617 is a mid, vivid yellow-green. Relative luminance 0.147; OKLCH L 51.8% C 0.127 H 129.6°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#507617
RGBrgb(80, 118, 23)
HSLhsl(84, 67%, 28%)
HSVhsv(84, 81%, 46%)
CMYKcmyk(32.2%, 0%, 80.5%, 53.7%)
CIE-LABlab(45.25, -28.44, 44.35)
CIE-LCHlch(45.25, 52.69, 122.67°)
OKLaboklab(51.85% -0.0812 0.0981)
OKLCHoklch(51.85% 0.127 129.6)
XYZxyz(9.9413, 14.7239, 3.1287)
Luminance0.1472 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#507617 #3D1776
analogous
#766C17 #507617 #207617
triadic
#507617 #175076 #761750
tetradic
#507617 #17766C #3D1776 #761720
square
#507617 #17766C #3D1776 #761720
split-complementary
#507617 #172076 #6C1776
monochromatic
#111A05 #2D430D #507617 #73A921 #94D731

Accessibility & contrast

On white

5.32
#507617 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#507617 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #507617
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##507617#FFFFFF#000000##FFFFFF
##5076171.005.323.945.32
#FFFFFF5.321.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6D00
Deuteranopia (green-blind)
#776A21
Tritanopia (blue-blind)
#527164
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #507617;
/* rgb */ color: rgb(80, 118, 23);
/* oklch */ color: oklch(51.8% 0.127 129.6);
Tailwind
colors: {
  custom: {
    50: '#859d5d',
    500: '#507617',
    950: '#000000',
  },
}
SCSS
$custom: #507617;
$custom-light: #859d5d;
$custom-dark: #000000;
JSON
{
  "hex": "#507617",
  "rgb": {
    "r": 80,
    "g": 118,
    "b": 23
  },
  "hsl": {
    "h": 84,
    "s": 67.376,
    "l": 27.647
  },
  "oklch": {
    "l": 0.51847,
    "c": 0.12739,
    "h": 129.6
  },
  "luminance": 0.14724
}

Semantic roles & 50–950 ramp

primary
#507617
secondary
#693EAB
accent
#3EEA83
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0B0E04
muted
#7C7E79

Preview Lab

Preview with #507617

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

Preview Lab → · Contrast checker → · Palette generator →

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