#50921F#50921F

#50921F is a mid, vivid yellow-green. Relative luminance 0.224; OKLCH L 59.3% C 0.159 H 135.3°. Best body text is #000000 at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#50921F
RGBrgb(80, 146, 31)
HSLhsl(94, 65%, 35%)
HSVhsv(94, 79%, 57%)
CMYKcmyk(45.2%, 0%, 78.8%, 42.7%)
CIE-LABlab(54.41, -40.47, 50.34)
CIE-LCHlch(54.41, 64.59, 128.80°)
OKLaboklab(59.35% -0.1131 0.112)
OKLCHoklch(59.35% 0.159 135.3)
XYZxyz(13.8342, 22.3613, 4.8833)
Luminance0.2236 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#50921F #611F92
analogous
#8A921F #50921F #1F9228
triadic
#50921F #1F5092 #921F50
tetradic
#50921F #1F8A92 #611F92 #92281F
square
#50921F #1F8A92 #611F92 #92281F
split-complementary
#50921F #281F92 #921F8A
monochromatic
#192D0A #346014 #50921F #6CC42A #8CDA51

Accessibility & contrast

On white

3.84
#50921F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.47
#50921F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #50921F
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##50921F#FFFFFF#000000##000000
##50921F1.003.845.475.47
#FFFFFF3.841.0021.0021.00
#0000005.4721.001.001.00
##0000005.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#988601
Deuteranopia (green-blind)
#8F802C
Tritanopia (blue-blind)
#4E8C7C
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #50921f;
/* rgb */ color: rgb(80, 146, 31);
/* oklch */ color: oklch(59.3% 0.159 135.3);
Tailwind
colors: {
  custom: {
    50: '#87b264',
    500: '#50921f',
    950: '#000000',
  },
}
SCSS
$custom: #50921f;
$custom-light: #87b264;
$custom-dark: #000000;
JSON
{
  "hex": "#50921f",
  "rgb": {
    "r": 80,
    "g": 146,
    "b": 31
  },
  "hsl": {
    "h": 94.435,
    "s": 64.972,
    "l": 34.706
  },
  "oklch": {
    "l": 0.59347,
    "c": 0.15916,
    "h": 135.3
  },
  "luminance": 0.22362
}

Semantic roles & 50–950 ramp

primary
#50921F
secondary
#8F50BD
accent
#40E8A0
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1106
muted
#7D807A

Preview Lab

Preview with #50921F

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

Preview Lab → · Contrast checker → · Palette generator →

#50921F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva