#518420#518420

#518420 is a mid, vivid yellow-green. Relative luminance 0.184; OKLCH L 55.7% C 0.140 H 133.1°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#518420
RGBrgb(81, 132, 32)
HSLhsl(91, 61%, 32%)
HSVhsv(91, 76%, 52%)
CMYKcmyk(38.6%, 0%, 75.8%, 48.2%)
CIE-LABlab(49.92, -33.99, 45.65)
CIE-LCHlch(49.92, 56.91, 126.67°)
OKLaboklab(55.69% -0.0956 0.1023)
OKLCHoklch(55.69% 0.14 133.1)
XYZxyz(11.9051, 18.3556, 4.2819)
Luminance0.1836 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#518420 #532084
analogous
#838420 #518420 #208421
triadic
#518420 #205184 #842051
tetradic
#518420 #208384 #532084 #842120
square
#518420 #208384 #532084 #842120
split-complementary
#518420 #212084 #842083
monochromatic
#152108 #335314 #518420 #6FB52C #8ED34B

Accessibility & contrast

On white

4.50
#518420 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.67
#518420 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #518420
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##518420#FFFFFF#000000##000000
##5184201.004.504.674.67
#FFFFFF4.501.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A790C
Deuteranopia (green-blind)
#83752A
Tritanopia (blue-blind)
#517F71
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #518420;
/* rgb */ color: rgb(81, 132, 32);
/* oklch */ color: oklch(55.7% 0.140 133.1);
Tailwind
colors: {
  custom: {
    50: '#86a863',
    500: '#518420',
    950: '#000000',
  },
}
SCSS
$custom: #518420;
$custom-light: #86a863;
$custom-dark: #000000;
JSON
{
  "hex": "#518420",
  "rgb": {
    "r": 81,
    "g": 132,
    "b": 32
  },
  "hsl": {
    "h": 90.6,
    "s": 60.976,
    "l": 32.157
  },
  "oklch": {
    "l": 0.5569,
    "c": 0.14003,
    "h": 133.1
  },
  "luminance": 0.18356
}

Semantic roles & 50–950 ramp

primary
#518420
secondary
#814AB6
accent
#44E496
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C0F06
muted
#7D7F7A

Preview Lab

Preview with #518420

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

Preview Lab → · Contrast checker → · Palette generator →

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