#518328#518328

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

Color values

HEX#518328
RGBrgb(81, 131, 40)
HSLhsl(93, 53%, 34%)
HSVhsv(93, 69%, 51%)
CMYKcmyk(38.2%, 0%, 69.5%, 48.6%)
CIE-LABlab(49.66, -32.93, 42.16)
CIE-LCHlch(49.66, 53.50, 127.99°)
OKLaboklab(55.49% -0.0921 0.0962)
OKLCHoklch(55.49% 0.133 133.8)
XYZxyz(11.8924, 18.1346, 4.8808)
Luminance0.1814 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#518328 #5A2883
analogous
#7E8328 #518328 #28832C
triadic
#518328 #285183 #832851
tetradic
#518328 #287E83 #5A2883 #832C28
square
#518328 #287E83 #5A2883 #832C28
split-complementary
#518328 #2C2883 #83287E
monochromatic
#17250B #34541A #518328 #6EB236 #8DCC59

Accessibility & contrast

On white

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

On black

4.63
#518328 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #518328
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##518328#FFFFFF#000000##000000
##5183281.004.544.634.63
#FFFFFF4.541.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#88791B
Deuteranopia (green-blind)
#817530
Tritanopia (blue-blind)
#517E71
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #518328;
/* rgb */ color: rgb(81, 131, 40);
/* oklch */ color: oklch(55.5% 0.133 133.8);
Tailwind
colors: {
  custom: {
    50: '#86a767',
    500: '#518328',
    950: '#000000',
  },
}
SCSS
$custom: #518328;
$custom-light: #86a767;
$custom-dark: #000000;
JSON
{
  "hex": "#518328",
  "rgb": {
    "r": 81,
    "g": 131,
    "b": 40
  },
  "hsl": {
    "h": 92.967,
    "s": 53.216,
    "l": 33.529
  },
  "oklch": {
    "l": 0.55492,
    "c": 0.13317,
    "h": 133.8
  },
  "luminance": 0.18135
}

Semantic roles & 50–950 ramp

primary
#518328
secondary
#8855B1
accent
#4BDD9B
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0B0F06
muted
#7C7F7A

Preview Lab

Preview with #518328

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

Preview Lab → · Contrast checker → · Palette generator →

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