#507E2E#507E2E

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

Color values

HEX#507E2E
RGBrgb(80, 126, 46)
HSLhsl(95, 47%, 34%)
HSVhsv(95, 63%, 49%)
CMYKcmyk(36.5%, 0%, 63.5%, 50.6%)
CIE-LABlab(48.04, -30.44, 37.67)
CIE-LCHlch(48.04, 48.43, 128.94°)
OKLaboklab(54.17% -0.0848 0.0875)
OKLCHoklch(54.17% 0.122 134.1)
XYZxyz(11.2620, 16.8240, 5.2382)
Luminance0.1682 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#507E2E #5C2E7E
analogous
#787E2E #507E2E #2E7E34
triadic
#507E2E #2E507E #7E2E50
tetradic
#507E2E #2E787E #5C2E7E #7E342E
square
#507E2E #2E787E #5C2E7E #7E342E
split-complementary
#507E2E #342E7E #7E2E78
monochromatic
#17240D #34511E #507E2E #6CAB3E #8CC561

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##507E2E#FFFFFF#000000##FFFFFF
##507E2E1.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)
#837425
Deuteranopia (green-blind)
#7C7134
Tritanopia (blue-blind)
#50796D
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #507e2e;
/* rgb */ color: rgb(80, 126, 46);
/* oklch */ color: oklch(54.2% 0.122 134.1);
Tailwind
colors: {
  custom: {
    50: '#84a36a',
    500: '#507e2e',
    950: '#000000',
  },
}
SCSS
$custom: #507e2e;
$custom-light: #84a36a;
$custom-dark: #000000;
JSON
{
  "hex": "#507e2e",
  "rgb": {
    "r": 80,
    "g": 126,
    "b": 46
  },
  "hsl": {
    "h": 94.5,
    "s": 46.512,
    "l": 33.725
  },
  "oklch": {
    "l": 0.54172,
    "c": 0.12179,
    "h": 134.1
  },
  "luminance": 0.16824
}

Semantic roles & 50–950 ramp

primary
#507E2E
secondary
#8A5CAC
accent
#52D69E
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B0F07
muted
#7C7F7A

Preview Lab

Preview with #507E2E

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

Preview Lab → · Contrast checker → · Palette generator →

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