#518525#518525

#518525 is a mid, vivid yellow-green. Relative luminance 0.187; OKLCH L 56.0% C 0.138 H 133.7°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#518525
RGBrgb(81, 133, 37)
HSLhsl(93, 56%, 33%)
HSVhsv(93, 72%, 52%)
CMYKcmyk(39.1%, 0%, 72.2%, 47.8%)
CIE-LABlab(50.28, -34.08, 44.06)
CIE-LCHlch(50.28, 55.70, 127.72°)
OKLaboklab(56% -0.0955 0.0997)
OKLCHoklch(56% 0.138 133.7)
XYZxyz(12.1146, 18.6574, 4.7128)
Luminance0.1866 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#518525 #592585
analogous
#818525 #518525 #258529
triadic
#518525 #255185 #852551
tetradic
#518525 #258185 #592585 #852925
square
#518525 #258185 #592585 #852925
split-complementary
#518525 #292585 #852581
monochromatic
#17250A #345518 #518525 #6EB532 #8DD055

Accessibility & contrast

On white

4.44
#518525 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#518525 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #518525
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##518525#FFFFFF#000000##000000
##5185251.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7A16
Deuteranopia (green-blind)
#83762E
Tritanopia (blue-blind)
#518072
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #518525;
/* rgb */ color: rgb(81, 133, 37);
/* oklch */ color: oklch(56.0% 0.138 133.7);
Tailwind
colors: {
  custom: {
    50: '#86a966',
    500: '#518525',
    950: '#000000',
  },
}
SCSS
$custom: #518525;
$custom-light: #86a966;
$custom-dark: #000000;
JSON
{
  "hex": "#518525",
  "rgb": {
    "r": 81,
    "g": 133,
    "b": 37
  },
  "hsl": {
    "h": 92.5,
    "s": 56.471,
    "l": 33.333
  },
  "oklch": {
    "l": 0.55995,
    "c": 0.13807,
    "h": 133.7
  },
  "luminance": 0.18658
}

Semantic roles & 50–950 ramp

primary
#518525
secondary
#8752B4
accent
#48E09A
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1006
muted
#7D7F7A

Preview Lab

Preview with #518525

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

Preview Lab → · Contrast checker → · Palette generator →

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