#507F2B#507F2B

#507F2B is a mid, vivid yellow-green. Relative luminance 0.171; OKLCH L 54.4% C 0.126 H 133.8°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#507F2B
RGBrgb(80, 127, 43)
HSLhsl(94, 49%, 33%)
HSVhsv(94, 66%, 50%)
CMYKcmyk(37%, 0%, 66.1%, 50.2%)
CIE-LABlab(48.33, -31.20, 39.39)
CIE-LCHlch(48.33, 50.25, 128.38°)
OKLaboklab(54.4% -0.0871 0.0908)
OKLCHoklch(54.4% 0.126 133.8)
XYZxyz(11.3335, 17.0581, 4.9804)
Luminance0.1706 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#507F2B #5A2B7F
analogous
#7A7F2B #507F2B #2B7F30
triadic
#507F2B #2B507F #7F2B50
tetradic
#507F2B #2B7A7F #5A2B7F #7F302B
square
#507F2B #2B7A7F #5A2B7F #7F302B
split-complementary
#507F2B #302B7F #7F2B7A
monochromatic
#16240C #33511C #507F2B #6DAD3A #8CC85C

Accessibility & contrast

On white

4.76
#507F2B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#507F2B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #507F2B
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##507F2B#FFFFFF#000000##FFFFFF
##507F2B1.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847521
Deuteranopia (green-blind)
#7D7132
Tritanopia (blue-blind)
#507A6E
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #507f2b;
/* rgb */ color: rgb(80, 127, 43);
/* oklch */ color: oklch(54.4% 0.126 133.8);
Tailwind
colors: {
  custom: {
    50: '#85a468',
    500: '#507f2b',
    950: '#000000',
  },
}
SCSS
$custom: #507f2b;
$custom-light: #85a468;
$custom-dark: #000000;
JSON
{
  "hex": "#507f2b",
  "rgb": {
    "r": 80,
    "g": 127,
    "b": 43
  },
  "hsl": {
    "h": 93.571,
    "s": 49.412,
    "l": 33.333
  },
  "oklch": {
    "l": 0.54404,
    "c": 0.12577,
    "h": 133.8
  },
  "luminance": 0.17059
}

Semantic roles & 50–950 ramp

primary
#507F2B
secondary
#8858AE
accent
#4FD99C
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B0F06
muted
#7C7F7A

Preview Lab

Preview with #507F2B

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

Preview Lab → · Contrast checker → · Palette generator →

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