#509223#509223

#509223 is a mid, vivid yellow-green. Relative luminance 0.224; OKLCH L 59.4% C 0.157 H 135.6°. Best body text is #000000 at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#509223
RGBrgb(80, 146, 35)
HSLhsl(96, 61%, 35%)
HSVhsv(96, 76%, 57%)
CMYKcmyk(45.2%, 0%, 76%, 42.7%)
CIE-LABlab(54.43, -40.22, 48.97)
CIE-LCHlch(54.43, 63.37, 129.40°)
OKLaboklab(59.37% -0.1122 0.1097)
OKLCHoklch(59.37% 0.157 135.6)
XYZxyz(13.8902, 22.3838, 5.1784)
Luminance0.2238 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#509223 #652392
analogous
#879223 #509223 #23922E
triadic
#509223 #235092 #922350
tetradic
#509223 #238792 #652392 #922E23
square
#509223 #238792 #652392 #922E23
split-complementary
#509223 #2E2392 #922387
monochromatic
#1A2F0B #356117 #509223 #6BC32F #8CD758

Accessibility & contrast

On white

3.83
#509223 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.48
#509223 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #509223
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##509223#FFFFFF#000000##000000
##5092231.003.835.485.48
#FFFFFF3.831.0021.0021.00
#0000005.4821.001.001.00
##0000005.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#97860C
Deuteranopia (green-blind)
#8F802E
Tritanopia (blue-blind)
#4E8C7D
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #509223;
/* rgb */ color: rgb(80, 146, 35);
/* oklch */ color: oklch(59.4% 0.157 135.6);
Tailwind
colors: {
  custom: {
    50: '#87b266',
    500: '#509223',
    950: '#000000',
  },
}
SCSS
$custom: #509223;
$custom-light: #87b266;
$custom-dark: #000000;
JSON
{
  "hex": "#509223",
  "rgb": {
    "r": 80,
    "g": 146,
    "b": 35
  },
  "hsl": {
    "h": 95.676,
    "s": 61.326,
    "l": 35.49
  },
  "oklch": {
    "l": 0.59374,
    "c": 0.15692,
    "h": 135.6
  },
  "luminance": 0.22385
}

Semantic roles & 50–950 ramp

primary
#509223
secondary
#9255BB
accent
#43E4A3
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1106
muted
#7D807A

Preview Lab

Preview with #509223

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

Preview Lab → · Contrast checker → · Palette generator →

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