#507C2A#507C2A

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

Color values

HEX#507C2A
RGBrgb(80, 124, 42)
HSLhsl(92, 49%, 33%)
HSVhsv(92, 66%, 49%)
CMYKcmyk(35.5%, 0%, 66.1%, 51.4%)
CIE-LABlab(47.35, -29.89, 38.78)
CIE-LCHlch(47.35, 48.96, 127.62°)
OKLaboklab(53.6% -0.0836 0.0893)
OKLCHoklch(53.6% 0.122 133.1)
XYZxyz(10.9337, 16.2875, 4.7578)
Luminance0.1629 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#507C2A #562A7C
analogous
#797C2A #507C2A #2A7C2D
triadic
#507C2A #2A507C #7C2A50
tetradic
#507C2A #2A797C #562A7C #7C2D2A
square
#507C2A #2A797C #562A7C #7C2D2A
split-complementary
#507C2A #2D2A7C #7C2A79
monochromatic
#15210B #334E1B #507C2A #6DAA39 #8CC759

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##507C2A#FFFFFF#000000##FFFFFF
##507C2A1.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)
#817320
Deuteranopia (green-blind)
#7B6F31
Tritanopia (blue-blind)
#50776B
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #507c2a;
/* rgb */ color: rgb(80, 124, 42);
/* oklch */ color: oklch(53.6% 0.122 133.1);
Tailwind
colors: {
  custom: {
    50: '#84a268',
    500: '#507c2a',
    950: '#000000',
  },
}
SCSS
$custom: #507c2a;
$custom-light: #84a268;
$custom-dark: #000000;
JSON
{
  "hex": "#507c2a",
  "rgb": {
    "r": 80,
    "g": 124,
    "b": 42
  },
  "hsl": {
    "h": 92.195,
    "s": 49.398,
    "l": 32.549
  },
  "oklch": {
    "l": 0.53599,
    "c": 0.12233,
    "h": 133.1
  },
  "luminance": 0.16288
}

Semantic roles & 50–950 ramp

primary
#507C2A
secondary
#8455AD
accent
#4FD999
background
#F8FAF6
surface
#EFF3EB
border
#CACDC6
text
#0B0F06
muted
#7C7F7A

Preview Lab

Preview with #507C2A

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

Preview Lab → · Contrast checker → · Palette generator →

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