#518E14#518E14

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

Color values

HEX#518E14
RGBrgb(81, 142, 20)
HSLhsl(90, 75%, 32%)
HSVhsv(90, 86%, 56%)
CMYKcmyk(43%, 0%, 85.9%, 44.3%)
CIE-LABlab(53.11, -39.00, 52.40)
CIE-LCHlch(53.11, 65.32, 126.66°)
OKLaboklab(58.28% -0.1099 0.1146)
OKLCHoklch(58.28% 0.159 133.8)
XYZxyz(13.1924, 21.1451, 4.0480)
Luminance0.2115 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#518E14 #51148E
analogous
#8E8E14 #518E14 #148E14
triadic
#518E14 #14518E #8E1451
tetradic
#518E14 #148E8E #51148E #8E1414
square
#518E14 #148E8E #51148E #8E1414
split-complementary
#518E14 #14148E #8E148E
monochromatic
#142305 #32580C #518E14 #70C41C #8EE339

Accessibility & contrast

On white

4.02
#518E14 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##518E14#FFFFFF#000000##000000
##518E141.004.025.235.23
#FFFFFF4.021.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #518e14;
/* rgb */ color: rgb(81, 142, 20);
/* oklch */ color: oklch(58.3% 0.159 133.8);
Tailwind
colors: {
  custom: {
    50: '#88af5f',
    500: '#518e14',
    950: '#000000',
  },
}
SCSS
$custom: #518e14;
$custom-light: #88af5f;
$custom-dark: #000000;
JSON
{
  "hex": "#518e14",
  "rgb": {
    "r": 81,
    "g": 142,
    "b": 20
  },
  "hsl": {
    "h": 90,
    "s": 75.309,
    "l": 31.765
  },
  "oklch": {
    "l": 0.58277,
    "c": 0.15878,
    "h": 133.8
  },
  "luminance": 0.21146
}

Semantic roles & 50–950 ramp

primary
#518E14
secondary
#7F3CC2
accent
#36F294
background
#F8FAF5
surface
#F0F4EA
border
#CBCEC6
text
#0C1005
muted
#7D7F79

Preview Lab

Preview with #518E14

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

Preview Lab → · Contrast checker → · Palette generator →

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