#518E1A#518E1A

#518E1A 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#518E1A
RGBrgb(81, 142, 26)
HSLhsl(92, 69%, 33%)
HSVhsv(92, 82%, 56%)
CMYKcmyk(43%, 0%, 81.7%, 44.3%)
CIE-LABlab(53.13, -38.72, 50.75)
CIE-LCHlch(53.13, 63.83, 127.34°)
OKLaboklab(58.31% -0.1088 0.112)
OKLCHoklch(58.31% 0.156 134.2)
XYZxyz(13.2525, 21.1692, 4.3648)
Luminance0.2117 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#518E1A #571A8E
analogous
#8B8E1A #518E1A #1A8E1D
triadic
#518E1A #1A518E #8E1A51
tetradic
#518E1A #1A8B8E #571A8E #8E1D1A
square
#518E1A #1A8B8E #571A8E #8E1D1A
split-complementary
#518E1A #1D1A8E #8E1A8B
monochromatic
#162707 #335A11 #518E1A #6FC223 #8DDD45

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##518E1A#FFFFFF#000000##000000
##518E1A1.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)
#8C7D27
Tritanopia (blue-blind)
#508879
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #518e1a;
/* rgb */ color: rgb(81, 142, 26);
/* oklch */ color: oklch(58.3% 0.156 134.2);
Tailwind
colors: {
  custom: {
    50: '#88af62',
    500: '#518e1a',
    950: '#000000',
  },
}
SCSS
$custom: #518e1a;
$custom-light: #88af62;
$custom-dark: #000000;
JSON
{
  "hex": "#518e1a",
  "rgb": {
    "r": 81,
    "g": 142,
    "b": 26
  },
  "hsl": {
    "h": 91.552,
    "s": 69.048,
    "l": 32.941
  },
  "oklch": {
    "l": 0.58307,
    "c": 0.15617,
    "h": 134.2
  },
  "luminance": 0.2117
}

Semantic roles & 50–950 ramp

primary
#518E1A
secondary
#8545BE
accent
#3CEC98
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1005
muted
#7D7F7A

Preview Lab

Preview with #518E1A

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

Preview Lab → · Contrast checker → · Palette generator →

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