#518124#518124

#518124 is a mid, vivid yellow-green. Relative luminance 0.176; OKLCH L 54.9% C 0.133 H 132.9°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#518124
RGBrgb(81, 129, 36)
HSLhsl(91, 56%, 32%)
HSVhsv(91, 72%, 51%)
CMYKcmyk(37.2%, 0%, 72.1%, 49.4%)
CIE-LABlab(48.98, -32.34, 43.13)
CIE-LCHlch(48.98, 53.91, 126.86°)
OKLaboklab(54.93% -0.0908 0.0976)
OKLCHoklch(54.93% 0.133 132.9)
XYZxyz(11.5619, 17.5767, 4.4522)
Luminance0.1758 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#518124 #542481
analogous
#808124 #518124 #248126
triadic
#518124 #245181 #812451
tetradic
#518124 #248081 #542481 #812624
square
#518124 #248081 #542481 #812624
split-complementary
#518124 #262481 #812480
monochromatic
#152109 #335117 #518124 #6FB131 #8ECE51

Accessibility & contrast

On white

4.65
#518124 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#518124 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #518124
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##518124#FFFFFF#000000##FFFFFF
##5181241.004.654.524.65
#FFFFFF4.651.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#867715
Deuteranopia (green-blind)
#80732C
Tritanopia (blue-blind)
#517C6F
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #518124;
/* rgb */ color: rgb(81, 129, 36);
/* oklch */ color: oklch(54.9% 0.133 132.9);
Tailwind
colors: {
  custom: {
    50: '#86a665',
    500: '#518124',
    950: '#000000',
  },
}
SCSS
$custom: #518124;
$custom-light: #86a665;
$custom-dark: #000000;
JSON
{
  "hex": "#518124",
  "rgb": {
    "r": 81,
    "g": 129,
    "b": 36
  },
  "hsl": {
    "h": 90.968,
    "s": 56.364,
    "l": 32.353
  },
  "oklch": {
    "l": 0.54927,
    "c": 0.13335,
    "h": 132.9
  },
  "luminance": 0.17577
}

Semantic roles & 50–950 ramp

primary
#518124
secondary
#824EB2
accent
#48E096
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0B0F06
muted
#7C7F7A

Preview Lab

Preview with #518124

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

Preview Lab → · Contrast checker → · Palette generator →

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