#507E26#507E26

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

Color values

HEX#507E26
RGBrgb(80, 126, 38)
HSLhsl(91, 54%, 32%)
HSVhsv(91, 70%, 49%)
CMYKcmyk(36.5%, 0%, 69.8%, 50.6%)
CIE-LABlab(47.96, -31.17, 41.22)
CIE-LCHlch(47.96, 51.68, 127.10°)
OKLaboklab(54.09% -0.0874 0.0939)
OKLCHoklch(54.09% 0.128 132.9)
XYZxyz(11.1188, 16.7667, 4.4838)
Luminance0.1677 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#507E26 #54267E
analogous
#7C7E26 #507E26 #267E28
triadic
#507E26 #26507E #7E2650
tetradic
#507E26 #267C7E #54267E #7E2826
square
#507E26 #267C7E #54267E #7E2826
split-complementary
#507E26 #28267E #7E267C
monochromatic
#14200A #324F18 #507E26 #6EAD34 #8CCB53

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##507E26#FFFFFF#000000##FFFFFF
##507E261.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)
#83741A
Deuteranopia (green-blind)
#7D712E
Tritanopia (blue-blind)
#50796C
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #507e26;
/* rgb */ color: rgb(80, 126, 38);
/* oklch */ color: oklch(54.1% 0.128 132.9);
Tailwind
colors: {
  custom: {
    50: '#85a365',
    500: '#507e26',
    950: '#000000',
  },
}
SCSS
$custom: #507e26;
$custom-light: #85a365;
$custom-dark: #000000;
JSON
{
  "hex": "#507e26",
  "rgb": {
    "r": 80,
    "g": 126,
    "b": 38
  },
  "hsl": {
    "h": 91.364,
    "s": 53.659,
    "l": 32.157
  },
  "oklch": {
    "l": 0.54089,
    "c": 0.12832,
    "h": 132.9
  },
  "luminance": 0.16767
}

Semantic roles & 50–950 ramp

primary
#507E26
secondary
#8250B0
accent
#4BDD97
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B0F06
muted
#7C7F7A

Preview Lab

Preview with #507E26

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

Preview Lab → · Contrast checker → · Palette generator →

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