#507B14#507B14

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

Color values

HEX#507B14
RGBrgb(80, 123, 20)
HSLhsl(85, 72%, 28%)
HSVhsv(85, 84%, 48%)
CMYKcmyk(35%, 0%, 83.7%, 51.8%)
CIE-LABlab(46.87, -30.95, 46.80)
CIE-LCHlch(46.87, 56.11, 123.48°)
OKLaboklab(53.16% -0.0882 0.1028)
OKLCHoklch(53.16% 0.135 130.6)
XYZxyz(10.5174, 15.9215, 3.1807)
Luminance0.1592 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#507B14 #3F147B
analogous
#7B7214 #507B14 #1C7B14
triadic
#507B14 #14507B #7B1450
tetradic
#507B14 #147B72 #3F147B #7B141C
square
#507B14 #147B72 #3F147B #7B141C
split-complementary
#507B14 #141C7B #72147B
monochromatic
#111A04 #2E460B #507B14 #72B01D #93DD2D

Accessibility & contrast

On white

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

On black

4.18
#507B14 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##507B14#FFFFFF#000000##FFFFFF
##507B141.005.024.185.02
#FFFFFF5.021.0021.001.00
#0000004.1821.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: #507b14;
/* rgb */ color: rgb(80, 123, 20);
/* oklch */ color: oklch(53.2% 0.135 130.6);
Tailwind
colors: {
  custom: {
    50: '#85a15c',
    500: '#507b14',
    950: '#000000',
  },
}
SCSS
$custom: #507b14;
$custom-light: #85a15c;
$custom-dark: #000000;
JSON
{
  "hex": "#507b14",
  "rgb": {
    "r": 80,
    "g": 123,
    "b": 20
  },
  "hsl": {
    "h": 85.049,
    "s": 72.028,
    "l": 28.039
  },
  "oklch": {
    "l": 0.53161,
    "c": 0.13546,
    "h": 130.6
  },
  "luminance": 0.15922
}

Semantic roles & 50–950 ramp

primary
#507B14
secondary
#6C3AB1
accent
#39EF85
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0B0F04
muted
#7C7E79

Preview Lab

Preview with #507B14

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

Preview Lab → · Contrast checker → · Palette generator →

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