#507C17#507C17

#507C17 is a mid, vivid yellow-green. Relative luminance 0.162; OKLCH L 53.4% C 0.135 H 131.1°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#507C17
RGBrgb(80, 124, 23)
HSLhsl(86, 69%, 29%)
HSVhsv(86, 81%, 49%)
CMYKcmyk(35.5%, 0%, 81.5%, 51.4%)
CIE-LABlab(47.21, -31.26, 46.18)
CIE-LCHlch(47.21, 55.77, 124.10°)
OKLaboklab(53.44% -0.0888 0.102)
OKLCHoklch(53.44% 0.135 131.1)
XYZxyz(10.6705, 16.1822, 3.3717)
Luminance0.1618 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#507C17 #43177C
analogous
#7C7617 #507C17 #1E7C17
triadic
#507C17 #17507C #7C1750
tetradic
#507C17 #177C76 #43177C #7C171E
square
#507C17 #177C76 #43177C #7C171E
split-complementary
#507C17 #171E7C #76177C
monochromatic
#111A05 #2F480D #507C17 #71B021 #91D934

Accessibility & contrast

On white

4.96
#507C17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#507C17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #507C17
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##507C17#FFFFFF#000000##FFFFFF
##507C171.004.964.244.96
#FFFFFF4.961.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827200
Deuteranopia (green-blind)
#7C6F22
Tritanopia (blue-blind)
#527669
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #507c17;
/* rgb */ color: rgb(80, 124, 23);
/* oklch */ color: oklch(53.4% 0.135 131.1);
Tailwind
colors: {
  custom: {
    50: '#85a25e',
    500: '#507c17',
    950: '#000000',
  },
}
SCSS
$custom: #507c17;
$custom-light: #85a25e;
$custom-dark: #000000;
JSON
{
  "hex": "#507c17",
  "rgb": {
    "r": 80,
    "g": 124,
    "b": 23
  },
  "hsl": {
    "h": 86.139,
    "s": 68.707,
    "l": 28.824
  },
  "oklch": {
    "l": 0.53444,
    "c": 0.13526,
    "h": 131.1
  },
  "luminance": 0.16183
}

Semantic roles & 50–950 ramp

primary
#507C17
secondary
#703EB1
accent
#3CEC89
background
#F8FAF5
surface
#F0F3E9
border
#CBCDC5
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #507C17

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

Preview Lab → · Contrast checker → · Palette generator →

#507C17 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva