#508E26#508E26

#508E26 is a mid, vivid yellow-green. Relative luminance 0.212; OKLCH L 58.3% C 0.150 H 135.4°. Best body text is #000000 at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#508E26
RGBrgb(80, 142, 38)
HSLhsl(96, 58%, 35%)
HSVhsv(96, 73%, 56%)
CMYKcmyk(43.7%, 0%, 73.2%, 44.3%)
CIE-LABlab(53.16, -38.31, 46.58)
CIE-LCHlch(53.16, 60.31, 129.44°)
OKLaboklab(58.34% -0.1068 0.1052)
OKLCHoklch(58.34% 0.15 135.4)
XYZxyz(13.3308, 21.1907, 5.2211)
Luminance0.2119 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#508E26 #64268E
analogous
#848E26 #508E26 #268E30
triadic
#508E26 #26508E #8E2650
tetradic
#508E26 #26848E #64268E #8E3026
square
#508E26 #26848E #64268E #8E3026
split-complementary
#508E26 #30268E #8E2684
monochromatic
#1A2D0C #355E19 #508E26 #6BBE33 #8CD35B

Accessibility & contrast

On white

4.01
#508E26 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.24
#508E26 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #508E26
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##508E26#FFFFFF#000000##000000
##508E261.004.015.245.24
#FFFFFF4.011.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#938214
Deuteranopia (green-blind)
#8B7D30
Tritanopia (blue-blind)
#4E897A
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #508e26;
/* rgb */ color: rgb(80, 142, 38);
/* oklch */ color: oklch(58.3% 0.150 135.4);
Tailwind
colors: {
  custom: {
    50: '#87af67',
    500: '#508e26',
    950: '#000000',
  },
}
SCSS
$custom: #508e26;
$custom-light: #87af67;
$custom-dark: #000000;
JSON
{
  "hex": "#508e26",
  "rgb": {
    "r": 80,
    "g": 142,
    "b": 38
  },
  "hsl": {
    "h": 95.769,
    "s": 57.778,
    "l": 35.294
  },
  "oklch": {
    "l": 0.58336,
    "c": 0.14989,
    "h": 135.4
  },
  "luminance": 0.21191
}

Semantic roles & 50–950 ramp

primary
#508E26
secondary
#9158B8
accent
#47E1A3
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1006
muted
#7D7F7A

Preview Lab

Preview with #508E26

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

Preview Lab → · Contrast checker → · Palette generator →

#508E26 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva