#507A25#507A25

#507A25 is a mid, vivid yellow-green. Relative luminance 0.158; OKLCH L 53.0% C 0.124 H 132.0°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#507A25
RGBrgb(80, 122, 37)
HSLhsl(90, 53%, 31%)
HSVhsv(90, 70%, 48%)
CMYKcmyk(34.4%, 0%, 69.7%, 52.2%)
CIE-LABlab(46.66, -29.38, 40.27)
CIE-LCHlch(46.66, 49.85, 126.11°)
OKLaboklab(53.02% -0.0826 0.0918)
OKLCHoklch(53.02% 0.124 132)
XYZxyz(10.6016, 15.7577, 4.2329)
Luminance0.1576 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#507A25 #4F257A
analogous
#7A7925 #507A25 #257A25
triadic
#507A25 #25507A #7A2550
tetradic
#507A25 #257A79 #4F257A #7A2525
square
#507A25 #257A79 #4F257A #7A2525
split-complementary
#507A25 #25257A #79257A
monochromatic
#121C09 #314B17 #507A25 #6FA933 #8DCA50

Accessibility & contrast

On white

5.06
#507A25 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#507A25 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #507A25
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##507A25#FFFFFF#000000##FFFFFF
##507A251.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7119
Deuteranopia (green-blind)
#796D2C
Tritanopia (blue-blind)
#517569
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #507a25;
/* rgb */ color: rgb(80, 122, 37);
/* oklch */ color: oklch(53.0% 0.124 132.0);
Tailwind
colors: {
  custom: {
    50: '#84a064',
    500: '#507a25',
    950: '#000000',
  },
}
SCSS
$custom: #507a25;
$custom-light: #84a064;
$custom-dark: #000000;
JSON
{
  "hex": "#507a25",
  "rgb": {
    "r": 80,
    "g": 122,
    "b": 37
  },
  "hsl": {
    "h": 89.647,
    "s": 53.459,
    "l": 31.176
  },
  "oklch": {
    "l": 0.53019,
    "c": 0.12351,
    "h": 132
  },
  "luminance": 0.15758
}

Semantic roles & 50–950 ramp

primary
#507A25
secondary
#7D4EAC
accent
#4BDD93
background
#F8F9F6
surface
#EFF2EB
border
#CACCC6
text
#0B0F06
muted
#7C7E7A

Preview Lab

Preview with #507A25

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

Preview Lab → · Contrast checker → · Palette generator →

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