#518E1D#518E1D

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

Color values

HEX#518E1D
RGBrgb(81, 142, 29)
HSLhsl(92, 66%, 34%)
HSVhsv(92, 80%, 56%)
CMYKcmyk(43%, 0%, 79.6%, 44.3%)
CIE-LABlab(53.15, -38.56, 49.82)
CIE-LCHlch(53.15, 62.99, 127.74°)
OKLaboklab(58.32% -0.1082 0.1106)
OKLCHoklch(58.32% 0.155 134.4)
XYZxyz(13.2879, 21.1833, 4.5508)
Luminance0.2118 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#518E1D #5A1D8E
analogous
#898E1D #518E1D #1D8E21
triadic
#518E1D #1D518E #8E1D51
tetradic
#518E1D #1D898E #5A1D8E #8E211D
square
#518E1D #1D898E #5A1D8E #8E211D
split-complementary
#518E1D #211D8E #8E1D89
monochromatic
#172808 #345B13 #518E1D #6EC127 #8DDA4B

Accessibility & contrast

On white

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

On black

5.24
#518E1D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #518E1D
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##518E1D#FFFFFF#000000##000000
##518E1D1.004.015.245.24
#FFFFFF4.011.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #518e1d;
/* rgb */ color: rgb(81, 142, 29);
/* oklch */ color: oklch(58.3% 0.155 134.4);
Tailwind
colors: {
  custom: {
    50: '#88af63',
    500: '#518e1d',
    950: '#000000',
  },
}
SCSS
$custom: #518e1d;
$custom-light: #88af63;
$custom-dark: #000000;
JSON
{
  "hex": "#518e1d",
  "rgb": {
    "r": 81,
    "g": 142,
    "b": 29
  },
  "hsl": {
    "h": 92.389,
    "s": 66.082,
    "l": 33.529
  },
  "oklch": {
    "l": 0.58324,
    "c": 0.15467,
    "h": 134.4
  },
  "luminance": 0.21184
}

Semantic roles & 50–950 ramp

primary
#518E1D
secondary
#884ABD
accent
#3FE99B
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1006
muted
#7D7F7A

Preview Lab

Preview with #518E1D

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

Preview Lab → · Contrast checker → · Palette generator →

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