#519128#519128

#519128 is a mid, vivid yellow-green. Relative luminance 0.222; OKLCH L 59.2% C 0.152 H 135.8°. Best body text is #000000 at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#519128
RGBrgb(81, 145, 40)
HSLhsl(97, 57%, 36%)
HSVhsv(97, 72%, 57%)
CMYKcmyk(44.1%, 0%, 72.4%, 43.1%)
CIE-LABlab(54.19, -39.10, 46.86)
CIE-LCHlch(54.19, 61.03, 129.84°)
OKLaboklab(59.2% -0.1088 0.106)
OKLCHoklch(59.2% 0.152 135.8)
XYZxyz(13.9014, 22.1525, 5.5504)
Luminance0.2215 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#519128 #682891
analogous
#869128 #519128 #289133
triadic
#519128 #285191 #912851
tetradic
#519128 #288691 #682891 #913328
square
#519128 #288691 #682891 #913328
split-complementary
#519128 #332891 #912886
monochromatic
#1B310E #36611B #519128 #6CC135 #8DD360

Accessibility & contrast

On white

3.87
#519128 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.43
#519128 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #519128
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##519128#FFFFFF#000000##000000
##5191281.003.875.435.43
#FFFFFF3.871.0021.0021.00
#0000005.4321.001.001.00
##0000005.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#968517
Deuteranopia (green-blind)
#8E8032
Tritanopia (blue-blind)
#4F8C7C
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #519128;
/* rgb */ color: rgb(81, 145, 40);
/* oklch */ color: oklch(59.2% 0.152 135.8);
Tailwind
colors: {
  custom: {
    50: '#87b269',
    500: '#519128',
    950: '#000000',
  },
}
SCSS
$custom: #519128;
$custom-light: #87b269;
$custom-dark: #000000;
JSON
{
  "hex": "#519128",
  "rgb": {
    "r": 81,
    "g": 145,
    "b": 40
  },
  "hsl": {
    "h": 96.571,
    "s": 56.757,
    "l": 36.275
  },
  "oklch": {
    "l": 0.59198,
    "c": 0.15196,
    "h": 135.8
  },
  "luminance": 0.22153
}

Semantic roles & 50–950 ramp

primary
#519128
secondary
#955CB9
accent
#48E0A5
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1107
muted
#7D807A

Preview Lab

Preview with #519128

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

Preview Lab → · Contrast checker → · Palette generator →

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