#518110#518110

#518110 is a mid, vivid yellow-green. Relative luminance 0.175; OKLCH L 54.8% C 0.144 H 131.4°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#518110
RGBrgb(81, 129, 16)
HSLhsl(85, 78%, 28%)
HSVhsv(85, 88%, 51%)
CMYKcmyk(37.2%, 0%, 87.6%, 49.4%)
CIE-LABlab(48.87, -33.48, 49.69)
CIE-LCHlch(48.87, 59.91, 123.97°)
OKLaboklab(54.8% -0.0953 0.1082)
OKLCHoklch(54.8% 0.144 131.4)
XYZxyz(11.3370, 17.4868, 3.2681)
Luminance0.1749 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#518110 #401081
analogous
#817810 #518110 #188110
triadic
#518110 #105181 #811051
tetradic
#518110 #108178 #401081 #811018
square
#518110 #108178 #401081 #811018
split-complementary
#518110 #101881 #781081
monochromatic
#111B03 #2F4B09 #518110 #73B717 #94E427

Accessibility & contrast

On white

4.67
#518110 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#518110 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #518110
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##518110#FFFFFF#000000##FFFFFF
##5181101.004.674.504.67
#FFFFFF4.671.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#877600
Deuteranopia (green-blind)
#81731F
Tritanopia (blue-blind)
#537B6D
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #518110;
/* rgb */ color: rgb(81, 129, 16);
/* oklch */ color: oklch(54.8% 0.144 131.4);
Tailwind
colors: {
  custom: {
    50: '#87a65c',
    500: '#518110',
    950: '#000000',
  },
}
SCSS
$custom: #518110;
$custom-light: #87a65c;
$custom-dark: #000000;
JSON
{
  "hex": "#518110",
  "rgb": {
    "r": 81,
    "g": 129,
    "b": 16
  },
  "hsl": {
    "h": 85.487,
    "s": 77.931,
    "l": 28.431
  },
  "oklch": {
    "l": 0.548,
    "c": 0.14422,
    "h": 131.4
  },
  "luminance": 0.17487
}

Semantic roles & 50–950 ramp

primary
#518110
secondary
#6D36B7
accent
#33F485
background
#F8FAF5
surface
#F0F4E9
border
#CBCEC5
text
#0C0F04
muted
#7D7F79

Preview Lab

Preview with #518110

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

Preview Lab → · Contrast checker → · Palette generator →

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