#507F15#507F15

#507F15 is a mid, vivid yellow-green. Relative luminance 0.169; OKLCH L 54.2% C 0.140 H 131.6°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#507F15
RGBrgb(80, 127, 21)
HSLhsl(87, 72%, 29%)
HSVhsv(87, 83%, 50%)
CMYKcmyk(37%, 0%, 83.5%, 50.2%)
CIE-LABlab(48.18, -32.74, 47.69)
CIE-LCHlch(48.18, 57.85, 124.47°)
OKLaboklab(54.23% -0.093 0.1048)
OKLCHoklch(54.23% 0.14 131.6)
XYZxyz(11.0329, 16.9379, 3.3974)
Luminance0.1694 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#507F15 #44157F
analogous
#7F7915 #507F15 #1B7F15
triadic
#507F15 #15507F #7F1550
tetradic
#507F15 #157F79 #44157F #7F151B
square
#507F15 #157F79 #44157F #7F151B
split-complementary
#507F15 #151B7F #79157F
monochromatic
#111A04 #2F4A0C #507F15 #71B41E #91DD31

Accessibility & contrast

On white

4.79
#507F15 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#507F15 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #507F15
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##507F15#FFFFFF#000000##FFFFFF
##507F151.004.794.394.79
#FFFFFF4.791.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#857500
Deuteranopia (green-blind)
#7E7121
Tritanopia (blue-blind)
#51796C
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #507f15;
/* rgb */ color: rgb(80, 127, 21);
/* oklch */ color: oklch(54.2% 0.140 131.6);
Tailwind
colors: {
  custom: {
    50: '#86a45d',
    500: '#507f15',
    950: '#000000',
  },
}
SCSS
$custom: #507f15;
$custom-light: #86a45d;
$custom-dark: #000000;
JSON
{
  "hex": "#507f15",
  "rgb": {
    "r": 80,
    "g": 127,
    "b": 21
  },
  "hsl": {
    "h": 86.604,
    "s": 71.622,
    "l": 29.02
  },
  "oklch": {
    "l": 0.54232,
    "c": 0.14012,
    "h": 131.6
  },
  "luminance": 0.16938
}

Semantic roles & 50–950 ramp

primary
#507F15
secondary
#713CB4
accent
#39EE8A
background
#F8FAF5
surface
#F0F4E9
border
#CBCEC5
text
#0C0F05
muted
#7D7F79

Preview Lab

Preview with #507F15

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

Preview Lab → · Contrast checker → · Palette generator →

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