#507C22#507C22

#507C22 is a mid, vivid yellow-green. Relative luminance 0.162; OKLCH L 53.5% C 0.128 H 132.1°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#507C22
RGBrgb(80, 124, 34)
HSLhsl(89, 57%, 31%)
HSVhsv(89, 73%, 49%)
CMYKcmyk(35.5%, 0%, 72.6%, 51.4%)
CIE-LABlab(47.28, -30.56, 42.19)
CIE-LCHlch(47.28, 52.10, 125.91°)
OKLaboklab(53.52% -0.0861 0.0954)
OKLCHoklch(53.52% 0.128 132.1)
XYZxyz(10.8045, 16.2359, 4.0776)
Luminance0.1624 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#507C22 #4E227C
analogous
#7C7B22 #507C22 #237C22
triadic
#507C22 #22507C #7C2250
tetradic
#507C22 #227C7B #4E227C #7C2223
square
#507C22 #227C7B #4E227C #7C2223
split-complementary
#507C22 #22237C #7B227C
monochromatic
#121C08 #314C15 #507C22 #6FAC2F #8ECE4B

Accessibility & contrast

On white

4.94
#507C22 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#507C22 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #507C22
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##507C22#FFFFFF#000000##FFFFFF
##507C221.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817214
Deuteranopia (green-blind)
#7B6F2A
Tritanopia (blue-blind)
#51776A
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #507c22;
/* rgb */ color: rgb(80, 124, 34);
/* oklch */ color: oklch(53.5% 0.128 132.1);
Tailwind
colors: {
  custom: {
    50: '#85a263',
    500: '#507c22',
    950: '#000000',
  },
}
SCSS
$custom: #507c22;
$custom-light: #85a263;
$custom-dark: #000000;
JSON
{
  "hex": "#507c22",
  "rgb": {
    "r": 80,
    "g": 124,
    "b": 34
  },
  "hsl": {
    "h": 89.333,
    "s": 56.962,
    "l": 30.98
  },
  "oklch": {
    "l": 0.53523,
    "c": 0.12849,
    "h": 132.1
  },
  "luminance": 0.16236
}

Semantic roles & 50–950 ramp

primary
#507C22
secondary
#7C4BAF
accent
#48E092
background
#F8FAF6
surface
#F0F3EB
border
#CBCDC6
text
#0B0F05
muted
#7C7F7A

Preview Lab

Preview with #507C22

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

Preview Lab → · Contrast checker → · Palette generator →

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