#518F22#518F22

#518F22 is a mid, vivid yellow-green. Relative luminance 0.215; OKLCH L 58.6% C 0.153 H 134.9°. Best body text is #000000 at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#518F22
RGBrgb(81, 143, 34)
HSLhsl(94, 62%, 35%)
HSVhsv(94, 76%, 56%)
CMYKcmyk(43.4%, 0%, 76.2%, 43.9%)
CIE-LABlab(53.50, -38.67, 48.44)
CIE-LCHlch(53.50, 61.98, 128.61°)
OKLaboklab(58.62% -0.1081 0.1084)
OKLCHoklch(58.62% 0.153 134.9)
XYZxyz(13.5042, 21.5090, 4.9532)
Luminance0.2151 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#518F22 #60228F
analogous
#888F22 #518F22 #228F29
triadic
#518F22 #22518F #8F2251
tetradic
#518F22 #22888F #60228F #8F2922
square
#518F22 #22888F #60228F #8F2922
split-complementary
#518F22 #29228F #8F2288
monochromatic
#192C0A #355E16 #518F22 #6DC02E #8DD755

Accessibility & contrast

On white

3.96
#518F22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.30
#518F22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #518F22
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##518F22#FFFFFF#000000##000000
##518F221.003.965.305.30
#FFFFFF3.961.0021.0021.00
#0000005.3021.001.001.00
##0000005.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#95830B
Deuteranopia (green-blind)
#8C7E2D
Tritanopia (blue-blind)
#50897A
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #518f22;
/* rgb */ color: rgb(81, 143, 34);
/* oklch */ color: oklch(58.6% 0.153 134.9);
Tailwind
colors: {
  custom: {
    50: '#88b065',
    500: '#518f22',
    950: '#000000',
  },
}
SCSS
$custom: #518f22;
$custom-light: #88b065;
$custom-dark: #000000;
JSON
{
  "hex": "#518f22",
  "rgb": {
    "r": 81,
    "g": 143,
    "b": 34
  },
  "hsl": {
    "h": 94.128,
    "s": 61.582,
    "l": 34.706
  },
  "oklch": {
    "l": 0.58622,
    "c": 0.15315,
    "h": 134.9
  },
  "luminance": 0.2151
}

Semantic roles & 50–950 ramp

primary
#518F22
secondary
#8E52BA
accent
#43E59F
background
#F8FAF6
surface
#F0F5EB
border
#CBCFC6
text
#0C1006
muted
#7D7F7A

Preview Lab

Preview with #518F22

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

Preview Lab → · Contrast checker → · Palette generator →

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