#507E2C#507E2C

#507E2C is a mid, vivid yellow-green. Relative luminance 0.168; OKLCH L 54.1% C 0.124 H 133.8°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#507E2C
RGBrgb(80, 126, 44)
HSLhsl(94, 48%, 33%)
HSVhsv(94, 65%, 49%)
CMYKcmyk(36.5%, 0%, 65.1%, 50.6%)
CIE-LABlab(48.02, -30.64, 38.59)
CIE-LCHlch(48.02, 49.27, 128.45°)
OKLaboklab(54.15% -0.0854 0.0892)
OKLCHoklch(54.15% 0.124 133.8)
XYZxyz(11.2235, 16.8086, 5.0354)
Luminance0.1681 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#507E2C #5A2C7E
analogous
#797E2C #507E2C #2C7E31
triadic
#507E2C #2C507E #7E2C50
tetradic
#507E2C #2C797E #5A2C7E #7E312C
square
#507E2C #2C797E #5A2C7E #7E312C
split-complementary
#507E2C #312C7E #7E2C79
monochromatic
#16230C #33511C #507E2C #6DAB3C #8CC75E

Accessibility & contrast

On white

4.81
#507E2C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#507E2C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #507E2C
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##507E2C#FFFFFF#000000##FFFFFF
##507E2C1.004.814.364.81
#FFFFFF4.811.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837422
Deuteranopia (green-blind)
#7C7132
Tritanopia (blue-blind)
#50796D
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #507e2c;
/* rgb */ color: rgb(80, 126, 44);
/* oklch */ color: oklch(54.1% 0.124 133.8);
Tailwind
colors: {
  custom: {
    50: '#84a369',
    500: '#507e2c',
    950: '#000000',
  },
}
SCSS
$custom: #507e2c;
$custom-light: #84a369;
$custom-dark: #000000;
JSON
{
  "hex": "#507e2c",
  "rgb": {
    "r": 80,
    "g": 126,
    "b": 44
  },
  "hsl": {
    "h": 93.659,
    "s": 48.235,
    "l": 33.333
  },
  "oklch": {
    "l": 0.5415,
    "c": 0.12351,
    "h": 133.8
  },
  "luminance": 0.16809
}

Semantic roles & 50–950 ramp

primary
#507E2C
secondary
#8859AD
accent
#50D89C
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B0F06
muted
#7C7F7A

Preview Lab

Preview with #507E2C

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

Preview Lab → · Contrast checker → · Palette generator →

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