#507B24#507B24

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

Color values

HEX#507B24
RGBrgb(80, 123, 36)
HSLhsl(90, 55%, 31%)
HSVhsv(90, 71%, 48%)
CMYKcmyk(35%, 0%, 70.7%, 51.8%)
CIE-LABlab(46.97, -29.93, 41.04)
CIE-LCHlch(46.97, 50.80, 126.11°)
OKLaboklab(53.27% -0.0842 0.0933)
OKLCHoklch(53.27% 0.126 132.1)
XYZxyz(10.7095, 15.9984, 4.1924)
Luminance0.1600 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#507B24 #4F247B
analogous
#7B7A24 #507B24 #247B24
triadic
#507B24 #24507B #7B2450
tetradic
#507B24 #247B7A #4F247B #7B2424
square
#507B24 #247B7A #4F247B #7B2424
split-complementary
#507B24 #24247B #7A247B
monochromatic
#121C08 #314C16 #507B24 #6FAA32 #8DCB4E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##507B24#FFFFFF#000000##FFFFFF
##507B241.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)
#807117
Deuteranopia (green-blind)
#7A6E2B
Tritanopia (blue-blind)
#517669
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #507b24;
/* rgb */ color: rgb(80, 123, 36);
/* oklch */ color: oklch(53.3% 0.126 132.1);
Tailwind
colors: {
  custom: {
    50: '#85a164',
    500: '#507b24',
    950: '#000000',
  },
}
SCSS
$custom: #507b24;
$custom-light: #85a164;
$custom-dark: #000000;
JSON
{
  "hex": "#507b24",
  "rgb": {
    "r": 80,
    "g": 123,
    "b": 36
  },
  "hsl": {
    "h": 89.655,
    "s": 54.717,
    "l": 31.176
  },
  "oklch": {
    "l": 0.53275,
    "c": 0.12566,
    "h": 132.1
  },
  "luminance": 0.15999
}

Semantic roles & 50–950 ramp

primary
#507B24
secondary
#7D4DAD
accent
#4ADE93
background
#F8F9F6
surface
#EFF2EB
border
#CACCC6
text
#0B0F06
muted
#7C7E7A

Preview Lab

Preview with #507B24

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

Preview Lab → · Contrast checker → · Palette generator →

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