#509229#509229

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

Color values

HEX#509229
RGBrgb(80, 146, 41)
HSLhsl(98, 56%, 37%)
HSVhsv(98, 72%, 57%)
CMYKcmyk(45.2%, 0%, 71.9%, 42.7%)
CIE-LABlab(54.47, -39.78, 46.74)
CIE-LCHlch(54.47, 61.38, 130.41°)
OKLaboklab(59.42% -0.1106 0.1059)
OKLCHoklch(59.42% 0.153 136.2)
XYZxyz(13.9870, 22.4225, 5.6884)
Luminance0.2242 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#509229 #6B2992
analogous
#859229 #509229 #299236
triadic
#509229 #295092 #922950
tetradic
#509229 #298592 #6B2992 #923629
square
#509229 #298592 #6B2992 #923629
split-complementary
#509229 #362992 #922985
monochromatic
#1C320E #36621C #509229 #6AC236 #8CD362

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##509229#FFFFFF#000000##000000
##5092291.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)
#978618
Deuteranopia (green-blind)
#8E8033
Tritanopia (blue-blind)
#4D8D7D
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #509229;
/* rgb */ color: rgb(80, 146, 41);
/* oklch */ color: oklch(59.4% 0.153 136.2);
Tailwind
colors: {
  custom: {
    50: '#87b269',
    500: '#509229',
    950: '#000000',
  },
}
SCSS
$custom: #509229;
$custom-light: #87b269;
$custom-dark: #000000;
JSON
{
  "hex": "#509229",
  "rgb": {
    "r": 80,
    "g": 146,
    "b": 41
  },
  "hsl": {
    "h": 97.714,
    "s": 56.15,
    "l": 36.667
  },
  "oklch": {
    "l": 0.5942,
    "c": 0.15313,
    "h": 136.2
  },
  "luminance": 0.22423
}

Semantic roles & 50–950 ramp

primary
#509229
secondary
#975EB9
accent
#48DFA7
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1107
muted
#7D807A

Preview Lab

Preview with #509229

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

Preview Lab → · Contrast checker → · Palette generator →

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