#507E22#507E22

#507E22 is a mid, vivid yellow-green. Relative luminance 0.167; OKLCH L 54.1% C 0.131 H 132.5°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#507E22
RGBrgb(80, 126, 34)
HSLhsl(90, 58%, 31%)
HSVhsv(90, 73%, 49%)
CMYKcmyk(36.5%, 0%, 73%, 50.6%)
CIE-LABlab(47.93, -31.49, 42.86)
CIE-LCHlch(47.93, 53.18, 126.30°)
OKLaboklab(54.05% -0.0886 0.0968)
OKLCHoklch(54.05% 0.131 132.5)
XYZxyz(11.0577, 16.7422, 4.1620)
Luminance0.1674 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#507E22 #50227E
analogous
#7E7E22 #507E22 #227E22
triadic
#507E22 #22507E #7E2250
tetradic
#507E22 #227E7E #50227E #7E2222
square
#507E22 #227E7E #50227E #7E2222
split-complementary
#507E22 #22227E #7E227E
monochromatic
#131E08 #314E15 #507E22 #6FAE2F #8DCF4C

Accessibility & contrast

On white

4.83
#507E22 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #507E22
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##507E22#FFFFFF#000000##FFFFFF
##507E221.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837413
Deuteranopia (green-blind)
#7D702A
Tritanopia (blue-blind)
#51796C
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #507e22;
/* rgb */ color: rgb(80, 126, 34);
/* oklch */ color: oklch(54.1% 0.131 132.5);
Tailwind
colors: {
  custom: {
    50: '#85a363',
    500: '#507e22',
    950: '#000000',
  },
}
SCSS
$custom: #507e22;
$custom-light: #85a363;
$custom-dark: #000000;
JSON
{
  "hex": "#507e22",
  "rgb": {
    "r": 80,
    "g": 126,
    "b": 34
  },
  "hsl": {
    "h": 90,
    "s": 57.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.54054,
    "c": 0.13123,
    "h": 132.5
  },
  "luminance": 0.16743
}

Semantic roles & 50–950 ramp

primary
#507E22
secondary
#7E4BB1
accent
#47E194
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0B0F06
muted
#7C7F7A

Preview Lab

Preview with #507E22

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

Preview Lab → · Contrast checker → · Palette generator →

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