#50931F#50931F

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

Color values

HEX#50931F
RGBrgb(80, 147, 31)
HSLhsl(95, 65%, 35%)
HSVhsv(95, 79%, 58%)
CMYKcmyk(45.6%, 0%, 78.9%, 42.4%)
CIE-LABlab(54.73, -40.89, 50.64)
CIE-LCHlch(54.73, 65.09, 128.92°)
OKLaboklab(59.61% -0.1142 0.1126)
OKLCHoklch(59.61% 0.16 135.4)
XYZxyz(13.9890, 22.6710, 4.9349)
Luminance0.2267 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#50931F #621F93
analogous
#8A931F #50931F #1F9328
triadic
#50931F #1F5093 #931F50
tetradic
#50931F #1F8A93 #621F93 #93281F
square
#50931F #1F8A93 #621F93 #93281F
split-complementary
#50931F #281F93 #931F8A
monochromatic
#192E0A #346014 #50931F #6CC62A #8CDA52

Accessibility & contrast

On white

3.79
#50931F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##50931F#FFFFFF#000000##000000
##50931F1.003.795.535.53
#FFFFFF3.791.0021.0021.00
#0000005.5321.001.001.00
##0000005.5321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #50931f;
/* rgb */ color: rgb(80, 147, 31);
/* oklch */ color: oklch(59.6% 0.160 135.4);
Tailwind
colors: {
  custom: {
    50: '#88b364',
    500: '#50931f',
    950: '#000000',
  },
}
SCSS
$custom: #50931f;
$custom-light: #88b364;
$custom-dark: #000000;
JSON
{
  "hex": "#50931f",
  "rgb": {
    "r": 80,
    "g": 147,
    "b": 31
  },
  "hsl": {
    "h": 94.655,
    "s": 65.169,
    "l": 34.902
  },
  "oklch": {
    "l": 0.59613,
    "c": 0.16043,
    "h": 135.4
  },
  "luminance": 0.22672
}

Semantic roles & 50–950 ramp

primary
#50931F
secondary
#8F50BE
accent
#40E8A1
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1106
muted
#7D807A

Preview Lab

Preview with #50931F

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

Preview Lab → · Contrast checker → · Palette generator →

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