#507D26#507D26

#507D26 is a mid, vivid yellow-green. Relative luminance 0.165; OKLCH L 53.8% C 0.127 H 132.7°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#507D26
RGBrgb(80, 125, 38)
HSLhsl(91, 53%, 32%)
HSVhsv(91, 70%, 49%)
CMYKcmyk(36%, 0%, 69.6%, 51%)
CIE-LABlab(47.64, -30.71, 40.88)
CIE-LCHlch(47.64, 51.13, 126.92°)
OKLaboklab(53.82% -0.0861 0.0932)
OKLCHoklch(53.82% 0.127 132.7)
XYZxyz(10.9916, 16.5122, 4.4414)
Luminance0.1651 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#507D26 #53267D
analogous
#7C7D26 #507D26 #267D27
triadic
#507D26 #26507D #7D2650
tetradic
#507D26 #267C7D #53267D #7D2726
square
#507D26 #267C7D #53267D #7D2726
split-complementary
#507D26 #27267D #7D267C
monochromatic
#141F09 #324E18 #507D26 #6EAC34 #8DCB53

Accessibility & contrast

On white

4.88
#507D26 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#507D26 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #507D26
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##507D26#FFFFFF#000000##FFFFFF
##507D261.004.884.304.88
#FFFFFF4.881.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#82731A
Deuteranopia (green-blind)
#7C702D
Tritanopia (blue-blind)
#51786B
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #507d26;
/* rgb */ color: rgb(80, 125, 38);
/* oklch */ color: oklch(53.8% 0.127 132.7);
Tailwind
colors: {
  custom: {
    50: '#85a365',
    500: '#507d26',
    950: '#000000',
  },
}
SCSS
$custom: #507d26;
$custom-light: #85a365;
$custom-dark: #000000;
JSON
{
  "hex": "#507d26",
  "rgb": {
    "r": 80,
    "g": 125,
    "b": 38
  },
  "hsl": {
    "h": 91.034,
    "s": 53.374,
    "l": 31.961
  },
  "oklch": {
    "l": 0.53824,
    "c": 0.12693,
    "h": 132.7
  },
  "luminance": 0.16513
}

Semantic roles & 50–950 ramp

primary
#507D26
secondary
#8150AF
accent
#4BDD96
background
#F8FAF6
surface
#EFF3EB
border
#CACDC6
text
#0B0F06
muted
#7C7F7A

Preview Lab

Preview with #507D26

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

Preview Lab → · Contrast checker → · Palette generator →

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