#507919#507919

#507919 is a mid, vivid yellow-green. Relative luminance 0.154; OKLCH L 52.7% C 0.130 H 130.5°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#507919
RGBrgb(80, 121, 25)
HSLhsl(86, 66%, 29%)
HSVhsv(86, 79%, 47%)
CMYKcmyk(33.9%, 0%, 79.3%, 52.5%)
CIE-LABlab(46.24, -29.75, 44.60)
CIE-LCHlch(46.24, 53.61, 123.71°)
OKLaboklab(52.66% -0.0846 0.099)
OKLCHoklch(52.66% 0.13 130.5)
XYZxyz(10.3210, 15.4501, 3.3579)
Luminance0.1545 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#507919 #421979
analogous
#797219 #507919 #207919
triadic
#507919 #195079 #791950
tetradic
#507919 #197972 #421979 #791920
square
#507919 #197972 #421979 #791920
split-complementary
#507919 #192079 #721979
monochromatic
#111905 #2E460F #507919 #72AC23 #92D637

Accessibility & contrast

On white

5.13
#507919 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#507919 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #507919
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##507919#FFFFFF#000000##FFFFFF
##5079191.005.134.095.13
#FFFFFF5.131.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F6F02
Deuteranopia (green-blind)
#796D23
Tritanopia (blue-blind)
#527467
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #507919;
/* rgb */ color: rgb(80, 121, 25);
/* oklch */ color: oklch(52.7% 0.130 130.5);
Tailwind
colors: {
  custom: {
    50: '#85a05e',
    500: '#507919',
    950: '#000000',
  },
}
SCSS
$custom: #507919;
$custom-light: #85a05e;
$custom-dark: #000000;
JSON
{
  "hex": "#507919",
  "rgb": {
    "r": 80,
    "g": 121,
    "b": 25
  },
  "hsl": {
    "h": 85.625,
    "s": 65.753,
    "l": 28.627
  },
  "oklch": {
    "l": 0.52658,
    "c": 0.13023,
    "h": 130.5
  },
  "luminance": 0.1545
}

Semantic roles & 50–950 ramp

primary
#507919
secondary
#6F40AE
accent
#3FE988
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0B0E05
muted
#7C7E79

Preview Lab

Preview with #507919

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

Preview Lab → · Contrast checker → · Palette generator →

#507919 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva