#509122#509122

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

Color values

HEX#509122
RGBrgb(80, 145, 34)
HSLhsl(95, 62%, 35%)
HSVhsv(95, 77%, 57%)
CMYKcmyk(44.8%, 0%, 76.6%, 43.1%)
CIE-LABlab(54.10, -39.87, 49.01)
CIE-LCHlch(54.10, 63.17, 129.13°)
OKLaboklab(59.1% -0.1113 0.1097)
OKLCHoklch(59.1% 0.156 135.4)
XYZxyz(13.7221, 22.0710, 5.0501)
Luminance0.2207 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#509122 #632291
analogous
#879122 #509122 #22912B
triadic
#509122 #225091 #912250
tetradic
#509122 #228791 #632291 #912B22
square
#509122 #228791 #632291 #912B22
split-complementary
#509122 #2B2291 #912287
monochromatic
#192E0B #355F16 #509122 #6BC32E #8CD756

Accessibility & contrast

On white

3.88
#509122 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.41
#509122 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #509122
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##509122#FFFFFF#000000##000000
##5091221.003.885.415.41
#FFFFFF3.881.0021.0021.00
#0000005.4121.001.001.00
##0000005.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#96850A
Deuteranopia (green-blind)
#8E7F2D
Tritanopia (blue-blind)
#4E8B7C
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #509122;
/* rgb */ color: rgb(80, 145, 34);
/* oklch */ color: oklch(59.1% 0.156 135.4);
Tailwind
colors: {
  custom: {
    50: '#87b266',
    500: '#509122',
    950: '#000000',
  },
}
SCSS
$custom: #509122;
$custom-light: #87b266;
$custom-dark: #000000;
JSON
{
  "hex": "#509122",
  "rgb": {
    "r": 80,
    "g": 145,
    "b": 34
  },
  "hsl": {
    "h": 95.135,
    "s": 62.011,
    "l": 35.098
  },
  "oklch": {
    "l": 0.59102,
    "c": 0.15623,
    "h": 135.4
  },
  "luminance": 0.22072
}

Semantic roles & 50–950 ramp

primary
#509122
secondary
#9053BB
accent
#43E5A2
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1106
muted
#7D807A

Preview Lab

Preview with #509122

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

Preview Lab → · Contrast checker → · Palette generator →

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