#518E1B#518E1B

#518E1B is a mid, vivid yellow-green. Relative luminance 0.212; OKLCH L 58.3% C 0.156 H 134.2°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#518E1B
RGBrgb(81, 142, 27)
HSLhsl(92, 68%, 33%)
HSVhsv(92, 81%, 56%)
CMYKcmyk(43%, 0%, 81%, 44.3%)
CIE-LABlab(53.14, -38.67, 50.45)
CIE-LCHlch(53.14, 63.56, 127.47°)
OKLaboklab(58.31% -0.1086 0.1116)
OKLCHoklch(58.31% 0.156 134.2)
XYZxyz(13.2639, 21.1737, 4.4247)
Luminance0.2117 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#518E1B #581B8E
analogous
#8A8E1B #518E1B #1B8E1E
triadic
#518E1B #1B518E #8E1B51
tetradic
#518E1B #1B8A8E #581B8E #8E1E1B
square
#518E1B #1B8A8E #581B8E #8E1E1B
split-complementary
#518E1B #1E1B8E #8E1B8A
monochromatic
#162707 #345B11 #518E1B #6EC125 #8DDC47

Accessibility & contrast

On white

4.01
#518E1B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.23
#518E1B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #518E1B
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##518E1B#FFFFFF#000000##000000
##518E1B1.004.015.235.23
#FFFFFF4.011.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#948200
Deuteranopia (green-blind)
#8C7D28
Tritanopia (blue-blind)
#508879
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #518e1b;
/* rgb */ color: rgb(81, 142, 27);
/* oklch */ color: oklch(58.3% 0.156 134.2);
Tailwind
colors: {
  custom: {
    50: '#88af62',
    500: '#518e1b',
    950: '#000000',
  },
}
SCSS
$custom: #518e1b;
$custom-light: #88af62;
$custom-dark: #000000;
JSON
{
  "hex": "#518e1b",
  "rgb": {
    "r": 81,
    "g": 142,
    "b": 27
  },
  "hsl": {
    "h": 91.826,
    "s": 68.047,
    "l": 33.137
  },
  "oklch": {
    "l": 0.58312,
    "c": 0.15568,
    "h": 134.2
  },
  "luminance": 0.21174
}

Semantic roles & 50–950 ramp

primary
#518E1B
secondary
#8647BE
accent
#3DEB99
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1006
muted
#7D7F7A

Preview Lab

Preview with #518E1B

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

Preview Lab → · Contrast checker → · Palette generator →

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