#507B2A#507B2A

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

Color values

HEX#507B2A
RGBrgb(80, 123, 42)
HSLhsl(92, 49%, 32%)
HSVhsv(92, 66%, 48%)
CMYKcmyk(35%, 0%, 65.9%, 51.8%)
CIE-LABlab(47.02, -29.41, 38.42)
CIE-LCHlch(47.02, 48.39, 127.43°)
OKLaboklab(53.33% -0.0823 0.0886)
OKLCHoklch(53.33% 0.121 132.9)
XYZxyz(10.8090, 16.0381, 4.7162)
Luminance0.1604 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#507B2A #552A7B
analogous
#797B2A #507B2A #2A7B2D
triadic
#507B2A #2A507B #7B2A50
tetradic
#507B2A #2A797B #552A7B #7B2D2A
square
#507B2A #2A797B #552A7B #7B2D2A
split-complementary
#507B2A #2D2A7B #7B2A79
monochromatic
#15200B #324D1A #507B2A #6EA93A #8CC659

Accessibility & contrast

On white

4.99
#507B2A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#507B2A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #507B2A
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##507B2A#FFFFFF#000000##FFFFFF
##507B2A1.004.994.214.99
#FFFFFF4.991.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #507b2a;
/* rgb */ color: rgb(80, 123, 42);
/* oklch */ color: oklch(53.3% 0.121 132.9);
Tailwind
colors: {
  custom: {
    50: '#84a167',
    500: '#507b2a',
    950: '#000000',
  },
}
SCSS
$custom: #507b2a;
$custom-light: #84a167;
$custom-dark: #000000;
JSON
{
  "hex": "#507b2a",
  "rgb": {
    "r": 80,
    "g": 123,
    "b": 42
  },
  "hsl": {
    "h": 91.852,
    "s": 49.091,
    "l": 32.353
  },
  "oklch": {
    "l": 0.53334,
    "c": 0.1209,
    "h": 132.9
  },
  "luminance": 0.16039
}

Semantic roles & 50–950 ramp

primary
#507B2A
secondary
#8355AC
accent
#4FD998
background
#F8F9F6
surface
#EFF2EB
border
#CACCC6
text
#0B0F06
muted
#7C7E7A

Preview Lab

Preview with #507B2A

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

Preview Lab → · Contrast checker → · Palette generator →

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