#507B26#507B26

#507B26 is a mid, vivid yellow-green. Relative luminance 0.160; OKLCH L 53.3% C 0.124 H 132.3°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#507B26
RGBrgb(80, 123, 38)
HSLhsl(90, 53%, 32%)
HSVhsv(90, 69%, 48%)
CMYKcmyk(35%, 0%, 69.1%, 51.8%)
CIE-LABlab(46.99, -29.77, 40.19)
CIE-LCHlch(46.99, 50.01, 126.53°)
OKLaboklab(53.29% -0.0836 0.0918)
OKLCHoklch(53.29% 0.124 132.3)
XYZxyz(10.7409, 16.0109, 4.3578)
Luminance0.1601 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#507B26 #51267B
analogous
#7B7B26 #507B26 #267B27
triadic
#507B26 #26507B #7B2650
tetradic
#507B26 #267B7B #51267B #7B2726
square
#507B26 #267B7B #51267B #7B2726
split-complementary
#507B26 #27267B #7B267B
monochromatic
#131D09 #324C18 #507B26 #6EAA34 #8DCA52

Accessibility & contrast

On white

5.00
#507B26 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#507B26 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #507B26
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##507B26#FFFFFF#000000##FFFFFF
##507B261.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#80721A
Deuteranopia (green-blind)
#7A6E2D
Tritanopia (blue-blind)
#51766A
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #507b26;
/* rgb */ color: rgb(80, 123, 38);
/* oklch */ color: oklch(53.3% 0.124 132.3);
Tailwind
colors: {
  custom: {
    50: '#85a165',
    500: '#507b26',
    950: '#000000',
  },
}
SCSS
$custom: #507b26;
$custom-light: #85a165;
$custom-dark: #000000;
JSON
{
  "hex": "#507b26",
  "rgb": {
    "r": 80,
    "g": 123,
    "b": 38
  },
  "hsl": {
    "h": 90.353,
    "s": 52.795,
    "l": 31.569
  },
  "oklch": {
    "l": 0.53294,
    "c": 0.12413,
    "h": 132.3
  },
  "luminance": 0.16011
}

Semantic roles & 50–950 ramp

primary
#507B26
secondary
#7F50AD
accent
#4CDC95
background
#F8F9F6
surface
#EFF2EB
border
#CACCC6
text
#0B0F06
muted
#7C7E7A

Preview Lab

Preview with #507B26

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

Preview Lab → · Contrast checker → · Palette generator →

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