#50942B#50942B

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

Color values

HEX#50942B
RGBrgb(80, 148, 43)
HSLhsl(99, 55%, 37%)
HSVhsv(99, 71%, 58%)
CMYKcmyk(45.9%, 0%, 70.9%, 42%)
CIE-LABlab(55.13, -40.47, 46.62)
CIE-LCHlch(55.13, 61.73, 130.96°)
OKLaboklab(59.97% -0.1123 0.106)
OKLCHoklch(59.97% 0.154 136.7)
XYZxyz(14.3338, 23.0588, 5.9805)
Luminance0.2306 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#50942B #6F2B94
analogous
#85942B #50942B #2B943A
triadic
#50942B #2B5094 #942B50
tetradic
#50942B #2B8594 #6F2B94 #943A2B
square
#50942B #2B8594 #6F2B94 #943A2B
split-complementary
#50942B #3A2B94 #942B85
monochromatic
#1D350F #36651D #50942B #6AC339 #8DD367

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##50942B#FFFFFF#000000##000000
##50942B1.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)
#99881B
Deuteranopia (green-blind)
#908235
Tritanopia (blue-blind)
#4D8F7F
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #50942b;
/* rgb */ color: rgb(80, 148, 43);
/* oklch */ color: oklch(60.0% 0.154 136.7);
Tailwind
colors: {
  custom: {
    50: '#87b46b',
    500: '#50942b',
    950: '#000000',
  },
}
SCSS
$custom: #50942b;
$custom-light: #87b46b;
$custom-dark: #000000;
JSON
{
  "hex": "#50942b",
  "rgb": {
    "r": 80,
    "g": 148,
    "b": 43
  },
  "hsl": {
    "h": 98.857,
    "s": 54.974,
    "l": 37.451
  },
  "oklch": {
    "l": 0.59967,
    "c": 0.15438,
    "h": 136.7
  },
  "luminance": 0.2306
}

Semantic roles & 50–950 ramp

primary
#50942B
secondary
#9A62B9
accent
#49DEAA
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1107
muted
#7D807A

Preview Lab

Preview with #50942B

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

Preview Lab → · Contrast checker → · Palette generator →

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