#507C2F#507C2F

#507C2F is a mid, moderate yellow-green. Relative luminance 0.163; OKLCH L 53.7% C 0.118 H 133.9°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#507C2F
RGBrgb(80, 124, 47)
HSLhsl(94, 45%, 34%)
HSVhsv(94, 62%, 49%)
CMYKcmyk(35.5%, 0%, 62.1%, 51.4%)
CIE-LABlab(47.40, -29.40, 36.47)
CIE-LCHlch(47.40, 46.84, 128.87°)
OKLaboklab(53.65% -0.0818 0.085)
OKLCHoklch(53.65% 0.118 133.9)
XYZxyz(11.0288, 16.3256, 5.2588)
Luminance0.1633 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#507C2F #5B2F7C
analogous
#767C2F #507C2F #2F7C34
triadic
#507C2F #2F507C #7C2F50
tetradic
#507C2F #2F767C #5B2F7C #7C342F
square
#507C2F #2F767C #5B2F7C #7C342F
split-complementary
#507C2F #342F7C #7C2F76
monochromatic
#17230D #33501E #507C2F #6DA840 #8CC362

Accessibility & contrast

On white

4.92
#507C2F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#507C2F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #507C2F
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##507C2F#FFFFFF#000000##FFFFFF
##507C2F1.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817327
Deuteranopia (green-blind)
#7B6F35
Tritanopia (blue-blind)
#50776B
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #507c2f;
/* rgb */ color: rgb(80, 124, 47);
/* oklch */ color: oklch(53.7% 0.118 133.9);
Tailwind
colors: {
  custom: {
    50: '#84a26b',
    500: '#507c2f',
    950: '#000000',
  },
}
SCSS
$custom: #507c2f;
$custom-light: #84a26b;
$custom-dark: #000000;
JSON
{
  "hex": "#507c2f",
  "rgb": {
    "r": 80,
    "g": 124,
    "b": 47
  },
  "hsl": {
    "h": 94.286,
    "s": 45.029,
    "l": 33.529
  },
  "oklch": {
    "l": 0.53655,
    "c": 0.118,
    "h": 133.9
  },
  "luminance": 0.16326
}

Semantic roles & 50–950 ramp

primary
#507C2F
secondary
#895CAA
accent
#53D59D
background
#F8FAF6
surface
#EFF3EB
border
#CACDC6
text
#0B0F07
muted
#7C7F7A

Preview Lab

Preview with #507C2F

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

Preview Lab → · Contrast checker → · Palette generator →

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