#518623#518623

#518623 is a mid, vivid yellow-green. Relative luminance 0.189; OKLCH L 56.2% C 0.141 H 133.7°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#518623
RGBrgb(81, 134, 35)
HSLhsl(92, 59%, 33%)
HSVhsv(92, 74%, 53%)
CMYKcmyk(39.6%, 0%, 73.9%, 47.5%)
CIE-LABlab(50.59, -34.67, 45.17)
CIE-LCHlch(50.59, 56.95, 127.51°)
OKLaboklab(56.24% -0.0972 0.1018)
OKLCHoklch(56.24% 0.141 133.7)
XYZxyz(12.2216, 18.9203, 4.5978)
Luminance0.1892 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#518623 #582386
analogous
#828623 #518623 #238626
triadic
#518623 #235186 #862351
tetradic
#518623 #238286 #582386 #862623
square
#518623 #238286 #582386 #862623
split-complementary
#518623 #262386 #862382
monochromatic
#16250A #345516 #518623 #6EB730 #8DD252

Accessibility & contrast

On white

4.39
#518623 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#518623 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #518623
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##518623#FFFFFF#000000##000000
##5186231.004.394.784.78
#FFFFFF4.391.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7B12
Deuteranopia (green-blind)
#84772C
Tritanopia (blue-blind)
#518173
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #518623;
/* rgb */ color: rgb(81, 134, 35);
/* oklch */ color: oklch(56.2% 0.141 133.7);
Tailwind
colors: {
  custom: {
    50: '#86a965',
    500: '#518623',
    950: '#000000',
  },
}
SCSS
$custom: #518623;
$custom-light: #86a965;
$custom-dark: #000000;
JSON
{
  "hex": "#518623",
  "rgb": {
    "r": 81,
    "g": 134,
    "b": 35
  },
  "hsl": {
    "h": 92.121,
    "s": 58.58,
    "l": 33.137
  },
  "oklch": {
    "l": 0.56244,
    "c": 0.14076,
    "h": 133.7
  },
  "luminance": 0.18921
}

Semantic roles & 50–950 ramp

primary
#518623
secondary
#864FB5
accent
#46E299
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1006
muted
#7D7F7A

Preview Lab

Preview with #518623

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

Preview Lab → · Contrast checker → · Palette generator →

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