#518622#518622

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

Color values

HEX#518622
RGBrgb(81, 134, 34)
HSLhsl(92, 60%, 33%)
HSVhsv(92, 75%, 53%)
CMYKcmyk(39.6%, 0%, 74.6%, 47.5%)
CIE-LABlab(50.59, -34.75, 45.55)
CIE-LCHlch(50.59, 57.29, 127.34°)
OKLaboklab(56.24% -0.0975 0.1024)
OKLCHoklch(56.24% 0.141 133.6)
XYZxyz(12.2070, 18.9144, 4.5207)
Luminance0.1892 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#518622 #572286
analogous
#838622 #518622 #228625
triadic
#518622 #225186 #862251
tetradic
#518622 #228386 #572286 #862522
square
#518622 #228386 #572286 #862522
split-complementary
#518622 #252286 #862283
monochromatic
#162409 #335516 #518622 #6FB72E #8DD350

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##518622#FFFFFF#000000##000000
##5186221.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)
#8B7B10
Deuteranopia (green-blind)
#84772C
Tritanopia (blue-blind)
#518173
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #518622;
/* rgb */ color: rgb(81, 134, 34);
/* oklch */ color: oklch(56.2% 0.141 133.6);
Tailwind
colors: {
  custom: {
    50: '#86a964',
    500: '#518622',
    950: '#000000',
  },
}
SCSS
$custom: #518622;
$custom-light: #86a964;
$custom-dark: #000000;
JSON
{
  "hex": "#518622",
  "rgb": {
    "r": 81,
    "g": 134,
    "b": 34
  },
  "hsl": {
    "h": 91.8,
    "s": 59.524,
    "l": 32.941
  },
  "oklch": {
    "l": 0.56236,
    "c": 0.14141,
    "h": 133.6
  },
  "luminance": 0.18915
}

Semantic roles & 50–950 ramp

primary
#518622
secondary
#854EB6
accent
#45E399
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1006
muted
#7D7F7A

Preview Lab

Preview with #518622

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

Preview Lab → · Contrast checker → · Palette generator →

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