#518A1E#518A1E

#518A1E is a mid, vivid yellow-green. Relative luminance 0.200; OKLCH L 57.3% C 0.149 H 133.9°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#518A1E
RGBrgb(81, 138, 30)
HSLhsl(92, 64%, 33%)
HSVhsv(92, 78%, 54%)
CMYKcmyk(41.3%, 0%, 78.3%, 45.9%)
CIE-LABlab(51.86, -36.77, 48.25)
CIE-LCHlch(51.86, 60.67, 127.31°)
OKLaboklab(57.27% -0.1033 0.1074)
OKLCHoklch(57.27% 0.149 133.9)
XYZxyz(12.7159, 20.0194, 4.4222)
Luminance0.2002 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#518A1E #571E8A
analogous
#878A1E #518A1E #1E8A21
triadic
#518A1E #1E518A #8A1E51
tetradic
#518A1E #1E878A #571E8A #8A211E
square
#518A1E #1E878A #571E8A #8A211E
split-complementary
#518A1E #211E8A #8A1E87
monochromatic
#162508 #335813 #518A1E #6FBC29 #8DD84B

Accessibility & contrast

On white

4.20
#518A1E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#518A1E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #518A1E
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##518A1E#FFFFFF#000000##000000
##518A1E1.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F04
Deuteranopia (green-blind)
#887A29
Tritanopia (blue-blind)
#518476
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #518a1e;
/* rgb */ color: rgb(81, 138, 30);
/* oklch */ color: oklch(57.3% 0.149 133.9);
Tailwind
colors: {
  custom: {
    50: '#87ac63',
    500: '#518a1e',
    950: '#000000',
  },
}
SCSS
$custom: #518a1e;
$custom-light: #87ac63;
$custom-dark: #000000;
JSON
{
  "hex": "#518a1e",
  "rgb": {
    "r": 81,
    "g": 138,
    "b": 30
  },
  "hsl": {
    "h": 91.667,
    "s": 64.286,
    "l": 32.941
  },
  "oklch": {
    "l": 0.57269,
    "c": 0.14903,
    "h": 133.9
  },
  "luminance": 0.2002
}

Semantic roles & 50–950 ramp

primary
#518A1E
secondary
#854ABA
accent
#41E799
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1006
muted
#7D7F7A

Preview Lab

Preview with #518A1E

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

Preview Lab → · Contrast checker → · Palette generator →

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