#507221#507221

#507221 is a mid, moderate yellow-green. Relative luminance 0.139; OKLCH L 50.9% C 0.115 H 129.4°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#507221
RGBrgb(80, 114, 33)
HSLhsl(85, 55%, 29%)
HSVhsv(85, 71%, 45%)
CMYKcmyk(29.8%, 0%, 71.1%, 55.3%)
CIE-LABlab(44.02, -25.84, 39.25)
CIE-LCHlch(44.02, 46.99, 123.36°)
OKLaboklab(50.86% -0.0733 0.0891)
OKLCHoklch(50.86% 0.115 129.4)
XYZxyz(9.6000, 13.8496, 3.6060)
Luminance0.1385 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#507221 #432172
analogous
#726C21 #507221 #287221
triadic
#507221 #215072 #722150
tetradic
#507221 #21726C #432172 #722128
square
#507221 #21726C #432172 #722128
split-complementary
#507221 #212872 #6C2172
monochromatic
#111807 #2F4313 #507221 #71A12F #91C944

Accessibility & contrast

On white

5.57
#507221 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#507221 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #507221
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##507221#FFFFFF#000000##FFFFFF
##5072211.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786A15
Deuteranopia (green-blind)
#736728
Tritanopia (blue-blind)
#526D62
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #507221;
/* rgb */ color: rgb(80, 114, 33);
/* oklch */ color: oklch(50.9% 0.115 129.4);
Tailwind
colors: {
  custom: {
    50: '#849a61',
    500: '#507221',
    950: '#000000',
  },
}
SCSS
$custom: #507221;
$custom-light: #849a61;
$custom-dark: #000000;
JSON
{
  "hex": "#507221",
  "rgb": {
    "r": 80,
    "g": 114,
    "b": 33
  },
  "hsl": {
    "h": 85.185,
    "s": 55.102,
    "l": 28.824
  },
  "oklch": {
    "l": 0.50862,
    "c": 0.11534,
    "h": 129.4
  },
  "luminance": 0.1385
}

Semantic roles & 50–950 ramp

primary
#507221
secondary
#7049A5
accent
#49DE88
background
#F8F9F5
surface
#EFF2EA
border
#CACCC6
text
#0B0E05
muted
#7C7E79

Preview Lab

Preview with #507221

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

Preview Lab → · Contrast checker → · Palette generator →

#507221 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva