#519122#519122

#519122 is a mid, vivid yellow-green. Relative luminance 0.221; OKLCH L 59.2% C 0.156 H 135.2°. Best body text is #000000 at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#519122
RGBrgb(81, 145, 34)
HSLhsl(95, 62%, 35%)
HSVhsv(95, 77%, 57%)
CMYKcmyk(44.1%, 0%, 76.6%, 43.1%)
CIE-LABlab(54.15, -39.52, 49.07)
CIE-LCHlch(54.15, 63.01, 128.85°)
OKLaboklab(59.15% -0.1104 0.1098)
OKLCHoklch(59.15% 0.156 135.2)
XYZxyz(13.8072, 22.1148, 5.0541)
Luminance0.2212 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#519122 #622291
analogous
#889122 #519122 #22912B
triadic
#519122 #225191 #912251
tetradic
#519122 #228891 #622291 #912B22
square
#519122 #228891 #622291 #912B22
split-complementary
#519122 #2B2291 #912288
monochromatic
#1A2E0B #355F16 #519122 #6DC32E #8DD756

Accessibility & contrast

On white

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

On black

5.42
#519122 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #519122
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##519122#FFFFFF#000000##000000
##5191221.003.875.425.42
#FFFFFF3.871.0021.0021.00
#0000005.4221.001.001.00
##0000005.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#97850A
Deuteranopia (green-blind)
#8E802D
Tritanopia (blue-blind)
#4F8B7C
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #519122;
/* rgb */ color: rgb(81, 145, 34);
/* oklch */ color: oklch(59.2% 0.156 135.2);
Tailwind
colors: {
  custom: {
    50: '#88b266',
    500: '#519122',
    950: '#000000',
  },
}
SCSS
$custom: #519122;
$custom-light: #88b266;
$custom-dark: #000000;
JSON
{
  "hex": "#519122",
  "rgb": {
    "r": 81,
    "g": 145,
    "b": 34
  },
  "hsl": {
    "h": 94.595,
    "s": 62.011,
    "l": 35.098
  },
  "oklch": {
    "l": 0.59152,
    "c": 0.15571,
    "h": 135.2
  },
  "luminance": 0.22116
}

Semantic roles & 50–950 ramp

primary
#519122
secondary
#8F53BB
accent
#43E5A0
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1106
muted
#7D807A

Preview Lab

Preview with #519122

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

Preview Lab → · Contrast checker → · Palette generator →

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