#507F19#507F19

#507F19 is a mid, vivid yellow-green. Relative luminance 0.170; OKLCH L 54.3% C 0.138 H 131.8°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#507F19
RGBrgb(80, 127, 25)
HSLhsl(88, 67%, 30%)
HSVhsv(88, 80%, 50%)
CMYKcmyk(37%, 0%, 80.3%, 50.2%)
CIE-LABlab(48.20, -32.53, 46.45)
CIE-LCHlch(48.20, 56.71, 125.01°)
OKLaboklab(54.26% -0.0921 0.1029)
OKLCHoklch(54.26% 0.138 131.8)
XYZxyz(11.0730, 16.9540, 3.6085)
Luminance0.1695 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#507F19 #48197F
analogous
#7F7B19 #507F19 #1D7F19
triadic
#507F19 #19507F #7F1950
tetradic
#507F19 #197F7B #48197F #7F191D
square
#507F19 #197F7B #48197F #7F191D
split-complementary
#507F19 #191D7F #7B197F
monochromatic
#101A05 #304C0F #507F19 #70B223 #8FD83A

Accessibility & contrast

On white

4.78
#507F19 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #507F19
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##507F19#FFFFFF#000000##FFFFFF
##507F191.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #507f19;
/* rgb */ color: rgb(80, 127, 25);
/* oklch */ color: oklch(54.3% 0.138 131.8);
Tailwind
colors: {
  custom: {
    50: '#86a45f',
    500: '#507f19',
    950: '#000000',
  },
}
SCSS
$custom: #507f19;
$custom-light: #86a45f;
$custom-dark: #000000;
JSON
{
  "hex": "#507f19",
  "rgb": {
    "r": 80,
    "g": 127,
    "b": 25
  },
  "hsl": {
    "h": 87.647,
    "s": 67.105,
    "l": 29.804
  },
  "oklch": {
    "l": 0.54255,
    "c": 0.1381,
    "h": 131.8
  },
  "luminance": 0.16954
}

Semantic roles & 50–950 ramp

primary
#507F19
secondary
#7541B3
accent
#3EEA8D
background
#F8FAF5
surface
#F0F4EA
border
#CBCEC6
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #507F19

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

Preview Lab → · Contrast checker → · Palette generator →

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