#5B931A#5B931A

#5B931A is a mid, vivid yellow-green. Relative luminance 0.232; OKLCH L 60.2% C 0.157 H 132.2°. Best body text is #000000 at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#5B931A
RGBrgb(91, 147, 26)
HSLhsl(88, 70%, 34%)
HSVhsv(88, 82%, 58%)
CMYKcmyk(38.1%, 0%, 82.3%, 42.4%)
CIE-LABlab(55.24, -37.27, 52.87)
CIE-LCHlch(55.24, 64.68, 125.19°)
OKLaboklab(60.17% -0.1055 0.1163)
OKLCHoklch(60.17% 0.157 132.2)
XYZxyz(14.9344, 23.1655, 4.6616)
Luminance0.2317 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B931A #521A93
analogous
#938F1A #5B931A #1E931A
triadic
#5B931A #1A5B93 #931A5B
tetradic
#5B931A #1A938F #521A93 #931A1E
square
#5B931A #1A938F #521A93 #931A1E
split-complementary
#5B931A #1A1E93 #8F1A93
monochromatic
#1B2B08 #3B5F11 #5B931A #7BC723 #99DF49

Accessibility & contrast

On white

3.73
#5B931A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.63
#5B931A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B931A
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B931A#FFFFFF#000000##000000
##5B931A1.003.735.635.63
#FFFFFF3.731.0021.0021.00
#0000005.6321.001.001.00
##0000005.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8700
Deuteranopia (green-blind)
#928328
Tritanopia (blue-blind)
#5C8D7D
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #5b931a;
/* rgb */ color: rgb(91, 147, 26);
/* oklch */ color: oklch(60.2% 0.157 132.2);
Tailwind
colors: {
  custom: {
    50: '#8fb362',
    500: '#5b931a',
    950: '#000000',
  },
}
SCSS
$custom: #5b931a;
$custom-light: #8fb362;
$custom-dark: #000000;
JSON
{
  "hex": "#5b931a",
  "rgb": {
    "r": 91,
    "g": 147,
    "b": 26
  },
  "hsl": {
    "h": 87.769,
    "s": 69.942,
    "l": 33.922
  },
  "oklch": {
    "l": 0.60168,
    "c": 0.15704,
    "h": 132.2
  },
  "luminance": 0.23166
}

Semantic roles & 50–950 ramp

primary
#5B931A
secondary
#8048C0
accent
#3BED8D
background
#F9FBF6
surface
#F1F6EB
border
#CBD0C6
text
#0D1106
muted
#7E807A

Preview Lab

Preview with #5B931A

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

Preview Lab → · Contrast checker → · Palette generator →

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