#518E1E#518E1E

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

Color values

HEX#518E1E
RGBrgb(81, 142, 30)
HSLhsl(93, 65%, 34%)
HSVhsv(93, 79%, 56%)
CMYKcmyk(43%, 0%, 78.9%, 44.3%)
CIE-LABlab(53.16, -38.50, 49.49)
CIE-LCHlch(53.16, 62.70, 127.88°)
OKLaboklab(58.33% -0.1079 0.11)
OKLCHoklch(58.33% 0.154 134.5)
XYZxyz(13.3004, 21.1883, 4.6170)
Luminance0.2119 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#518E1E #5B1E8E
analogous
#898E1E #518E1E #1E8E23
triadic
#518E1E #1E518E #8E1E51
tetradic
#518E1E #1E898E #5B1E8E #8E231E
square
#518E1E #1E898E #5B1E8E #8E231E
split-complementary
#518E1E #231E8E #8E1E89
monochromatic
#172909 #345B13 #518E1E #6EC129 #8DD94D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##518E1E#FFFFFF#000000##000000
##518E1E1.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)
#948201
Deuteranopia (green-blind)
#8B7D2A
Tritanopia (blue-blind)
#508879
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #518e1e;
/* rgb */ color: rgb(81, 142, 30);
/* oklch */ color: oklch(58.3% 0.154 134.5);
Tailwind
colors: {
  custom: {
    50: '#88af63',
    500: '#518e1e',
    950: '#000000',
  },
}
SCSS
$custom: #518e1e;
$custom-light: #88af63;
$custom-dark: #000000;
JSON
{
  "hex": "#518e1e",
  "rgb": {
    "r": 81,
    "g": 142,
    "b": 30
  },
  "hsl": {
    "h": 92.679,
    "s": 65.116,
    "l": 33.725
  },
  "oklch": {
    "l": 0.5833,
    "c": 0.15414,
    "h": 134.5
  },
  "luminance": 0.21189
}

Semantic roles & 50–950 ramp

primary
#518E1E
secondary
#894CBC
accent
#40E89B
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1006
muted
#7D7F7A

Preview Lab

Preview with #518E1E

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

Preview Lab → · Contrast checker → · Palette generator →

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