#518B1B#518B1B

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

Color values

HEX#518B1B
RGBrgb(81, 139, 27)
HSLhsl(91, 67%, 33%)
HSVhsv(91, 81%, 55%)
CMYKcmyk(41.7%, 0%, 80.6%, 45.5%)
CIE-LABlab(52.17, -37.38, 49.54)
CIE-LCHlch(52.17, 62.06, 127.04°)
OKLaboklab(57.52% -0.1051 0.1097)
OKLCHoklch(57.52% 0.152 133.8)
XYZxyz(12.8236, 20.2930, 4.2780)
Luminance0.2029 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#518B1B #551B8B
analogous
#898B1B #518B1B #1B8B1D
triadic
#518B1B #1B518B #8B1B51
tetradic
#518B1B #1B898B #551B8B #8B1D1B
square
#518B1B #1B898B #551B8B #8B1D1B
split-complementary
#518B1B #1D1B8B #8B1B89
monochromatic
#152507 #335811 #518B1B #6FBE25 #8EDB45

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##518B1B#FFFFFF#000000##000000
##518B1B1.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)
#897B27
Tritanopia (blue-blind)
#518576
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #518b1b;
/* rgb */ color: rgb(81, 139, 27);
/* oklch */ color: oklch(57.5% 0.152 133.8);
Tailwind
colors: {
  custom: {
    50: '#87ad62',
    500: '#518b1b',
    950: '#000000',
  },
}
SCSS
$custom: #518b1b;
$custom-light: #87ad62;
$custom-dark: #000000;
JSON
{
  "hex": "#518b1b",
  "rgb": {
    "r": 81,
    "g": 139,
    "b": 27
  },
  "hsl": {
    "h": 91.071,
    "s": 67.47,
    "l": 32.549
  },
  "oklch": {
    "l": 0.57516,
    "c": 0.15191,
    "h": 133.8
  },
  "luminance": 0.20294
}

Semantic roles & 50–950 ramp

primary
#518B1B
secondary
#8345BC
accent
#3DEA97
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1005
muted
#7D7F7A

Preview Lab

Preview with #518B1B

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

Preview Lab → · Contrast checker → · Palette generator →

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