#5B941D#5B941D

#5B941D is a mid, vivid yellow-green. Relative luminance 0.235; OKLCH L 60.4% C 0.157 H 132.6°. Best body text is #000000 at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#5B941D
RGBrgb(91, 148, 29)
HSLhsl(89, 67%, 35%)
HSVhsv(89, 80%, 58%)
CMYKcmyk(38.5%, 0%, 80.4%, 42%)
CIE-LABlab(55.58, -37.56, 52.27)
CIE-LCHlch(55.58, 64.36, 125.70°)
OKLaboklab(60.45% -0.1061 0.1155)
OKLCHoklch(60.45% 0.157 132.6)
XYZxyz(15.1259, 23.4920, 4.8996)
Luminance0.2349 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B941D #561D94
analogous
#94911D #5B941D #20941D
triadic
#5B941D #1D5B94 #941D5B
tetradic
#5B941D #1D9491 #561D94 #941D20
square
#5B941D #1D9491 #561D94 #941D20
split-complementary
#5B941D #1D2094 #911D94
monochromatic
#1C2E09 #3C6113 #5B941D #7AC727 #99DC4F

Accessibility & contrast

On white

3.69
#5B941D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.70
#5B941D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B941D
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B941D#FFFFFF#000000##000000
##5B941D1.003.695.705.70
#FFFFFF3.691.0021.0021.00
#0000005.7021.001.001.00
##0000005.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8800
Deuteranopia (green-blind)
#93842A
Tritanopia (blue-blind)
#5C8E7E
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #5b941d;
/* rgb */ color: rgb(91, 148, 29);
/* oklch */ color: oklch(60.4% 0.157 132.6);
Tailwind
colors: {
  custom: {
    50: '#8fb464',
    500: '#5b941d',
    950: '#000000',
  },
}
SCSS
$custom: #5b941d;
$custom-light: #8fb464;
$custom-dark: #000000;
JSON
{
  "hex": "#5b941d",
  "rgb": {
    "r": 91,
    "g": 148,
    "b": 29
  },
  "hsl": {
    "h": 88.739,
    "s": 67.232,
    "l": 34.706
  },
  "oklch": {
    "l": 0.60445,
    "c": 0.15686,
    "h": 132.6
  },
  "luminance": 0.23493
}

Semantic roles & 50–950 ramp

primary
#5B941D
secondary
#844EBF
accent
#3EEA90
background
#F9FBF6
surface
#F1F6EB
border
#CBD0C6
text
#0D1106
muted
#7E807A

Preview Lab

Preview with #5B941D

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

Preview Lab → · Contrast checker → · Palette generator →

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