#518B16#518B16

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

Color values

HEX#518B16
RGBrgb(81, 139, 22)
HSLhsl(90, 73%, 32%)
HSVhsv(90, 84%, 55%)
CMYKcmyk(41.7%, 0%, 84.2%, 45.5%)
CIE-LABlab(52.14, -37.63, 51.01)
CIE-LCHlch(52.14, 63.39, 126.42°)
OKLaboklab(57.49% -0.1061 0.112)
OKLCHoklch(57.49% 0.154 133.5)
XYZxyz(12.7706, 20.2718, 3.9989)
Luminance0.2027 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#518B16 #50168B
analogous
#8B8B16 #518B16 #168B16
triadic
#518B16 #16518B #8B1651
tetradic
#518B16 #168B8B #50168B #8B1616
square
#518B16 #168B8B #50168B #8B1616
split-complementary
#518B16 #16168B #8B168B
monochromatic
#132105 #32560E #518B16 #70C01E #8EE03B

Accessibility & contrast

On white

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

On black

5.05
#518B16 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #518B16
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##518B16#FFFFFF#000000##000000
##518B161.004.155.055.05
#FFFFFF4.151.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #518b16;
/* rgb */ color: rgb(81, 139, 22);
/* oklch */ color: oklch(57.5% 0.154 133.5);
Tailwind
colors: {
  custom: {
    50: '#88ad5f',
    500: '#518b16',
    950: '#000000',
  },
}
SCSS
$custom: #518b16;
$custom-light: #88ad5f;
$custom-dark: #000000;
JSON
{
  "hex": "#518b16",
  "rgb": {
    "r": 81,
    "g": 139,
    "b": 22
  },
  "hsl": {
    "h": 89.744,
    "s": 72.671,
    "l": 31.569
  },
  "oklch": {
    "l": 0.57489,
    "c": 0.15426,
    "h": 133.5
  },
  "luminance": 0.20272
}

Semantic roles & 50–950 ramp

primary
#518B16
secondary
#7E3EBF
accent
#38EF93
background
#F8FAF5
surface
#F0F4EA
border
#CBCEC6
text
#0C1005
muted
#7D7F79

Preview Lab

Preview with #518B16

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

Preview Lab → · Contrast checker → · Palette generator →

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