#507E25#507E25

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

Color values

HEX#507E25
RGBrgb(80, 126, 37)
HSLhsl(91, 55%, 32%)
HSVhsv(91, 71%, 49%)
CMYKcmyk(36.5%, 0%, 70.6%, 50.6%)
CIE-LABlab(47.96, -31.26, 41.64)
CIE-LCHlch(47.96, 52.06, 126.89°)
OKLaboklab(54.08% -0.0877 0.0947)
OKLCHoklch(54.08% 0.129 132.8)
XYZxyz(11.1029, 16.7603, 4.4000)
Luminance0.1676 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#507E25 #53257E
analogous
#7D7E25 #507E25 #257E27
triadic
#507E25 #25507E #7E2550
tetradic
#507E25 #257D7E #53257E #7E2725
square
#507E25 #257D7E #53257E #7E2725
split-complementary
#507E25 #27257E #7E257D
monochromatic
#141F09 #324F17 #507E25 #6EAD33 #8DCC51

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##507E25#FFFFFF#000000##FFFFFF
##507E251.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)
#837418
Deuteranopia (green-blind)
#7D712D
Tritanopia (blue-blind)
#51796C
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #507e25;
/* rgb */ color: rgb(80, 126, 37);
/* oklch */ color: oklch(54.1% 0.129 132.8);
Tailwind
colors: {
  custom: {
    50: '#85a365',
    500: '#507e25',
    950: '#000000',
  },
}
SCSS
$custom: #507e25;
$custom-light: #85a365;
$custom-dark: #000000;
JSON
{
  "hex": "#507e25",
  "rgb": {
    "r": 80,
    "g": 126,
    "b": 37
  },
  "hsl": {
    "h": 91.011,
    "s": 54.601,
    "l": 31.961
  },
  "oklch": {
    "l": 0.5408,
    "c": 0.12907,
    "h": 132.8
  },
  "luminance": 0.16761
}

Semantic roles & 50–950 ramp

primary
#507E25
secondary
#814FB0
accent
#4ADE96
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0B0F06
muted
#7C7F7A

Preview Lab

Preview with #507E25

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

Preview Lab → · Contrast checker → · Palette generator →

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