#518F29#518F29

#518F29 is a mid, vivid yellow-green. Relative luminance 0.216; OKLCH L 58.7% C 0.149 H 135.6°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#518F29
RGBrgb(81, 143, 41)
HSLhsl(96, 55%, 36%)
HSVhsv(96, 71%, 56%)
CMYKcmyk(43.4%, 0%, 71.3%, 43.9%)
CIE-LABlab(53.55, -38.17, 45.80)
CIE-LCHlch(53.55, 59.62, 129.80°)
OKLaboklab(58.68% -0.1062 0.104)
OKLCHoklch(58.68% 0.149 135.6)
XYZxyz(13.6157, 21.5536, 5.5402)
Luminance0.2155 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#518F29 #67298F
analogous
#848F29 #518F29 #298F34
triadic
#518F29 #29518F #8F2951
tetradic
#518F29 #29848F #67298F #8F3429
square
#518F29 #29848F #67298F #8F3429
split-complementary
#518F29 #34298F #8F2984
monochromatic
#1B300E #365F1B #518F29 #6CBF37 #8DD261

Accessibility & contrast

On white

3.95
#518F29 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.31
#518F29 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #518F29
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##518F29#FFFFFF#000000##000000
##518F291.003.955.315.31
#FFFFFF3.951.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#948319
Deuteranopia (green-blind)
#8C7E32
Tritanopia (blue-blind)
#4F8A7B
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #518f29;
/* rgb */ color: rgb(81, 143, 41);
/* oklch */ color: oklch(58.7% 0.149 135.6);
Tailwind
colors: {
  custom: {
    50: '#87b069',
    500: '#518f29',
    950: '#000000',
  },
}
SCSS
$custom: #518f29;
$custom-light: #87b069;
$custom-dark: #000000;
JSON
{
  "hex": "#518f29",
  "rgb": {
    "r": 81,
    "g": 143,
    "b": 41
  },
  "hsl": {
    "h": 96.471,
    "s": 55.435,
    "l": 36.078
  },
  "oklch": {
    "l": 0.58677,
    "c": 0.14866,
    "h": 135.6
  },
  "luminance": 0.21554
}

Semantic roles & 50–950 ramp

primary
#518F29
secondary
#945CB7
accent
#49DFA4
background
#F8FAF6
surface
#F0F5EB
border
#CBCFC6
text
#0C1007
muted
#7D7F7A

Preview Lab

Preview with #518F29

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

Preview Lab → · Contrast checker → · Palette generator →

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