#518B1C#518B1C

#518B1C is a mid, vivid yellow-green. Relative luminance 0.203; OKLCH L 57.5% C 0.151 H 133.9°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#518B1C
RGBrgb(81, 139, 28)
HSLhsl(91, 66%, 33%)
HSVhsv(91, 80%, 55%)
CMYKcmyk(41.7%, 0%, 79.9%, 45.5%)
CIE-LABlab(52.17, -37.32, 49.22)
CIE-LCHlch(52.17, 61.77, 127.17°)
OKLaboklab(57.52% -0.1049 0.1092)
OKLCHoklch(57.52% 0.151 133.9)
XYZxyz(12.8353, 20.2977, 4.3399)
Luminance0.2030 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#518B1C #561C8B
analogous
#898B1C #518B1C #1C8B1E
triadic
#518B1C #1C518B #8B1C51
tetradic
#518B1C #1C898B #561C8B #8B1E1C
square
#518B1C #1C898B #561C8B #8B1E1C
split-complementary
#518B1C #1E1C8B #8B1C89
monochromatic
#162507 #335812 #518B1C #6FBE26 #8DDA47

Accessibility & contrast

On white

4.15
#518B1C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#518B1C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #518B1C
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##518B1C#FFFFFF#000000##000000
##518B1C1.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#917F00
Deuteranopia (green-blind)
#897B28
Tritanopia (blue-blind)
#518576
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #518b1c;
/* rgb */ color: rgb(81, 139, 28);
/* oklch */ color: oklch(57.5% 0.151 133.9);
Tailwind
colors: {
  custom: {
    50: '#87ad62',
    500: '#518b1c',
    950: '#000000',
  },
}
SCSS
$custom: #518b1c;
$custom-light: #87ad62;
$custom-dark: #000000;
JSON
{
  "hex": "#518b1c",
  "rgb": {
    "r": 81,
    "g": 139,
    "b": 28
  },
  "hsl": {
    "h": 91.351,
    "s": 66.467,
    "l": 32.745
  },
  "oklch": {
    "l": 0.57522,
    "c": 0.15139,
    "h": 133.9
  },
  "luminance": 0.20298
}

Semantic roles & 50–950 ramp

primary
#518B1C
secondary
#8447BC
accent
#3EE998
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1005
muted
#7D7F7A

Preview Lab

Preview with #518B1C

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

Preview Lab → · Contrast checker → · Palette generator →

#518B1C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva