#518326#518326

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

Color values

HEX#518326
RGBrgb(81, 131, 38)
HSLhsl(92, 55%, 33%)
HSVhsv(92, 71%, 51%)
CMYKcmyk(38.2%, 0%, 71%, 48.6%)
CIE-LABlab(49.64, -33.09, 42.99)
CIE-LCHlch(49.64, 54.25, 127.59°)
OKLaboklab(55.47% -0.0927 0.0976)
OKLCHoklch(55.47% 0.135 133.5)
XYZxyz(11.8593, 18.1213, 4.7062)
Luminance0.1812 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#518326 #582683
analogous
#7F8326 #518326 #268329
triadic
#518326 #265183 #832651
tetradic
#518326 #267F83 #582683 #832926
square
#518326 #267F83 #582683 #832926
split-complementary
#518326 #292683 #83267F
monochromatic
#16240A #345418 #518326 #6EB234 #8DCE56

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##518326#FFFFFF#000000##000000
##5183261.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)
#887918
Deuteranopia (green-blind)
#81752E
Tritanopia (blue-blind)
#517E70
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #518326;
/* rgb */ color: rgb(81, 131, 38);
/* oklch */ color: oklch(55.5% 0.135 133.5);
Tailwind
colors: {
  custom: {
    50: '#86a766',
    500: '#518326',
    950: '#000000',
  },
}
SCSS
$custom: #518326;
$custom-light: #86a766;
$custom-dark: #000000;
JSON
{
  "hex": "#518326",
  "rgb": {
    "r": 81,
    "g": 131,
    "b": 38
  },
  "hsl": {
    "h": 92.258,
    "s": 55.03,
    "l": 33.137
  },
  "oklch": {
    "l": 0.55474,
    "c": 0.13465,
    "h": 133.5
  },
  "luminance": 0.18122
}

Semantic roles & 50–950 ramp

primary
#518326
secondary
#8652B2
accent
#49DE9A
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0B0F06
muted
#7C7F7A

Preview Lab

Preview with #518326

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

Preview Lab → · Contrast checker → · Palette generator →

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