#507A26#507A26

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

Color values

HEX#507A26
RGBrgb(80, 122, 38)
HSLhsl(90, 53%, 31%)
HSVhsv(90, 69%, 48%)
CMYKcmyk(34.4%, 0%, 68.9%, 52.2%)
CIE-LABlab(46.66, -29.30, 39.84)
CIE-LCHlch(46.66, 49.46, 126.33°)
OKLaboklab(53.03% -0.0823 0.0911)
OKLCHoklch(53.03% 0.123 132.1)
XYZxyz(10.6175, 15.7641, 4.3167)
Luminance0.1576 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#507A26 #50267A
analogous
#7A7A26 #507A26 #267A26
triadic
#507A26 #26507A #7A2650
tetradic
#507A26 #267A7A #50267A #7A2626
square
#507A26 #267A7A #50267A #7A2626
split-complementary
#507A26 #26267A #7A267A
monochromatic
#131D09 #314B17 #507A26 #6FA935 #8DC951

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##507A26#FFFFFF#000000##FFFFFF
##507A261.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)
#7F711B
Deuteranopia (green-blind)
#796D2D
Tritanopia (blue-blind)
#517569
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #507a26;
/* rgb */ color: rgb(80, 122, 38);
/* oklch */ color: oklch(53.0% 0.123 132.1);
Tailwind
colors: {
  custom: {
    50: '#84a065',
    500: '#507a26',
    950: '#000000',
  },
}
SCSS
$custom: #507a26;
$custom-light: #84a065;
$custom-dark: #000000;
JSON
{
  "hex": "#507a26",
  "rgb": {
    "r": 80,
    "g": 122,
    "b": 38
  },
  "hsl": {
    "h": 90,
    "s": 52.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.53029,
    "c": 0.12273,
    "h": 132.1
  },
  "luminance": 0.15764
}

Semantic roles & 50–950 ramp

primary
#507A26
secondary
#7E50AC
accent
#4CDC94
background
#F8F9F6
surface
#EFF2EB
border
#CACCC6
text
#0B0F06
muted
#7C7E7A

Preview Lab

Preview with #507A26

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

Preview Lab → · Contrast checker → · Palette generator →

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