#507C1C#507C1C

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

Color values

HEX#507C1C
RGBrgb(80, 124, 28)
HSLhsl(88, 63%, 30%)
HSVhsv(88, 77%, 49%)
CMYKcmyk(35.5%, 0%, 77.4%, 51.4%)
CIE-LABlab(47.24, -30.97, 44.48)
CIE-LCHlch(47.24, 54.21, 124.85°)
OKLaboklab(53.48% -0.0877 0.0993)
OKLCHoklch(53.48% 0.132 131.5)
XYZxyz(10.7254, 16.2042, 3.6610)
Luminance0.1620 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#507C1C #481C7C
analogous
#7C781C #507C1C #207C1C
triadic
#507C1C #1C507C #7C1C50
tetradic
#507C1C #1C7C78 #481C7C #7C1C20
square
#507C1C #1C7C78 #481C7C #7C1C20
split-complementary
#507C1C #1C207C #781C7C
monochromatic
#101906 #304A11 #507C1C #70AE27 #8FD43F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #507c1c;
/* rgb */ color: rgb(80, 124, 28);
/* oklch */ color: oklch(53.5% 0.132 131.5);
Tailwind
colors: {
  custom: {
    50: '#85a260',
    500: '#507c1c',
    950: '#000000',
  },
}
SCSS
$custom: #507c1c;
$custom-light: #85a260;
$custom-dark: #000000;
JSON
{
  "hex": "#507c1c",
  "rgb": {
    "r": 80,
    "g": 124,
    "b": 28
  },
  "hsl": {
    "h": 87.5,
    "s": 63.158,
    "l": 29.804
  },
  "oklch": {
    "l": 0.53476,
    "c": 0.13244,
    "h": 131.5
  },
  "luminance": 0.16205
}

Semantic roles & 50–950 ramp

primary
#507C1C
secondary
#7544B0
accent
#42E68D
background
#F8FAF5
surface
#F0F3EA
border
#CBCDC6
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #507C1C

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

Preview Lab → · Contrast checker → · Palette generator →

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