#507717#507717

#507717 is a mid, vivid yellow-green. Relative luminance 0.150; OKLCH L 52.1% C 0.129 H 129.9°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#507717
RGBrgb(80, 119, 23)
HSLhsl(84, 68%, 28%)
HSVhsv(84, 81%, 47%)
CMYKcmyk(32.8%, 0%, 80.7%, 53.3%)
CIE-LABlab(45.58, -28.92, 44.66)
CIE-LCHlch(45.58, 53.21, 122.93°)
OKLaboklab(52.11% -0.0825 0.0988)
OKLCHoklch(52.11% 0.129 129.9)
XYZxyz(10.0597, 14.9607, 3.1681)
Luminance0.1496 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#507717 #3E1777
analogous
#776E17 #507717 #207717
triadic
#507717 #175077 #771750
tetradic
#507717 #17776E #3E1777 #771720
square
#507717 #17776E #3E1777 #771720
split-complementary
#507717 #172077 #6E1777
monochromatic
#111A05 #2E440D #507717 #72AA21 #94D731

Accessibility & contrast

On white

5.26
#507717 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#507717 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #507717
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##507717#FFFFFF#000000##FFFFFF
##5077171.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6E00
Deuteranopia (green-blind)
#786B21
Tritanopia (blue-blind)
#527165
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #507717;
/* rgb */ color: rgb(80, 119, 23);
/* oklch */ color: oklch(52.1% 0.129 129.9);
Tailwind
colors: {
  custom: {
    50: '#859e5d',
    500: '#507717',
    950: '#000000',
  },
}
SCSS
$custom: #507717;
$custom-light: #859e5d;
$custom-dark: #000000;
JSON
{
  "hex": "#507717",
  "rgb": {
    "r": 80,
    "g": 119,
    "b": 23
  },
  "hsl": {
    "h": 84.375,
    "s": 67.606,
    "l": 27.843
  },
  "oklch": {
    "l": 0.52113,
    "c": 0.12871,
    "h": 129.9
  },
  "luminance": 0.14961
}

Semantic roles & 50–950 ramp

primary
#507717
secondary
#6B3EAC
accent
#3DEA84
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0B0E04
muted
#7C7E79

Preview Lab

Preview with #507717

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

Preview Lab → · Contrast checker → · Palette generator →

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