#518819#518819

#518819 is a mid, vivid yellow-green. Relative luminance 0.194; OKLCH L 56.7% C 0.149 H 133.2°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#518819
RGBrgb(81, 136, 25)
HSLhsl(90, 69%, 32%)
HSVhsv(90, 82%, 53%)
CMYKcmyk(40.4%, 0%, 81.6%, 46.7%)
CIE-LABlab(51.18, -36.18, 49.25)
CIE-LCHlch(51.18, 61.11, 126.30°)
OKLaboklab(56.71% -0.102 0.1087)
OKLCHoklch(56.71% 0.149 133.2)
XYZxyz(12.3728, 19.4272, 4.0174)
Luminance0.1943 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#518819 #501988
analogous
#888819 #518819 #198819
triadic
#518819 #195188 #881951
tetradic
#518819 #198888 #501988 #881919
square
#518819 #198888 #501988 #881919
split-complementary
#518819 #191988 #881988
monochromatic
#132106 #32540F #518819 #70BC23 #8EDC40

Accessibility & contrast

On white

4.30
#518819 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#518819 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #518819
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##518819#FFFFFF#000000##000000
##5188191.004.304.894.89
#FFFFFF4.301.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7D00
Deuteranopia (green-blind)
#867826
Tritanopia (blue-blind)
#518274
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #518819;
/* rgb */ color: rgb(81, 136, 25);
/* oklch */ color: oklch(56.7% 0.149 133.2);
Tailwind
colors: {
  custom: {
    50: '#87ab60',
    500: '#518819',
    950: '#000000',
  },
}
SCSS
$custom: #518819;
$custom-light: #87ab60;
$custom-dark: #000000;
JSON
{
  "hex": "#518819",
  "rgb": {
    "r": 81,
    "g": 136,
    "b": 25
  },
  "hsl": {
    "h": 89.73,
    "s": 68.944,
    "l": 31.569
  },
  "oklch": {
    "l": 0.56707,
    "c": 0.14911,
    "h": 133.2
  },
  "luminance": 0.19428
}

Semantic roles & 50–950 ramp

primary
#518819
secondary
#7E41BB
accent
#3CEC93
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1005
muted
#7D7F7A

Preview Lab

Preview with #518819

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

Preview Lab → · Contrast checker → · Palette generator →

#518819 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva