#518232#518232

#518232 is a mid, vivid yellow-green. Relative luminance 0.179; OKLCH L 55.3% C 0.123 H 135.1°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#518232
RGBrgb(81, 130, 50)
HSLhsl(97, 44%, 35%)
HSVhsv(97, 62%, 51%)
CMYKcmyk(37.7%, 0%, 61.5%, 49%)
CIE-LABlab(49.43, -31.53, 37.34)
CIE-LCHlch(49.43, 48.87, 130.18°)
OKLaboklab(55.33% -0.0875 0.0872)
OKLCHoklch(55.33% 0.124 135.1)
XYZxyz(11.9514, 17.9443, 5.8509)
Luminance0.1794 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#518232 #633282
analogous
#798232 #518232 #32823B
triadic
#518232 #325182 #823251
tetradic
#518232 #327982 #633282 #823B32
square
#518232 #327982 #633282 #823B32
split-complementary
#518232 #3B3282 #823279
monochromatic
#1A2A10 #355621 #518232 #6DAE43 #8DC569

Accessibility & contrast

On white

4.58
#518232 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#518232 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #518232
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##518232#FFFFFF#000000##000000
##5182321.004.584.594.59
#FFFFFF4.581.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#877829
Deuteranopia (green-blind)
#807438
Tritanopia (blue-blind)
#507D71
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #518232;
/* rgb */ color: rgb(81, 130, 50);
/* oklch */ color: oklch(55.3% 0.123 135.1);
Tailwind
colors: {
  custom: {
    50: '#85a66d',
    500: '#518232',
    950: '#000000',
  },
}
SCSS
$custom: #518232;
$custom-light: #85a66d;
$custom-dark: #000000;
JSON
{
  "hex": "#518232",
  "rgb": {
    "r": 81,
    "g": 130,
    "b": 50
  },
  "hsl": {
    "h": 96.75,
    "s": 44.444,
    "l": 35.294
  },
  "oklch": {
    "l": 0.55334,
    "c": 0.1235,
    "h": 135.1
  },
  "luminance": 0.17945
}

Semantic roles & 50–950 ramp

primary
#518232
secondary
#9063AD
accent
#54D4A2
background
#F8FAF6
surface
#EFF4EC
border
#CACEC7
text
#0B0F07
muted
#7C7F7A

Preview Lab

Preview with #518232

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

Preview Lab → · Contrast checker → · Palette generator →

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