#507C1D#507C1D

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

Color values

HEX#507C1D
RGBrgb(80, 124, 29)
HSLhsl(88, 62%, 30%)
HSVhsv(88, 77%, 49%)
CMYKcmyk(35.5%, 0%, 76.6%, 51.4%)
CIE-LABlab(47.25, -30.91, 44.12)
CIE-LCHlch(47.25, 53.87, 125.01°)
OKLaboklab(53.48% -0.0874 0.0987)
OKLCHoklch(53.48% 0.132 131.6)
XYZxyz(10.7376, 16.2091, 3.7251)
Luminance0.1621 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#507C1D #491D7C
analogous
#7C781D #507C1D #217C1D
triadic
#507C1D #1D507C #7C1D50
tetradic
#507C1D #1D7C78 #491D7C #7C1D21
square
#507C1D #1D7C78 #491D7C #7C1D21
split-complementary
#507C1D #1D217C #781D7C
monochromatic
#101906 #304A11 #507C1D #70AE29 #8FD341

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##507C1D#FFFFFF#000000##FFFFFF
##507C1D1.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)
#82720A
Deuteranopia (green-blind)
#7C6F26
Tritanopia (blue-blind)
#51776A
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #507c1d;
/* rgb */ color: rgb(80, 124, 29);
/* oklch */ color: oklch(53.5% 0.132 131.6);
Tailwind
colors: {
  custom: {
    50: '#85a260',
    500: '#507c1d',
    950: '#000000',
  },
}
SCSS
$custom: #507c1d;
$custom-light: #85a260;
$custom-dark: #000000;
JSON
{
  "hex": "#507c1d",
  "rgb": {
    "r": 80,
    "g": 124,
    "b": 29
  },
  "hsl": {
    "h": 87.789,
    "s": 62.092,
    "l": 30
  },
  "oklch": {
    "l": 0.53483,
    "c": 0.13182,
    "h": 131.6
  },
  "luminance": 0.16209
}

Semantic roles & 50–950 ramp

primary
#507C1D
secondary
#7645B0
accent
#43E58E
background
#F8FAF5
surface
#F0F3EA
border
#CBCDC6
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #507C1D

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

Preview Lab → · Contrast checker → · Palette generator →

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