#518331#518331

#518331 is a mid, vivid yellow-green. Relative luminance 0.182; OKLCH L 55.6% C 0.126 H 135.1°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#518331
RGBrgb(81, 131, 49)
HSLhsl(97, 46%, 35%)
HSVhsv(97, 63%, 51%)
CMYKcmyk(38.2%, 0%, 62.6%, 48.6%)
CIE-LABlab(49.74, -32.09, 38.17)
CIE-LCHlch(49.74, 49.87, 130.06°)
OKLaboklab(55.59% -0.0891 0.0889)
OKLCHoklch(55.59% 0.126 135.1)
XYZxyz(12.0637, 18.2031, 5.7830)
Luminance0.1820 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#518331 #633183
analogous
#7A8331 #518331 #31833A
triadic
#518331 #315183 #833151
tetradic
#518331 #317A83 #633183 #833A31
square
#518331 #317A83 #633183 #833A31
split-complementary
#518331 #3A3183 #83317A
monochromatic
#1A2A10 #355620 #518331 #6DB042 #8DC668

Accessibility & contrast

On white

4.53
#518331 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#518331 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #518331
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##518331#FFFFFF#000000##000000
##5183311.004.534.644.64
#FFFFFF4.531.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#887928
Deuteranopia (green-blind)
#817537
Tritanopia (blue-blind)
#507E71
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #518331;
/* rgb */ color: rgb(81, 131, 49);
/* oklch */ color: oklch(55.6% 0.126 135.1);
Tailwind
colors: {
  custom: {
    50: '#85a76c',
    500: '#518331',
    950: '#000000',
  },
}
SCSS
$custom: #518331;
$custom-light: #85a76c;
$custom-dark: #000000;
JSON
{
  "hex": "#518331",
  "rgb": {
    "r": 81,
    "g": 131,
    "b": 49
  },
  "hsl": {
    "h": 96.585,
    "s": 45.556,
    "l": 35.294
  },
  "oklch": {
    "l": 0.55586,
    "c": 0.12584,
    "h": 135.1
  },
  "luminance": 0.18204
}

Semantic roles & 50–950 ramp

primary
#518331
secondary
#9062AE
accent
#53D5A2
background
#F8FAF6
surface
#F0F4EC
border
#CBCEC7
text
#0B0F07
muted
#7C7F7A

Preview Lab

Preview with #518331

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

Preview Lab → · Contrast checker → · Palette generator →

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