#507121#507121

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

Color values

HEX#507121
RGBrgb(80, 113, 33)
HSLhsl(85, 55%, 29%)
HSVhsv(85, 71%, 44%)
CMYKcmyk(29.2%, 0%, 70.8%, 55.7%)
CIE-LABlab(43.69, -25.34, 38.91)
CIE-LCHlch(43.69, 46.44, 123.08°)
OKLaboklab(50.6% -0.0719 0.0884)
OKLCHoklch(50.6% 0.114 129.1)
XYZxyz(9.4879, 13.6253, 3.5686)
Luminance0.1363 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#507121 #422171
analogous
#716A21 #507121 #287121
triadic
#507121 #215071 #712150
tetradic
#507121 #21716A #422171 #712128
square
#507121 #21716A #422171 #712128
split-complementary
#507121 #212871 #6A2171
monochromatic
#111807 #2E4213 #507121 #72A02F #92C844

Accessibility & contrast

On white

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

On black

3.73
#507121 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##507121#FFFFFF#000000##FFFFFF
##5071211.005.643.735.64
#FFFFFF5.641.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776915
Deuteranopia (green-blind)
#726628
Tritanopia (blue-blind)
#526C61
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #507121;
/* rgb */ color: rgb(80, 113, 33);
/* oklch */ color: oklch(50.6% 0.114 129.1);
Tailwind
colors: {
  custom: {
    50: '#849a61',
    500: '#507121',
    950: '#000000',
  },
}
SCSS
$custom: #507121;
$custom-light: #849a61;
$custom-dark: #000000;
JSON
{
  "hex": "#507121",
  "rgb": {
    "r": 80,
    "g": 113,
    "b": 33
  },
  "hsl": {
    "h": 84.75,
    "s": 54.795,
    "l": 28.627
  },
  "oklch": {
    "l": 0.50597,
    "c": 0.11394,
    "h": 129.1
  },
  "luminance": 0.13626
}

Semantic roles & 50–950 ramp

primary
#507121
secondary
#6F49A5
accent
#4ADE87
background
#F8F9F5
surface
#EFF2EA
border
#CACCC6
text
#0B0E05
muted
#7C7E79

Preview Lab

Preview with #507121

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

Preview Lab → · Contrast checker → · Palette generator →

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