#507D27#507D27

#507D27 is a mid, vivid yellow-green. Relative luminance 0.165; OKLCH L 53.8% C 0.126 H 132.9°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#507D27
RGBrgb(80, 125, 39)
HSLhsl(91, 52%, 32%)
HSVhsv(91, 69%, 49%)
CMYKcmyk(36%, 0%, 68.8%, 51%)
CIE-LABlab(47.65, -30.62, 40.45)
CIE-LCHlch(47.65, 50.73, 127.13°)
OKLaboklab(53.83% -0.0858 0.0925)
OKLCHoklch(53.83% 0.126 132.9)
XYZxyz(11.0079, 16.5187, 4.5275)
Luminance0.1652 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#507D27 #54277D
analogous
#7B7D27 #507D27 #277D29
triadic
#507D27 #27507D #7D2750
tetradic
#507D27 #277B7D #54277D #7D2927
square
#507D27 #277B7D #54277D #7D2927
split-complementary
#507D27 #29277D #7D277B
monochromatic
#14200A #324E18 #507D27 #6EAC36 #8CCA55

Accessibility & contrast

On white

4.88
#507D27 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#507D27 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #507D27
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##507D27#FFFFFF#000000##FFFFFF
##507D271.004.884.304.88
#FFFFFF4.881.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #507d27;
/* rgb */ color: rgb(80, 125, 39);
/* oklch */ color: oklch(53.8% 0.126 132.9);
Tailwind
colors: {
  custom: {
    50: '#85a366',
    500: '#507d27',
    950: '#000000',
  },
}
SCSS
$custom: #507d27;
$custom-light: #85a366;
$custom-dark: #000000;
JSON
{
  "hex": "#507d27",
  "rgb": {
    "r": 80,
    "g": 125,
    "b": 39
  },
  "hsl": {
    "h": 91.395,
    "s": 52.439,
    "l": 32.157
  },
  "oklch": {
    "l": 0.53834,
    "c": 0.12616,
    "h": 132.9
  },
  "luminance": 0.16519
}

Semantic roles & 50–950 ramp

primary
#507D27
secondary
#8251AF
accent
#4CDC97
background
#F8FAF6
surface
#EFF3EB
border
#CACDC6
text
#0B0F06
muted
#7C7F7A

Preview Lab

Preview with #507D27

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

Preview Lab → · Contrast checker → · Palette generator →

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