#518310#518310

#518310 is a mid, vivid yellow-green. Relative luminance 0.180; OKLCH L 55.3% C 0.147 H 131.8°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#518310
RGBrgb(81, 131, 16)
HSLhsl(86, 78%, 29%)
HSVhsv(86, 88%, 51%)
CMYKcmyk(38.2%, 0%, 87.8%, 48.6%)
CIE-LABlab(49.52, -34.37, 50.25)
CIE-LCHlch(49.52, 60.88, 124.37°)
OKLaboklab(55.33% -0.0977 0.1095)
OKLCHoklch(55.33% 0.147 131.8)
XYZxyz(11.6031, 18.0188, 3.3567)
Luminance0.1802 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#518310 #421083
analogous
#837C10 #518310 #188310
triadic
#518310 #105183 #831051
tetradic
#518310 #10837C #421083 #831018
square
#518310 #10837C #421083 #831018
split-complementary
#518310 #101883 #7C1083
monochromatic
#111B03 #2F4C09 #518310 #73BA17 #93E529

Accessibility & contrast

On white

4.56
#518310 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#518310 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #518310
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##518310#FFFFFF#000000##000000
##5183101.004.564.604.60
#FFFFFF4.561.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#897800
Deuteranopia (green-blind)
#82741F
Tritanopia (blue-blind)
#527D6F
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #518310;
/* rgb */ color: rgb(81, 131, 16);
/* oklch */ color: oklch(55.3% 0.147 131.8);
Tailwind
colors: {
  custom: {
    50: '#87a75c',
    500: '#518310',
    950: '#000000',
  },
}
SCSS
$custom: #518310;
$custom-light: #87a75c;
$custom-dark: #000000;
JSON
{
  "hex": "#518310",
  "rgb": {
    "r": 81,
    "g": 131,
    "b": 16
  },
  "hsl": {
    "h": 86.087,
    "s": 78.231,
    "l": 28.824
  },
  "oklch": {
    "l": 0.55333,
    "c": 0.14672,
    "h": 131.8
  },
  "luminance": 0.18019
}

Semantic roles & 50–950 ramp

primary
#518310
secondary
#6F36B9
accent
#33F587
background
#F8FAF5
surface
#F0F4E9
border
#CBCEC5
text
#0C0F05
muted
#7D7F79

Preview Lab

Preview with #518310

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

Preview Lab → · Contrast checker → · Palette generator →

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