#518325#518325

#518325 is a mid, vivid yellow-green. Relative luminance 0.181; OKLCH L 55.5% C 0.135 H 133.4°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#518325
RGBrgb(81, 131, 37)
HSLhsl(92, 56%, 33%)
HSVhsv(92, 72%, 51%)
CMYKcmyk(38.2%, 0%, 71.8%, 48.6%)
CIE-LABlab(49.64, -33.17, 43.39)
CIE-LCHlch(49.64, 54.62, 127.40°)
OKLaboklab(55.47% -0.093 0.0983)
OKLCHoklch(55.47% 0.135 133.4)
XYZxyz(11.8434, 18.1150, 4.6224)
Luminance0.1812 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#518325 #572583
analogous
#808325 #518325 #258328
triadic
#518325 #255183 #832551
tetradic
#518325 #258083 #572583 #832825
square
#518325 #258083 #572583 #832825
split-complementary
#518325 #282583 #832580
monochromatic
#16240A #335318 #518325 #6FB332 #8DCF54

Accessibility & contrast

On white

4.54
#518325 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#518325 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #518325
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##518325#FFFFFF#000000##000000
##5183251.004.544.624.62
#FFFFFF4.541.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#887916
Deuteranopia (green-blind)
#81752D
Tritanopia (blue-blind)
#517E70
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #518325;
/* rgb */ color: rgb(81, 131, 37);
/* oklch */ color: oklch(55.5% 0.135 133.4);
Tailwind
colors: {
  custom: {
    50: '#86a765',
    500: '#518325',
    950: '#000000',
  },
}
SCSS
$custom: #518325;
$custom-light: #86a765;
$custom-dark: #000000;
JSON
{
  "hex": "#518325",
  "rgb": {
    "r": 81,
    "g": 131,
    "b": 37
  },
  "hsl": {
    "h": 91.915,
    "s": 55.952,
    "l": 32.941
  },
  "oklch": {
    "l": 0.55465,
    "c": 0.13536,
    "h": 133.4
  },
  "luminance": 0.18116
}

Semantic roles & 50–950 ramp

primary
#518325
secondary
#8551B3
accent
#49DF99
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0B0F06
muted
#7C7F7A

Preview Lab

Preview with #518325

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

Preview Lab → · Contrast checker → · Palette generator →

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