#507F13#507F13

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

Color values

HEX#507F13
RGBrgb(80, 127, 19)
HSLhsl(86, 74%, 29%)
HSVhsv(86, 85%, 50%)
CMYKcmyk(37%, 0%, 85%, 50.2%)
CIE-LABlab(48.17, -32.83, 48.26)
CIE-LCHlch(48.17, 58.37, 124.23°)
OKLaboklab(54.22% -0.0933 0.1057)
OKLCHoklch(54.22% 0.141 131.4)
XYZxyz(11.0151, 16.9308, 3.3036)
Luminance0.1693 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#507F13 #42137F
analogous
#7F7813 #507F13 #1A7F13
triadic
#507F13 #13507F #7F1350
tetradic
#507F13 #137F78 #42137F #7F131A
square
#507F13 #137F78 #42137F #7F131A
split-complementary
#507F13 #131A7F #78137F
monochromatic
#111B04 #2E4A0B #507F13 #72B41B #92E02D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##507F13#FFFFFF#000000##FFFFFF
##507F131.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)
#7F7120
Tritanopia (blue-blind)
#51796C
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #507f13;
/* rgb */ color: rgb(80, 127, 19);
/* oklch */ color: oklch(54.2% 0.141 131.4);
Tailwind
colors: {
  custom: {
    50: '#86a45c',
    500: '#507f13',
    950: '#000000',
  },
}
SCSS
$custom: #507f13;
$custom-light: #86a45c;
$custom-dark: #000000;
JSON
{
  "hex": "#507f13",
  "rgb": {
    "r": 80,
    "g": 127,
    "b": 19
  },
  "hsl": {
    "h": 86.111,
    "s": 73.973,
    "l": 28.627
  },
  "oklch": {
    "l": 0.54222,
    "c": 0.14103,
    "h": 131.4
  },
  "luminance": 0.16931
}

Semantic roles & 50–950 ramp

primary
#507F13
secondary
#6F39B4
accent
#37F188
background
#F8FAF5
surface
#F0F4E9
border
#CBCEC5
text
#0C0F05
muted
#7D7F79

Preview Lab

Preview with #507F13

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

Preview Lab → · Contrast checker → · Palette generator →

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