#518921#518921

#518921 is a mid, vivid yellow-green. Relative luminance 0.198; OKLCH L 57.0% C 0.146 H 134.0°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#518921
RGBrgb(81, 137, 33)
HSLhsl(92, 61%, 33%)
HSVhsv(92, 76%, 54%)
CMYKcmyk(40.9%, 0%, 75.9%, 46.3%)
CIE-LABlab(51.55, -36.14, 46.88)
CIE-LCHlch(51.55, 59.20, 127.63°)
OKLaboklab(57.02% -0.1014 0.105)
OKLCHoklch(57.02% 0.146 134)
XYZxyz(12.6133, 19.7498, 4.5860)
Luminance0.1975 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#518921 #592189
analogous
#858921 #518921 #218925
triadic
#518921 #215189 #892151
tetradic
#518921 #218589 #592189 #892521
square
#518921 #218589 #592189 #892521
split-complementary
#518921 #252189 #892185
monochromatic
#172609 #345815 #518921 #6EBA2D #8DD550

Accessibility & contrast

On white

4.24
#518921 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#518921 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #518921
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##518921#FFFFFF#000000##000000
##5189211.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7E0C
Deuteranopia (green-blind)
#87792B
Tritanopia (blue-blind)
#518375
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #518921;
/* rgb */ color: rgb(81, 137, 33);
/* oklch */ color: oklch(57.0% 0.146 134.0);
Tailwind
colors: {
  custom: {
    50: '#87ac64',
    500: '#518921',
    950: '#000000',
  },
}
SCSS
$custom: #518921;
$custom-light: #87ac64;
$custom-dark: #000000;
JSON
{
  "hex": "#518921",
  "rgb": {
    "r": 81,
    "g": 137,
    "b": 33
  },
  "hsl": {
    "h": 92.308,
    "s": 61.176,
    "l": 33.333
  },
  "oklch": {
    "l": 0.57024,
    "c": 0.14598,
    "h": 134
  },
  "luminance": 0.1975
}

Semantic roles & 50–950 ramp

primary
#518921
secondary
#874EB8
accent
#44E49A
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1006
muted
#7D7F7A

Preview Lab

Preview with #518921

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

Preview Lab → · Contrast checker → · Palette generator →

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