#519227#519227

#519227 is a mid, vivid yellow-green. Relative luminance 0.225; OKLCH L 59.5% C 0.154 H 135.8°. Best body text is #000000 at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#519227
RGBrgb(81, 146, 39)
HSLhsl(96, 58%, 36%)
HSVhsv(96, 73%, 57%)
CMYKcmyk(44.5%, 0%, 73.3%, 42.7%)
CIE-LABlab(54.50, -39.60, 47.57)
CIE-LCHlch(54.50, 61.89, 129.78°)
OKLaboklab(59.45% -0.1103 0.1074)
OKLCHoklch(59.45% 0.154 135.8)
XYZxyz(14.0381, 22.4528, 5.5132)
Luminance0.2245 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#519227 #682792
analogous
#879227 #519227 #279233
triadic
#519227 #275192 #922751
tetradic
#519227 #278792 #682792 #923327
square
#519227 #278792 #682792 #923327
split-complementary
#519227 #332792 #922787
monochromatic
#1B310D #36621A #519227 #6CC234 #8DD45F

Accessibility & contrast

On white

3.82
#519227 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.49
#519227 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #519227
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##519227#FFFFFF#000000##000000
##5192271.003.825.495.49
#FFFFFF3.821.0021.0021.00
#0000005.4921.001.001.00
##0000005.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#978614
Deuteranopia (green-blind)
#8F8031
Tritanopia (blue-blind)
#4F8C7D
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #519227;
/* rgb */ color: rgb(81, 146, 39);
/* oklch */ color: oklch(59.5% 0.154 135.8);
Tailwind
colors: {
  custom: {
    50: '#88b268',
    500: '#519227',
    950: '#000000',
  },
}
SCSS
$custom: #519227;
$custom-light: #88b268;
$custom-dark: #000000;
JSON
{
  "hex": "#519227",
  "rgb": {
    "r": 81,
    "g": 146,
    "b": 39
  },
  "hsl": {
    "h": 96.449,
    "s": 57.838,
    "l": 36.275
  },
  "oklch": {
    "l": 0.59454,
    "c": 0.15392,
    "h": 135.8
  },
  "luminance": 0.22454
}

Semantic roles & 50–950 ramp

primary
#519227
secondary
#955BBA
accent
#47E1A4
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1106
muted
#7D807A

Preview Lab

Preview with #519227

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

Preview Lab → · Contrast checker → · Palette generator →

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