#518323#518323

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

Color values

HEX#518323
RGBrgb(81, 131, 35)
HSLhsl(91, 58%, 33%)
HSVhsv(91, 73%, 51%)
CMYKcmyk(38.2%, 0%, 73.3%, 48.6%)
CIE-LABlab(49.62, -33.33, 44.19)
CIE-LCHlch(49.62, 55.35, 127.02°)
OKLaboklab(55.45% -0.0936 0.0997)
OKLCHoklch(55.45% 0.137 133.2)
XYZxyz(11.8128, 18.1028, 4.4615)
Luminance0.1810 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#518323 #552383
analogous
#818323 #518323 #238325
triadic
#518323 #235183 #832351
tetradic
#518323 #238183 #552383 #832523
square
#518323 #238183 #552383 #832523
split-complementary
#518323 #252383 #832381
monochromatic
#152209 #335316 #518323 #6FB330 #8ED050

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##518323#FFFFFF#000000##000000
##5183231.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)
#887913
Deuteranopia (green-blind)
#82752C
Tritanopia (blue-blind)
#517E70
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #518323;
/* rgb */ color: rgb(81, 131, 35);
/* oklch */ color: oklch(55.4% 0.137 133.2);
Tailwind
colors: {
  custom: {
    50: '#86a764',
    500: '#518323',
    950: '#000000',
  },
}
SCSS
$custom: #518323;
$custom-light: #86a764;
$custom-dark: #000000;
JSON
{
  "hex": "#518323",
  "rgb": {
    "r": 81,
    "g": 131,
    "b": 35
  },
  "hsl": {
    "h": 91.25,
    "s": 57.831,
    "l": 32.549
  },
  "oklch": {
    "l": 0.55448,
    "c": 0.13675,
    "h": 133.2
  },
  "luminance": 0.18103
}

Semantic roles & 50–950 ramp

primary
#518323
secondary
#834EB4
accent
#47E197
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C0F06
muted
#7D7F7A

Preview Lab

Preview with #518323

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

Preview Lab → · Contrast checker → · Palette generator →

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