#518129#518129

#518129 is a mid, vivid yellow-green. Relative luminance 0.176; OKLCH L 55.0% C 0.130 H 133.5°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#518129
RGBrgb(81, 129, 41)
HSLhsl(93, 52%, 33%)
HSVhsv(93, 68%, 51%)
CMYKcmyk(37.2%, 0%, 68.2%, 49.4%)
CIE-LABlab(49.02, -31.93, 41.05)
CIE-LCHlch(49.02, 52.00, 127.88°)
OKLaboklab(54.97% -0.0893 0.094)
OKLCHoklch(54.97% 0.13 133.5)
XYZxyz(11.6436, 17.6094, 4.8829)
Luminance0.1761 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#518129 #592981
analogous
#7D8129 #518129 #29812D
triadic
#518129 #295181 #812951
tetradic
#518129 #297D81 #592981 #812D29
square
#518129 #297D81 #592981 #812D29
split-complementary
#518129 #2D2981 #81297D
monochromatic
#17240B #34531A #518129 #6EAF38 #8DCB5A

Accessibility & contrast

On white

4.64
#518129 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #518129
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##518129#FFFFFF#000000##FFFFFF
##5181291.004.644.524.64
#FFFFFF4.641.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#86771D
Deuteranopia (green-blind)
#807330
Tritanopia (blue-blind)
#517C6F
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #518129;
/* rgb */ color: rgb(81, 129, 41);
/* oklch */ color: oklch(55.0% 0.130 133.5);
Tailwind
colors: {
  custom: {
    50: '#86a667',
    500: '#518129',
    950: '#000000',
  },
}
SCSS
$custom: #518129;
$custom-light: #86a667;
$custom-dark: #000000;
JSON
{
  "hex": "#518129",
  "rgb": {
    "r": 81,
    "g": 129,
    "b": 41
  },
  "hsl": {
    "h": 92.727,
    "s": 51.765,
    "l": 33.333
  },
  "oklch": {
    "l": 0.54972,
    "c": 0.12963,
    "h": 133.5
  },
  "luminance": 0.1761
}

Semantic roles & 50–950 ramp

primary
#518129
secondary
#8756B0
accent
#4DDB9A
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0B0F06
muted
#7C7F7A

Preview Lab

Preview with #518129

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

Preview Lab → · Contrast checker → · Palette generator →

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