#507B19#507B19

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

Color values

HEX#507B19
RGBrgb(80, 123, 25)
HSLhsl(86, 66%, 29%)
HSVhsv(86, 80%, 48%)
CMYKcmyk(35%, 0%, 79.7%, 51.8%)
CIE-LABlab(46.90, -30.69, 45.22)
CIE-LCHlch(46.90, 54.65, 124.16°)
OKLaboklab(53.19% -0.0871 0.1003)
OKLCHoklch(53.19% 0.133 131)
XYZxyz(10.5666, 15.9412, 3.4397)
Luminance0.1594 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#507B19 #44197B
analogous
#7B7519 #507B19 #1F7B19
triadic
#507B19 #19507B #7B1950
tetradic
#507B19 #197B75 #44197B #7B191F
square
#507B19 #197B75 #44197B #7B191F
split-complementary
#507B19 #191F7B #75197B
monochromatic
#111905 #2F480F #507B19 #71AE23 #91D738

Accessibility & contrast

On white

5.01
#507B19 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #507B19
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##507B19#FFFFFF#000000##FFFFFF
##507B191.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817101
Deuteranopia (green-blind)
#7B6E23
Tritanopia (blue-blind)
#527569
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #507b19;
/* rgb */ color: rgb(80, 123, 25);
/* oklch */ color: oklch(53.2% 0.133 131.0);
Tailwind
colors: {
  custom: {
    50: '#85a15e',
    500: '#507b19',
    950: '#000000',
  },
}
SCSS
$custom: #507b19;
$custom-light: #85a15e;
$custom-dark: #000000;
JSON
{
  "hex": "#507b19",
  "rgb": {
    "r": 80,
    "g": 123,
    "b": 25
  },
  "hsl": {
    "h": 86.327,
    "s": 66.216,
    "l": 29.02
  },
  "oklch": {
    "l": 0.5319,
    "c": 0.13287,
    "h": 131
  },
  "luminance": 0.15942
}

Semantic roles & 50–950 ramp

primary
#507B19
secondary
#7140AF
accent
#3FE989
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0B0F05
muted
#7C7E79

Preview Lab

Preview with #507B19

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

Preview Lab → · Contrast checker → · Palette generator →

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