#507B2E#507B2E

#507B2E is a mid, moderate yellow-green. Relative luminance 0.161; OKLCH L 53.4% C 0.117 H 133.5°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#507B2E
RGBrgb(80, 123, 46)
HSLhsl(94, 46%, 33%)
HSVhsv(94, 63%, 48%)
CMYKcmyk(35%, 0%, 62.6%, 51.8%)
CIE-LABlab(47.06, -29.02, 36.58)
CIE-LCHlch(47.06, 46.69, 128.43°)
OKLaboklab(53.38% -0.0809 0.0852)
OKLCHoklch(53.38% 0.117 133.5)
XYZxyz(10.8842, 16.0682, 5.1122)
Luminance0.1607 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#507B2E #592E7B
analogous
#767B2E #507B2E #2E7B32
triadic
#507B2E #2E507B #7B2E50
tetradic
#507B2E #2E767B #592E7B #7B322E
square
#507B2E #2E767B #592E7B #7B322E
split-complementary
#507B2E #322E7B #7B2E76
monochromatic
#16220D #334E1D #507B2E #6DA83F #8CC360

Accessibility & contrast

On white

4.98
#507B2E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #507B2E
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##507B2E#FFFFFF#000000##FFFFFF
##507B2E1.004.984.214.98
#FFFFFF4.981.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807225
Deuteranopia (green-blind)
#7A6E34
Tritanopia (blue-blind)
#50766B
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #507b2e;
/* rgb */ color: rgb(80, 123, 46);
/* oklch */ color: oklch(53.4% 0.117 133.5);
Tailwind
colors: {
  custom: {
    50: '#84a16a',
    500: '#507b2e',
    950: '#000000',
  },
}
SCSS
$custom: #507b2e;
$custom-light: #84a16a;
$custom-dark: #000000;
JSON
{
  "hex": "#507b2e",
  "rgb": {
    "r": 80,
    "g": 123,
    "b": 46
  },
  "hsl": {
    "h": 93.506,
    "s": 45.562,
    "l": 33.137
  },
  "oklch": {
    "l": 0.53379,
    "c": 0.11743,
    "h": 133.5
  },
  "luminance": 0.16069
}

Semantic roles & 50–950 ramp

primary
#507B2E
secondary
#875BAA
accent
#53D59C
background
#F8F9F6
surface
#EFF2EB
border
#CACCC6
text
#0B0F07
muted
#7C7E7A

Preview Lab

Preview with #507B2E

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

Preview Lab → · Contrast checker → · Palette generator →

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