#508F26#508F26

#508F26 is a mid, vivid yellow-green. Relative luminance 0.215; OKLCH L 58.6% C 0.151 H 135.6°. Best body text is #000000 at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#508F26
RGBrgb(80, 143, 38)
HSLhsl(96, 58%, 35%)
HSVhsv(96, 73%, 56%)
CMYKcmyk(44.1%, 0%, 73.4%, 43.9%)
CIE-LABlab(53.48, -38.74, 46.90)
CIE-LCHlch(53.48, 60.83, 129.55°)
OKLaboklab(58.6% -0.108 0.1059)
OKLCHoklch(58.6% 0.151 135.6)
XYZxyz(13.4803, 21.4896, 5.2709)
Luminance0.2149 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#508F26 #65268F
analogous
#848F26 #508F26 #268F30
triadic
#508F26 #26508F #8F2650
tetradic
#508F26 #26848F #65268F #8F3026
square
#508F26 #26848F #65268F #8F3026
split-complementary
#508F26 #30268F #8F2684
monochromatic
#1A2E0C #355F19 #508F26 #6BBF33 #8CD45C

Accessibility & contrast

On white

3.96
#508F26 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.30
#508F26 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #508F26
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##508F26#FFFFFF#000000##000000
##508F261.003.965.305.30
#FFFFFF3.961.0021.0021.00
#0000005.3021.001.001.00
##0000005.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#948314
Deuteranopia (green-blind)
#8C7E30
Tritanopia (blue-blind)
#4E8A7A
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #508f26;
/* rgb */ color: rgb(80, 143, 38);
/* oklch */ color: oklch(58.6% 0.151 135.6);
Tailwind
colors: {
  custom: {
    50: '#87b067',
    500: '#508f26',
    950: '#000000',
  },
}
SCSS
$custom: #508f26;
$custom-light: #87b067;
$custom-dark: #000000;
JSON
{
  "hex": "#508f26",
  "rgb": {
    "r": 80,
    "g": 143,
    "b": 38
  },
  "hsl": {
    "h": 96,
    "s": 58.011,
    "l": 35.49
  },
  "oklch": {
    "l": 0.58601,
    "c": 0.1512,
    "h": 135.6
  },
  "luminance": 0.2149
}

Semantic roles & 50–950 ramp

primary
#508F26
secondary
#9258B9
accent
#47E1A3
background
#F8FAF6
surface
#F0F5EB
border
#CBCFC6
text
#0C1006
muted
#7D7F7A

Preview Lab

Preview with #508F26

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

Preview Lab → · Contrast checker → · Palette generator →

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