#507E33#507E33

#507E33 is a mid, moderate yellow-green. Relative luminance 0.169; OKLCH L 54.2% C 0.117 H 135.0°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#507E33
RGBrgb(80, 126, 51)
HSLhsl(97, 42%, 35%)
HSVhsv(97, 60%, 49%)
CMYKcmyk(36.5%, 0%, 59.5%, 50.6%)
CIE-LABlab(48.09, -29.91, 35.30)
CIE-LCHlch(48.09, 46.27, 130.28°)
OKLaboklab(54.23% -0.0829 0.0829)
OKLCHoklch(54.23% 0.117 135)
XYZxyz(11.3664, 16.8657, 5.7878)
Luminance0.1687 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#507E33 #61337E
analogous
#767E33 #507E33 #337E3C
triadic
#507E33 #33507E #7E3350
tetradic
#507E33 #33767E #61337E #7E3C33
square
#507E33 #33767E #61337E #7E3C33
split-complementary
#507E33 #3C337E #7E3376
monochromatic
#192710 #345221 #507E33 #6CAA45 #8CC269

Accessibility & contrast

On white

4.80
#507E33 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#507E33 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #507E33
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##507E33#FFFFFF#000000##FFFFFF
##507E331.004.804.374.80
#FFFFFF4.801.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#82752B
Deuteranopia (green-blind)
#7C7138
Tritanopia (blue-blind)
#4F796E
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #507e33;
/* rgb */ color: rgb(80, 126, 51);
/* oklch */ color: oklch(54.2% 0.117 135.0);
Tailwind
colors: {
  custom: {
    50: '#84a36d',
    500: '#507e33',
    950: '#000000',
  },
}
SCSS
$custom: #507e33;
$custom-light: #84a36d;
$custom-dark: #000000;
JSON
{
  "hex": "#507e33",
  "rgb": {
    "r": 80,
    "g": 126,
    "b": 51
  },
  "hsl": {
    "h": 96.8,
    "s": 42.373,
    "l": 34.706
  },
  "oklch": {
    "l": 0.54232,
    "c": 0.11727,
    "h": 135
  },
  "luminance": 0.16866
}

Semantic roles & 50–950 ramp

primary
#507E33
secondary
#8F63AA
accent
#56D2A2
background
#F8FAF6
surface
#EFF4EC
border
#CACEC7
text
#0B0F07
muted
#7C7F7A

Preview Lab

Preview with #507E33

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

Preview Lab → · Contrast checker → · Palette generator →

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