#518922#518922

#518922 is a mid, vivid yellow-green. Relative luminance 0.198; OKLCH L 57.0% C 0.145 H 134.1°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#518922
RGBrgb(81, 137, 34)
HSLhsl(93, 60%, 34%)
HSVhsv(93, 75%, 54%)
CMYKcmyk(40.9%, 0%, 75.2%, 46.3%)
CIE-LABlab(51.56, -36.07, 46.52)
CIE-LCHlch(51.56, 58.87, 127.79°)
OKLaboklab(57.03% -0.1011 0.1044)
OKLCHoklch(57.03% 0.145 134.1)
XYZxyz(12.6275, 19.7555, 4.6609)
Luminance0.1976 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#518922 #5A2289
analogous
#848922 #518922 #228926
triadic
#518922 #225189 #892251
tetradic
#518922 #228489 #5A2289 #892622
square
#518922 #228489 #5A2289 #892622
split-complementary
#518922 #262289 #892284
monochromatic
#17270A #345816 #518922 #6EBA2E #8DD451

Accessibility & contrast

On white

4.24
#518922 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#518922 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #518922
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##518922#FFFFFF#000000##000000
##5189221.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7E0E
Deuteranopia (green-blind)
#87792C
Tritanopia (blue-blind)
#518375
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #518922;
/* rgb */ color: rgb(81, 137, 34);
/* oklch */ color: oklch(57.0% 0.145 134.1);
Tailwind
colors: {
  custom: {
    50: '#87ac65',
    500: '#518922',
    950: '#000000',
  },
}
SCSS
$custom: #518922;
$custom-light: #87ac65;
$custom-dark: #000000;
JSON
{
  "hex": "#518922",
  "rgb": {
    "r": 81,
    "g": 137,
    "b": 34
  },
  "hsl": {
    "h": 92.621,
    "s": 60.234,
    "l": 33.529
  },
  "oklch": {
    "l": 0.57032,
    "c": 0.14536,
    "h": 134.1
  },
  "luminance": 0.19756
}

Semantic roles & 50–950 ramp

primary
#518922
secondary
#884FB8
accent
#44E39B
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1006
muted
#7D7F7A

Preview Lab

Preview with #518922

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

Preview Lab → · Contrast checker → · Palette generator →

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