#507C1B#507C1B

#507C1B is a mid, vivid yellow-green. Relative luminance 0.162; OKLCH L 53.5% C 0.133 H 131.4°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#507C1B
RGBrgb(80, 124, 27)
HSLhsl(87, 64%, 30%)
HSVhsv(87, 78%, 49%)
CMYKcmyk(35.5%, 0%, 78.2%, 51.4%)
CIE-LABlab(47.24, -31.04, 44.84)
CIE-LCHlch(47.24, 54.53, 124.69°)
OKLaboklab(53.47% -0.0879 0.0998)
OKLCHoklch(53.47% 0.133 131.4)
XYZxyz(10.7136, 16.1995, 3.5990)
Luminance0.1620 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#507C1B #471B7C
analogous
#7C771B #507C1B #207C1B
triadic
#507C1B #1B507C #7C1B50
tetradic
#507C1B #1B7C77 #471B7C #7C1B20
square
#507C1B #1B7C77 #471B7C #7C1B20
split-complementary
#507C1B #1B207C #771B7C
monochromatic
#101905 #304A10 #507C1B #70AE26 #90D53D

Accessibility & contrast

On white

4.95
#507C1B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#507C1B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #507C1B
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##507C1B#FFFFFF#000000##FFFFFF
##507C1B1.004.954.244.95
#FFFFFF4.951.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827205
Deuteranopia (green-blind)
#7C6F25
Tritanopia (blue-blind)
#51776A
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #507c1b;
/* rgb */ color: rgb(80, 124, 27);
/* oklch */ color: oklch(53.5% 0.133 131.4);
Tailwind
colors: {
  custom: {
    50: '#85a25f',
    500: '#507c1b',
    950: '#000000',
  },
}
SCSS
$custom: #507c1b;
$custom-light: #85a25f;
$custom-dark: #000000;
JSON
{
  "hex": "#507c1b",
  "rgb": {
    "r": 80,
    "g": 124,
    "b": 27
  },
  "hsl": {
    "h": 87.216,
    "s": 64.238,
    "l": 29.608
  },
  "oklch": {
    "l": 0.53469,
    "c": 0.13304,
    "h": 131.4
  },
  "luminance": 0.162
}

Semantic roles & 50–950 ramp

primary
#507C1B
secondary
#7443B0
accent
#41E78C
background
#F8FAF5
surface
#F0F3EA
border
#CBCDC6
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #507C1B

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

Preview Lab → · Contrast checker → · Palette generator →

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