#518B19#518B19

#518B19 is a mid, vivid yellow-green. Relative luminance 0.203; OKLCH L 57.5% C 0.153 H 133.7°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#518B19
RGBrgb(81, 139, 25)
HSLhsl(91, 70%, 32%)
HSVhsv(91, 82%, 55%)
CMYKcmyk(41.7%, 0%, 82%, 45.5%)
CIE-LABlab(52.16, -37.48, 50.15)
CIE-LCHlch(52.16, 62.61, 126.78°)
OKLaboklab(57.5% -0.1055 0.1106)
OKLCHoklch(57.5% 0.153 133.7)
XYZxyz(12.8012, 20.2841, 4.1602)
Luminance0.2029 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#518B19 #53198B
analogous
#8A8B19 #518B19 #198B1A
triadic
#518B19 #19518B #8B1951
tetradic
#518B19 #198A8B #53198B #8B1A19
square
#518B19 #198A8B #53198B #8B1A19
split-complementary
#518B19 #1A198B #8B198A
monochromatic
#152306 #335710 #518B19 #6FBF22 #8EDD41

Accessibility & contrast

On white

4.15
#518B19 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#518B19 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #518B19
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##518B19#FFFFFF#000000##000000
##518B191.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#917F00
Deuteranopia (green-blind)
#897B26
Tritanopia (blue-blind)
#518576
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #518b19;
/* rgb */ color: rgb(81, 139, 25);
/* oklch */ color: oklch(57.5% 0.153 133.7);
Tailwind
colors: {
  custom: {
    50: '#87ad61',
    500: '#518b19',
    950: '#000000',
  },
}
SCSS
$custom: #518b19;
$custom-light: #87ad61;
$custom-dark: #000000;
JSON
{
  "hex": "#518b19",
  "rgb": {
    "r": 81,
    "g": 139,
    "b": 25
  },
  "hsl": {
    "h": 90.526,
    "s": 69.512,
    "l": 32.157
  },
  "oklch": {
    "l": 0.57504,
    "c": 0.1529,
    "h": 133.7
  },
  "luminance": 0.20285
}

Semantic roles & 50–950 ramp

primary
#518B19
secondary
#8142BE
accent
#3BEC95
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1005
muted
#7D7F7A

Preview Lab

Preview with #518B19

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

Preview Lab → · Contrast checker → · Palette generator →

#518B19 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva