#507C1E#507C1E

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

Color values

HEX#507C1E
RGBrgb(80, 124, 30)
HSLhsl(88, 61%, 30%)
HSVhsv(88, 76%, 49%)
CMYKcmyk(35.5%, 0%, 75.8%, 51.4%)
CIE-LABlab(47.25, -30.84, 43.75)
CIE-LCHlch(47.25, 53.53, 125.18°)
OKLaboklab(53.49% -0.0872 0.098)
OKLCHoklch(53.49% 0.131 131.6)
XYZxyz(10.7502, 16.2141, 3.7913)
Luminance0.1621 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#507C1E #4A1E7C
analogous
#7C791E #507C1E #217C1E
triadic
#507C1E #1E507C #7C1E50
tetradic
#507C1E #1E7C79 #4A1E7C #7C1E21
square
#507C1E #1E7C79 #4A1E7C #7C1E21
split-complementary
#507C1E #1E217C #791E7C
monochromatic
#101906 #304B12 #507C1E #70AD2A #8FD143

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #507c1e;
/* rgb */ color: rgb(80, 124, 30);
/* oklch */ color: oklch(53.5% 0.131 131.6);
Tailwind
colors: {
  custom: {
    50: '#85a261',
    500: '#507c1e',
    950: '#000000',
  },
}
SCSS
$custom: #507c1e;
$custom-light: #85a261;
$custom-dark: #000000;
JSON
{
  "hex": "#507c1e",
  "rgb": {
    "r": 80,
    "g": 124,
    "b": 30
  },
  "hsl": {
    "h": 88.085,
    "s": 61.039,
    "l": 30.196
  },
  "oklch": {
    "l": 0.53491,
    "c": 0.13119,
    "h": 131.6
  },
  "luminance": 0.16215
}

Semantic roles & 50–950 ramp

primary
#507C1E
secondary
#7846AF
accent
#44E48F
background
#F8FAF5
surface
#F0F3EA
border
#CBCDC6
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #507C1E

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

Preview Lab → · Contrast checker → · Palette generator →

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