#507A23#507A23

#507A23 is a mid, vivid yellow-green. Relative luminance 0.157; OKLCH L 53.0% C 0.125 H 131.7°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#507A23
RGBrgb(80, 122, 35)
HSLhsl(89, 55%, 31%)
HSVhsv(89, 71%, 48%)
CMYKcmyk(34.4%, 0%, 71.3%, 52.2%)
CIE-LABlab(46.64, -29.54, 41.12)
CIE-LCHlch(46.64, 50.63, 125.70°)
OKLaboklab(53% -0.0832 0.0933)
OKLCHoklch(53% 0.125 131.7)
XYZxyz(10.5711, 15.7455, 4.0720)
Luminance0.1575 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#507A23 #4D237A
analogous
#7A7823 #507A23 #247A23
triadic
#507A23 #23507A #7A2350
tetradic
#507A23 #237A78 #4D237A #7A2324
square
#507A23 #237A78 #4D237A #7A2324
split-complementary
#507A23 #23247A #78237A
monochromatic
#121B08 #314A15 #507A23 #6FAA31 #8ECC4C

Accessibility & contrast

On white

5.06
#507A23 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#507A23 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #507A23
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##507A23#FFFFFF#000000##FFFFFF
##507A231.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7116
Deuteranopia (green-blind)
#7A6D2B
Tritanopia (blue-blind)
#517569
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #507a23;
/* rgb */ color: rgb(80, 122, 35);
/* oklch */ color: oklch(53.0% 0.125 131.7);
Tailwind
colors: {
  custom: {
    50: '#85a063',
    500: '#507a23',
    950: '#000000',
  },
}
SCSS
$custom: #507a23;
$custom-light: #85a063;
$custom-dark: #000000;
JSON
{
  "hex": "#507a23",
  "rgb": {
    "r": 80,
    "g": 122,
    "b": 35
  },
  "hsl": {
    "h": 88.966,
    "s": 55.414,
    "l": 30.784
  },
  "oklch": {
    "l": 0.53001,
    "c": 0.12501,
    "h": 131.7
  },
  "luminance": 0.15746
}

Semantic roles & 50–950 ramp

primary
#507A23
secondary
#7B4CAD
accent
#49DF91
background
#F8F9F6
surface
#EFF2EB
border
#CACCC6
text
#0B0F05
muted
#7C7E7A

Preview Lab

Preview with #507A23

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

Preview Lab → · Contrast checker → · Palette generator →

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