#507D1C#507D1C

#507D1C is a mid, vivid yellow-green. Relative luminance 0.165; OKLCH L 53.7% C 0.134 H 131.7°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#507D1C
RGBrgb(80, 125, 28)
HSLhsl(88, 63%, 30%)
HSVhsv(88, 78%, 49%)
CMYKcmyk(36%, 0%, 77.6%, 51%)
CIE-LABlab(47.57, -31.44, 44.80)
CIE-LCHlch(47.57, 54.73, 125.06°)
OKLaboklab(53.74% -0.0889 0.0999)
OKLCHoklch(53.74% 0.134 131.7)
XYZxyz(10.8514, 16.4561, 3.7030)
Luminance0.1646 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#507D1C #491C7D
analogous
#7D7A1C #507D1C #1F7D1C
triadic
#507D1C #1C507D #7D1C50
tetradic
#507D1C #1C7D7A #491C7D #7D1C1F
square
#507D1C #1C7D7A #491C7D #7D1C1F
split-complementary
#507D1C #1C1F7D #7A1C7D
monochromatic
#101906 #304B11 #507D1C #70AF27 #8FD43F

Accessibility & contrast

On white

4.89
#507D1C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#507D1C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #507D1C
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##507D1C#FFFFFF#000000##FFFFFF
##507D1C1.004.894.294.89
#FFFFFF4.891.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837307
Deuteranopia (green-blind)
#7D7026
Tritanopia (blue-blind)
#51786B
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #507d1c;
/* rgb */ color: rgb(80, 125, 28);
/* oklch */ color: oklch(53.7% 0.134 131.7);
Tailwind
colors: {
  custom: {
    50: '#85a360',
    500: '#507d1c',
    950: '#000000',
  },
}
SCSS
$custom: #507d1c;
$custom-light: #85a360;
$custom-dark: #000000;
JSON
{
  "hex": "#507d1c",
  "rgb": {
    "r": 80,
    "g": 125,
    "b": 28
  },
  "hsl": {
    "h": 87.835,
    "s": 63.399,
    "l": 30
  },
  "oklch": {
    "l": 0.53742,
    "c": 0.13377,
    "h": 131.7
  },
  "luminance": 0.16457
}

Semantic roles & 50–950 ramp

primary
#507D1C
secondary
#7644B1
accent
#41E68E
background
#F8FAF5
surface
#F0F3EA
border
#CBCDC6
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #507D1C

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

Preview Lab → · Contrast checker → · Palette generator →

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