#50951B#50951B

#50951B is a mid, vivid yellow-green. Relative luminance 0.233; OKLCH L 60.1% C 0.165 H 135.4°. Best body text is #000000 at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#50951B
RGBrgb(80, 149, 27)
HSLhsl(94, 69%, 35%)
HSVhsv(94, 82%, 58%)
CMYKcmyk(46.3%, 0%, 81.9%, 41.6%)
CIE-LABlab(55.36, -41.94, 52.48)
CIE-LCHlch(55.36, 67.18, 128.63°)
OKLaboklab(60.12% -0.1173 0.1159)
OKLCHoklch(60.12% 0.165 135.4)
XYZxyz(14.2532, 23.2786, 4.7789)
Luminance0.2328 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#50951B #601B95
analogous
#8D951B #50951B #1B9523
triadic
#50951B #1B5095 #951B50
tetradic
#50951B #1B8D95 #601B95 #95231B
square
#50951B #1B8D95 #601B95 #95231B
split-complementary
#50951B #231B95 #951B8D
monochromatic
#182D08 #346112 #50951B #6CC924 #8CDF4C

Accessibility & contrast

On white

3.71
#50951B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.66
#50951B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #50951B
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##50951B#FFFFFF#000000##000000
##50951B1.003.715.665.66
#FFFFFF3.711.0021.0021.00
#0000005.6621.001.001.00
##0000005.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B8800
Deuteranopia (green-blind)
#928329
Tritanopia (blue-blind)
#4E8F7F
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #50951b;
/* rgb */ color: rgb(80, 149, 27);
/* oklch */ color: oklch(60.1% 0.165 135.4);
Tailwind
colors: {
  custom: {
    50: '#88b563',
    500: '#50951b',
    950: '#000000',
  },
}
SCSS
$custom: #50951b;
$custom-light: #88b563;
$custom-dark: #000000;
JSON
{
  "hex": "#50951b",
  "rgb": {
    "r": 80,
    "g": 149,
    "b": 27
  },
  "hsl": {
    "h": 93.934,
    "s": 69.318,
    "l": 34.51
  },
  "oklch": {
    "l": 0.60121,
    "c": 0.16488,
    "h": 135.4
  },
  "luminance": 0.23279
}

Semantic roles & 50–950 ramp

primary
#50951B
secondary
#8E4BC1
accent
#3CEC9F
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1106
muted
#7D807A

Preview Lab

Preview with #50951B

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

Preview Lab → · Contrast checker → · Palette generator →

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