#50942A#50942A

#50942A is a mid, vivid yellow-green. Relative luminance 0.231; OKLCH L 60.0% C 0.155 H 136.5°. Best body text is #000000 at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#50942A
RGBrgb(80, 148, 42)
HSLhsl(98, 56%, 37%)
HSVhsv(98, 72%, 58%)
CMYKcmyk(45.9%, 0%, 71.6%, 42%)
CIE-LABlab(55.13, -40.55, 47.01)
CIE-LCHlch(55.13, 62.08, 130.78°)
OKLaboklab(59.96% -0.1126 0.1067)
OKLCHoklch(59.96% 0.155 136.5)
XYZxyz(14.3157, 23.0516, 5.8851)
Luminance0.2305 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#50942A #6E2A94
analogous
#85942A #50942A #2A9439
triadic
#50942A #2A5094 #942A50
tetradic
#50942A #2A8594 #6E2A94 #94392A
square
#50942A #2A8594 #6E2A94 #94392A
split-complementary
#50942A #392A94 #942A85
monochromatic
#1C350F #36641C #50942A #6AC438 #8DD365

Accessibility & contrast

On white

3.74
#50942A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.61
#50942A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #50942A
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##50942A#FFFFFF#000000##000000
##50942A1.003.745.615.61
#FFFFFF3.741.0021.0021.00
#0000005.6121.001.001.00
##0000005.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#998819
Deuteranopia (green-blind)
#908234
Tritanopia (blue-blind)
#4D8F7F
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #50942a;
/* rgb */ color: rgb(80, 148, 42);
/* oklch */ color: oklch(60.0% 0.155 136.5);
Tailwind
colors: {
  custom: {
    50: '#87b46a',
    500: '#50942a',
    950: '#000000',
  },
}
SCSS
$custom: #50942a;
$custom-light: #87b46a;
$custom-dark: #000000;
JSON
{
  "hex": "#50942a",
  "rgb": {
    "r": 80,
    "g": 148,
    "b": 42
  },
  "hsl": {
    "h": 98.491,
    "s": 55.789,
    "l": 37.255
  },
  "oklch": {
    "l": 0.59958,
    "c": 0.15506,
    "h": 136.5
  },
  "luminance": 0.23052
}

Semantic roles & 50–950 ramp

primary
#50942A
secondary
#9A60B9
accent
#49DFA9
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1107
muted
#7D807A

Preview Lab

Preview with #50942A

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

Preview Lab → · Contrast checker → · Palette generator →

#50942A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva