#507120#507120

#507120 is a mid, moderate yellow-green. Relative luminance 0.136; OKLCH L 50.6% C 0.115 H 129.0°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#507120
RGBrgb(80, 113, 32)
HSLhsl(84, 56%, 28%)
HSVhsv(84, 72%, 44%)
CMYKcmyk(29.2%, 0%, 71.7%, 55.7%)
CIE-LABlab(43.68, -25.42, 39.33)
CIE-LCHlch(43.68, 46.84, 122.88°)
OKLaboklab(50.59% -0.0722 0.0891)
OKLCHoklch(50.59% 0.115 129)
XYZxyz(9.4741, 13.6198, 3.4959)
Luminance0.1362 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#507120 #412071
analogous
#716920 #507120 #287120
triadic
#507120 #205071 #712050
tetradic
#507120 #207169 #412071 #712028
square
#507120 #207169 #412071 #712028
split-complementary
#507120 #202871 #692071
monochromatic
#111807 #2E4112 #507120 #72A12E #92C942

Accessibility & contrast

On white

5.64
#507120 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#507120 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #507120
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##507120#FFFFFF#000000##FFFFFF
##5071201.005.643.725.64
#FFFFFF5.641.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776914
Deuteranopia (green-blind)
#726627
Tritanopia (blue-blind)
#536C61
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #507120;
/* rgb */ color: rgb(80, 113, 32);
/* oklch */ color: oklch(50.6% 0.115 129.0);
Tailwind
colors: {
  custom: {
    50: '#849a61',
    500: '#507120',
    950: '#000000',
  },
}
SCSS
$custom: #507120;
$custom-light: #849a61;
$custom-dark: #000000;
JSON
{
  "hex": "#507120",
  "rgb": {
    "r": 80,
    "g": 113,
    "b": 32
  },
  "hsl": {
    "h": 84.444,
    "s": 55.862,
    "l": 28.431
  },
  "oklch": {
    "l": 0.50588,
    "c": 0.1147,
    "h": 129
  },
  "luminance": 0.1362
}

Semantic roles & 50–950 ramp

primary
#507120
secondary
#6E48A5
accent
#49DF86
background
#F8F9F5
surface
#EFF2EA
border
#CACCC6
text
#0B0E05
muted
#7C7E79

Preview Lab

Preview with #507120

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

Preview Lab → · Contrast checker → · Palette generator →

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