#50931B#50931B

#50931B is a mid, vivid yellow-green. Relative luminance 0.227; OKLCH L 59.6% C 0.162 H 135.1°. Best body text is #000000 at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#50931B
RGBrgb(80, 147, 27)
HSLhsl(94, 69%, 34%)
HSVhsv(94, 82%, 58%)
CMYKcmyk(45.6%, 0%, 81.6%, 42.4%)
CIE-LABlab(54.71, -41.11, 51.89)
CIE-LCHlch(54.71, 66.20, 128.39°)
OKLaboklab(59.59% -0.1151 0.1146)
OKLCHoklch(59.59% 0.162 135.1)
XYZxyz(13.9395, 22.6512, 4.6743)
Luminance0.2265 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#50931B #5E1B93
analogous
#8C931B #50931B #1B9322
triadic
#50931B #1B5093 #931B50
tetradic
#50931B #1B8C93 #5E1B93 #93221B
square
#50931B #1B8C93 #5E1B93 #93221B
split-complementary
#50931B #221B93 #931B8C
monochromatic
#182C08 #345F12 #50931B #6CC724 #8CDE4B

Accessibility & contrast

On white

3.80
#50931B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.53
#50931B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #50931B
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##50931B#FFFFFF#000000##000000
##50931B1.003.805.535.53
#FFFFFF3.801.0021.0021.00
#0000005.5321.001.001.00
##0000005.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#998600
Deuteranopia (green-blind)
#908129
Tritanopia (blue-blind)
#4E8D7D
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #50931b;
/* rgb */ color: rgb(80, 147, 27);
/* oklch */ color: oklch(59.6% 0.162 135.1);
Tailwind
colors: {
  custom: {
    50: '#88b363',
    500: '#50931b',
    950: '#000000',
  },
}
SCSS
$custom: #50931b;
$custom-light: #88b363;
$custom-dark: #000000;
JSON
{
  "hex": "#50931b",
  "rgb": {
    "r": 80,
    "g": 147,
    "b": 27
  },
  "hsl": {
    "h": 93.5,
    "s": 68.966,
    "l": 34.118
  },
  "oklch": {
    "l": 0.59589,
    "c": 0.16243,
    "h": 135.1
  },
  "luminance": 0.22652
}

Semantic roles & 50–950 ramp

primary
#50931B
secondary
#8C4AC0
accent
#3CEC9E
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1106
muted
#7D807A

Preview Lab

Preview with #50931B

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

Preview Lab → · Contrast checker → · Palette generator →

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