#508B26#508B26

#508B26 is a mid, vivid yellow-green. Relative luminance 0.203; OKLCH L 57.5% C 0.146 H 135.1°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#508B26
RGBrgb(80, 139, 38)
HSLhsl(95, 57%, 35%)
HSVhsv(95, 73%, 55%)
CMYKcmyk(42.4%, 0%, 72.7%, 45.5%)
CIE-LABlab(52.19, -37.01, 45.59)
CIE-LCHlch(52.19, 58.72, 129.07°)
OKLaboklab(57.54% -0.1033 0.1031)
OKLCHoklch(57.54% 0.146 135.1)
XYZxyz(12.8905, 20.3100, 5.0743)
Luminance0.2031 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#508B26 #61268B
analogous
#828B26 #508B26 #268B2F
triadic
#508B26 #26508B #8B2650
tetradic
#508B26 #26828B #61268B #8B2F26
square
#508B26 #26828B #61268B #8B2F26
split-complementary
#508B26 #2F268B #8B2682
monochromatic
#192B0C #345B19 #508B26 #6CBB33 #8CD25A

Accessibility & contrast

On white

4.15
#508B26 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#508B26 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #508B26
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##508B26#FFFFFF#000000##000000
##508B261.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#908015
Deuteranopia (green-blind)
#887B2F
Tritanopia (blue-blind)
#4F8677
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #508b26;
/* rgb */ color: rgb(80, 139, 38);
/* oklch */ color: oklch(57.5% 0.146 135.1);
Tailwind
colors: {
  custom: {
    50: '#86ad67',
    500: '#508b26',
    950: '#000000',
  },
}
SCSS
$custom: #508b26;
$custom-light: #86ad67;
$custom-dark: #000000;
JSON
{
  "hex": "#508b26",
  "rgb": {
    "r": 80,
    "g": 139,
    "b": 38
  },
  "hsl": {
    "h": 95.05,
    "s": 57.062,
    "l": 34.706
  },
  "oklch": {
    "l": 0.5754,
    "c": 0.14594,
    "h": 135.1
  },
  "luminance": 0.20311
}

Semantic roles & 50–950 ramp

primary
#508B26
secondary
#8F56B7
accent
#47E0A1
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1006
muted
#7D7F7A

Preview Lab

Preview with #508B26

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

Preview Lab → · Contrast checker → · Palette generator →

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