#518620#518620

#518620 is a mid, vivid yellow-green. Relative luminance 0.189; OKLCH L 56.2% C 0.143 H 133.4°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#518620
RGBrgb(81, 134, 32)
HSLhsl(91, 61%, 33%)
HSVhsv(91, 76%, 53%)
CMYKcmyk(39.6%, 0%, 76.1%, 47.5%)
CIE-LABlab(50.57, -34.88, 46.29)
CIE-LCHlch(50.57, 57.96, 127.00°)
OKLaboklab(56.22% -0.098 0.1036)
OKLCHoklch(56.22% 0.143 133.4)
XYZxyz(12.1790, 18.9032, 4.3732)
Luminance0.1890 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#518620 #552086
analogous
#848620 #518620 #208622
triadic
#518620 #205186 #862051
tetradic
#518620 #208486 #552086 #862220
square
#518620 #208486 #552086 #862220
split-complementary
#518620 #222086 #862084
monochromatic
#152308 #335514 #518620 #6FB72C #8ED44C

Accessibility & contrast

On white

4.39
#518620 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#518620 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #518620
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##518620#FFFFFF#000000##000000
##5186201.004.394.784.78
#FFFFFF4.391.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7B0B
Deuteranopia (green-blind)
#84772A
Tritanopia (blue-blind)
#518072
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #518620;
/* rgb */ color: rgb(81, 134, 32);
/* oklch */ color: oklch(56.2% 0.143 133.4);
Tailwind
colors: {
  custom: {
    50: '#87a963',
    500: '#518620',
    950: '#000000',
  },
}
SCSS
$custom: #518620;
$custom-light: #87a963;
$custom-dark: #000000;
JSON
{
  "hex": "#518620",
  "rgb": {
    "r": 81,
    "g": 134,
    "b": 32
  },
  "hsl": {
    "h": 91.176,
    "s": 61.446,
    "l": 32.549
  },
  "oklch": {
    "l": 0.56221,
    "c": 0.14266,
    "h": 133.4
  },
  "luminance": 0.18904
}

Semantic roles & 50–950 ramp

primary
#518620
secondary
#834BB7
accent
#43E597
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1006
muted
#7D7F7A

Preview Lab

Preview with #518620

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

Preview Lab → · Contrast checker → · Palette generator →

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