#5B941C#5B941C

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

Color values

HEX#5B941C
RGBrgb(91, 148, 28)
HSLhsl(89, 68%, 35%)
HSVhsv(89, 81%, 58%)
CMYKcmyk(38.5%, 0%, 81.1%, 42%)
CIE-LABlab(55.57, -37.61, 52.57)
CIE-LCHlch(55.57, 64.64, 125.58°)
OKLaboklab(60.44% -0.1063 0.116)
OKLCHoklch(60.44% 0.157 132.5)
XYZxyz(15.1137, 23.4871, 4.8355)
Luminance0.2349 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B941C #551C94
analogous
#94911C #5B941C #1F941C
triadic
#5B941C #1C5B94 #941C5B
tetradic
#5B941C #1C9491 #551C94 #941C1F
square
#5B941C #1C9491 #551C94 #941C1F
split-complementary
#5B941C #1C1F94 #911C94
monochromatic
#1C2D09 #3B6112 #5B941C #7BC726 #99DD4D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5B941C#FFFFFF#000000##000000
##5B941C1.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: #5b941c;
/* rgb */ color: rgb(91, 148, 28);
/* oklch */ color: oklch(60.4% 0.157 132.5);
Tailwind
colors: {
  custom: {
    50: '#8fb463',
    500: '#5b941c',
    950: '#000000',
  },
}
SCSS
$custom: #5b941c;
$custom-light: #8fb463;
$custom-dark: #000000;
JSON
{
  "hex": "#5b941c",
  "rgb": {
    "r": 91,
    "g": 148,
    "b": 28
  },
  "hsl": {
    "h": 88.5,
    "s": 68.182,
    "l": 34.51
  },
  "oklch": {
    "l": 0.6044,
    "c": 0.15735,
    "h": 132.5
  },
  "luminance": 0.23488
}

Semantic roles & 50–950 ramp

primary
#5B941C
secondary
#834CC0
accent
#3DEB90
background
#F9FBF6
surface
#F1F6EB
border
#CBD0C6
text
#0D1106
muted
#7E807A

Preview Lab

Preview with #5B941C

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

Preview Lab → · Contrast checker → · Palette generator →

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