#507B15#507B15

#507B15 is a mid, vivid yellow-green. Relative luminance 0.159; OKLCH L 53.2% C 0.135 H 130.7°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#507B15
RGBrgb(80, 123, 21)
HSLhsl(85, 71%, 28%)
HSVhsv(85, 83%, 48%)
CMYKcmyk(35%, 0%, 82.9%, 51.8%)
CIE-LABlab(46.88, -30.90, 46.50)
CIE-LCHlch(46.88, 55.84, 123.61°)
OKLaboklab(53.17% -0.088 0.1023)
OKLCHoklch(53.17% 0.135 130.7)
XYZxyz(10.5265, 15.9252, 3.2286)
Luminance0.1593 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#507B15 #40157B
analogous
#7B7315 #507B15 #1D7B15
triadic
#507B15 #15507B #7B1550
tetradic
#507B15 #157B73 #40157B #7B151D
square
#507B15 #157B73 #40157B #7B151D
split-complementary
#507B15 #151D7B #73157B
monochromatic
#111A04 #2E470C #507B15 #72AF1E #93DB2F

Accessibility & contrast

On white

5.02
#507B15 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#507B15 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #507B15
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##507B15#FFFFFF#000000##FFFFFF
##507B151.005.024.195.02
#FFFFFF5.021.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817100
Deuteranopia (green-blind)
#7B6E20
Tritanopia (blue-blind)
#527568
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #507b15;
/* rgb */ color: rgb(80, 123, 21);
/* oklch */ color: oklch(53.2% 0.135 130.7);
Tailwind
colors: {
  custom: {
    50: '#85a15d',
    500: '#507b15',
    950: '#000000',
  },
}
SCSS
$custom: #507b15;
$custom-light: #85a15d;
$custom-dark: #000000;
JSON
{
  "hex": "#507b15",
  "rgb": {
    "r": 80,
    "g": 123,
    "b": 21
  },
  "hsl": {
    "h": 85.294,
    "s": 70.833,
    "l": 28.235
  },
  "oklch": {
    "l": 0.53166,
    "c": 0.13497,
    "h": 130.7
  },
  "luminance": 0.15926
}

Semantic roles & 50–950 ramp

primary
#507B15
secondary
#6D3BB0
accent
#3AEE86
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0B0F05
muted
#7C7E79

Preview Lab

Preview with #507B15

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

Preview Lab → · Contrast checker → · Palette generator →

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