#518924#518924

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

Color values

HEX#518924
RGBrgb(81, 137, 36)
HSLhsl(93, 58%, 34%)
HSVhsv(93, 74%, 54%)
CMYKcmyk(40.9%, 0%, 73.7%, 46.3%)
CIE-LABlab(51.57, -35.93, 45.77)
CIE-LCHlch(51.57, 58.19, 128.14°)
OKLaboklab(57.05% -0.1006 0.1032)
OKLCHoklch(57.05% 0.144 134.3)
XYZxyz(12.6572, 19.7674, 4.8173)
Luminance0.1977 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#518924 #5C2489
analogous
#848924 #518924 #248929
triadic
#518924 #245189 #892451
tetradic
#518924 #248489 #5C2489 #892924
square
#518924 #248489 #5C2489 #892924
split-complementary
#518924 #292489 #892484
monochromatic
#18280B #345917 #518924 #6EB931 #8DD255

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##518924#FFFFFF#000000##000000
##5189241.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)
#8E7E12
Deuteranopia (green-blind)
#87792E
Tritanopia (blue-blind)
#508475
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #518924;
/* rgb */ color: rgb(81, 137, 36);
/* oklch */ color: oklch(57.0% 0.144 134.3);
Tailwind
colors: {
  custom: {
    50: '#87ac66',
    500: '#518924',
    950: '#000000',
  },
}
SCSS
$custom: #518924;
$custom-light: #87ac66;
$custom-dark: #000000;
JSON
{
  "hex": "#518924",
  "rgb": {
    "r": 81,
    "g": 137,
    "b": 36
  },
  "hsl": {
    "h": 93.267,
    "s": 58.382,
    "l": 33.922
  },
  "oklch": {
    "l": 0.57047,
    "c": 0.14408,
    "h": 134.3
  },
  "luminance": 0.19768
}

Semantic roles & 50–950 ramp

primary
#518924
secondary
#8A52B7
accent
#46E29C
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1006
muted
#7D7F7A

Preview Lab

Preview with #518924

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

Preview Lab → · Contrast checker → · Palette generator →

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