#507C2D#507C2D

#507C2D is a mid, moderate yellow-green. Relative luminance 0.163; OKLCH L 53.6% C 0.120 H 133.6°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#507C2D
RGBrgb(80, 124, 45)
HSLhsl(93, 47%, 33%)
HSVhsv(93, 64%, 49%)
CMYKcmyk(35.5%, 0%, 63.7%, 51.4%)
CIE-LABlab(47.38, -29.60, 37.41)
CIE-LCHlch(47.38, 47.70, 128.35°)
OKLaboklab(53.63% -0.0825 0.0868)
OKLCHoklch(53.63% 0.12 133.6)
XYZxyz(10.9894, 16.3098, 5.0512)
Luminance0.1631 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#507C2D #592D7C
analogous
#777C2D #507C2D #2D7C31
triadic
#507C2D #2D507C #7C2D50
tetradic
#507C2D #2D777C #592D7C #7C312D
square
#507C2D #2D777C #592D7C #7C312D
split-complementary
#507C2D #312D7C #7C2D77
monochromatic
#16220C #334F1D #507C2D #6DA93D #8CC55F

Accessibility & contrast

On white

4.93
#507C2D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#507C2D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #507C2D
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##507C2D#FFFFFF#000000##FFFFFF
##507C2D1.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #507c2d;
/* rgb */ color: rgb(80, 124, 45);
/* oklch */ color: oklch(53.6% 0.120 133.6);
Tailwind
colors: {
  custom: {
    50: '#84a269',
    500: '#507c2d',
    950: '#000000',
  },
}
SCSS
$custom: #507c2d;
$custom-light: #84a269;
$custom-dark: #000000;
JSON
{
  "hex": "#507c2d",
  "rgb": {
    "r": 80,
    "g": 124,
    "b": 45
  },
  "hsl": {
    "h": 93.418,
    "s": 46.746,
    "l": 33.137
  },
  "oklch": {
    "l": 0.53632,
    "c": 0.11977,
    "h": 133.6
  },
  "luminance": 0.1631
}

Semantic roles & 50–950 ramp

primary
#507C2D
secondary
#875AAB
accent
#51D69B
background
#F8FAF6
surface
#EFF3EB
border
#CACDC6
text
#0B0F06
muted
#7C7F7A

Preview Lab

Preview with #507C2D

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

Preview Lab → · Contrast checker → · Palette generator →

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