#507E2D#507E2D

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

Color values

HEX#507E2D
RGBrgb(80, 126, 45)
HSLhsl(94, 47%, 34%)
HSVhsv(94, 64%, 49%)
CMYKcmyk(36.5%, 0%, 64.3%, 50.6%)
CIE-LABlab(48.03, -30.54, 38.13)
CIE-LCHlch(48.03, 48.85, 128.69°)
OKLaboklab(54.16% -0.0851 0.0883)
OKLCHoklch(54.16% 0.123 133.9)
XYZxyz(11.2426, 16.8162, 5.1356)
Luminance0.1682 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#507E2D #5B2D7E
analogous
#787E2D #507E2D #2D7E32
triadic
#507E2D #2D507E #7E2D50
tetradic
#507E2D #2D787E #5B2D7E #7E322D
square
#507E2D #2D787E #5B2D7E #7E322D
split-complementary
#507E2D #322D7E #7E2D78
monochromatic
#17240D #33511D #507E2D #6DAB3D #8CC65F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##507E2D#FFFFFF#000000##FFFFFF
##507E2D1.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)
#837424
Deuteranopia (green-blind)
#7C7133
Tritanopia (blue-blind)
#50796D
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #507e2d;
/* rgb */ color: rgb(80, 126, 45);
/* oklch */ color: oklch(54.2% 0.123 133.9);
Tailwind
colors: {
  custom: {
    50: '#84a36a',
    500: '#507e2d',
    950: '#000000',
  },
}
SCSS
$custom: #507e2d;
$custom-light: #84a36a;
$custom-dark: #000000;
JSON
{
  "hex": "#507e2d",
  "rgb": {
    "r": 80,
    "g": 126,
    "b": 45
  },
  "hsl": {
    "h": 94.074,
    "s": 47.368,
    "l": 33.529
  },
  "oklch": {
    "l": 0.54161,
    "c": 0.12266,
    "h": 133.9
  },
  "luminance": 0.16817
}

Semantic roles & 50–950 ramp

primary
#507E2D
secondary
#895AAC
accent
#51D79D
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B0F06
muted
#7C7F7A

Preview Lab

Preview with #507E2D

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

Preview Lab → · Contrast checker → · Palette generator →

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