#507E27#507E27

#507E27 is a mid, vivid yellow-green. Relative luminance 0.168; OKLCH L 54.1% C 0.128 H 133.1°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#507E27
RGBrgb(80, 126, 39)
HSLhsl(92, 53%, 32%)
HSVhsv(92, 69%, 49%)
CMYKcmyk(36.5%, 0%, 69%, 50.6%)
CIE-LABlab(47.97, -31.09, 40.79)
CIE-LCHlch(47.97, 51.29, 127.31°)
OKLaboklab(54.1% -0.0871 0.0932)
OKLCHoklch(54.1% 0.128 133.1)
XYZxyz(11.1352, 16.7732, 4.5699)
Luminance0.1677 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#507E27 #55277E
analogous
#7C7E27 #507E27 #277E2A
triadic
#507E27 #27507E #7E2750
tetradic
#507E27 #277C7E #55277E #7E2A27
square
#507E27 #277C7E #55277E #7E2A27
split-complementary
#507E27 #2A277E #7E277C
monochromatic
#15210A #324F19 #507E27 #6EAD35 #8CCA55

Accessibility & contrast

On white

4.82
#507E27 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#507E27 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #507E27
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##507E27#FFFFFF#000000##FFFFFF
##507E271.004.824.354.82
#FFFFFF4.821.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#83741B
Deuteranopia (green-blind)
#7D712E
Tritanopia (blue-blind)
#50796C
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #507e27;
/* rgb */ color: rgb(80, 126, 39);
/* oklch */ color: oklch(54.1% 0.128 133.1);
Tailwind
colors: {
  custom: {
    50: '#85a366',
    500: '#507e27',
    950: '#000000',
  },
}
SCSS
$custom: #507e27;
$custom-light: #85a366;
$custom-dark: #000000;
JSON
{
  "hex": "#507e27",
  "rgb": {
    "r": 80,
    "g": 126,
    "b": 39
  },
  "hsl": {
    "h": 91.724,
    "s": 52.727,
    "l": 32.353
  },
  "oklch": {
    "l": 0.54099,
    "c": 0.12756,
    "h": 133.1
  },
  "luminance": 0.16774
}

Semantic roles & 50–950 ramp

primary
#507E27
secondary
#8352AF
accent
#4CDC98
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B0F06
muted
#7C7F7A

Preview Lab

Preview with #507E27

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

Preview Lab → · Contrast checker → · Palette generator →

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