#518521#518521

#518521 is a mid, vivid yellow-green. Relative luminance 0.186; OKLCH L 56.0% C 0.141 H 133.3°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#518521
RGBrgb(81, 133, 33)
HSLhsl(91, 60%, 33%)
HSVhsv(91, 75%, 52%)
CMYKcmyk(39.1%, 0%, 75.2%, 47.8%)
CIE-LABlab(50.26, -34.37, 45.60)
CIE-LCHlch(50.26, 57.10, 127.00°)
OKLaboklab(55.96% -0.0966 0.1024)
OKLCHoklch(55.96% 0.141 133.3)
XYZxyz(12.0552, 18.6336, 4.4000)
Luminance0.1863 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#518521 #552185
analogous
#838521 #518521 #218523
triadic
#518521 #215185 #852151
tetradic
#518521 #218385 #552185 #852321
square
#518521 #218385 #552185 #852321
split-complementary
#518521 #232185 #852183
monochromatic
#152309 #335415 #518521 #6FB62D #8ED34D

Accessibility & contrast

On white

4.44
#518521 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#518521 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #518521
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##518521#FFFFFF#000000##000000
##5185211.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7A0E
Deuteranopia (green-blind)
#83762B
Tritanopia (blue-blind)
#518072
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #518521;
/* rgb */ color: rgb(81, 133, 33);
/* oklch */ color: oklch(56.0% 0.141 133.3);
Tailwind
colors: {
  custom: {
    50: '#86a964',
    500: '#518521',
    950: '#000000',
  },
}
SCSS
$custom: #518521;
$custom-light: #86a964;
$custom-dark: #000000;
JSON
{
  "hex": "#518521",
  "rgb": {
    "r": 81,
    "g": 133,
    "b": 33
  },
  "hsl": {
    "h": 91.2,
    "s": 60.241,
    "l": 32.549
  },
  "oklch": {
    "l": 0.55963,
    "c": 0.14072,
    "h": 133.3
  },
  "luminance": 0.18634
}

Semantic roles & 50–950 ramp

primary
#518521
secondary
#834CB6
accent
#44E397
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1006
muted
#7D7F7A

Preview Lab

Preview with #518521

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

Preview Lab → · Contrast checker → · Palette generator →

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