#5B951E#5B951E

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

Color values

HEX#5B951E
RGBrgb(91, 149, 30)
HSLhsl(89, 66%, 35%)
HSVhsv(89, 80%, 58%)
CMYKcmyk(38.9%, 0%, 79.9%, 41.6%)
CIE-LABlab(55.90, -37.94, 52.26)
CIE-LCHlch(55.90, 64.58, 125.98°)
OKLaboklab(60.71% -0.1071 0.1156)
OKLCHoklch(60.71% 0.158 132.8)
XYZxyz(15.2960, 23.8121, 5.0183)
Luminance0.2381 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B951E #581E95
analogous
#95941E #5B951E #1F951E
triadic
#5B951E #1E5B95 #951E5B
tetradic
#5B951E #1E9594 #581E95 #951E1F
square
#5B951E #1E9594 #581E95 #951E1F
split-complementary
#5B951E #1E1F95 #941E95
monochromatic
#1D2F09 #3C6214 #5B951E #7AC828 #98DC51

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5B951E#FFFFFF#000000##000000
##5B951E1.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)
#94842B
Tritanopia (blue-blind)
#5C8F7F
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #5b951e;
/* rgb */ color: rgb(91, 149, 30);
/* oklch */ color: oklch(60.7% 0.158 132.8);
Tailwind
colors: {
  custom: {
    50: '#8fb464',
    500: '#5b951e',
    950: '#000000',
  },
}
SCSS
$custom: #5b951e;
$custom-light: #8fb464;
$custom-dark: #000000;
JSON
{
  "hex": "#5b951e",
  "rgb": {
    "r": 91,
    "g": 149,
    "b": 30
  },
  "hsl": {
    "h": 89.244,
    "s": 66.48,
    "l": 35.098
  },
  "oklch": {
    "l": 0.60712,
    "c": 0.15761,
    "h": 132.8
  },
  "luminance": 0.23813
}

Semantic roles & 50–950 ramp

primary
#5B951E
secondary
#8650BF
accent
#3EE992
background
#F9FBF6
surface
#F1F6EB
border
#CBD0C6
text
#0D1106
muted
#7E807A

Preview Lab

Preview with #5B951E

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

Preview Lab → · Contrast checker → · Palette generator →

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