#5B951D#5B951D

#5B951D is a mid, vivid yellow-green. Relative luminance 0.238; OKLCH L 60.7% C 0.158 H 132.7°. Best body text is #000000 at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#5B951D
RGBrgb(91, 149, 29)
HSLhsl(89, 67%, 35%)
HSVhsv(89, 81%, 58%)
CMYKcmyk(38.9%, 0%, 80.5%, 41.6%)
CIE-LABlab(55.89, -38.00, 52.56)
CIE-LCHlch(55.89, 64.86, 125.86°)
OKLaboklab(60.71% -0.1073 0.1161)
OKLCHoklch(60.71% 0.158 132.7)
XYZxyz(15.2834, 23.8070, 4.9521)
Luminance0.2381 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B951D #571D95
analogous
#95931D #5B951D #1F951D
triadic
#5B951D #1D5B95 #951D5B
tetradic
#5B951D #1D9593 #571D95 #951D1F
square
#5B951D #1D9593 #571D95 #951D1F
split-complementary
#5B951D #1D1F95 #931D95
monochromatic
#1C2F09 #3C6213 #5B951D #7AC827 #99DD50

Accessibility & contrast

On white

3.64
#5B951D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.76
#5B951D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B951D
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B951D#FFFFFF#000000##000000
##5B951D1.003.645.765.76
#FFFFFF3.641.0021.0021.00
#0000005.7621.001.001.00
##0000005.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B8900
Deuteranopia (green-blind)
#94842A
Tritanopia (blue-blind)
#5C8F7F
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #5b951d;
/* rgb */ color: rgb(91, 149, 29);
/* oklch */ color: oklch(60.7% 0.158 132.7);
Tailwind
colors: {
  custom: {
    50: '#8fb464',
    500: '#5b951d',
    950: '#000000',
  },
}
SCSS
$custom: #5b951d;
$custom-light: #8fb464;
$custom-dark: #000000;
JSON
{
  "hex": "#5b951d",
  "rgb": {
    "r": 91,
    "g": 149,
    "b": 29
  },
  "hsl": {
    "h": 89,
    "s": 67.416,
    "l": 34.902
  },
  "oklch": {
    "l": 0.60706,
    "c": 0.15811,
    "h": 132.7
  },
  "luminance": 0.23808
}

Semantic roles & 50–950 ramp

primary
#5B951D
secondary
#854EC0
accent
#3DEA91
background
#F9FBF6
surface
#F1F6EB
border
#CBD0C6
text
#0D1106
muted
#7E807A

Preview Lab

Preview with #5B951D

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

Preview Lab → · Contrast checker → · Palette generator →

#5B951D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva