#5BAC1C#5BAC1C

#5BAC1C is a light, vivid yellow-green. Relative luminance 0.318; OKLCH L 66.7% C 0.186 H 135.5°. Best body text is #000000 at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#5BAC1C
RGBrgb(91, 172, 28)
HSLhsl(94, 72%, 39%)
HSVhsv(94, 84%, 67%)
CMYKcmyk(47.1%, 0%, 83.7%, 32.5%)
CIE-LABlab(63.19, -47.56, 59.49)
CIE-LCHlch(63.19, 76.17, 128.64°)
OKLaboklab(66.69% -0.133 0.1306)
OKLCHoklch(66.69% 0.186 135.5)
XYZxyz(19.2760, 31.8118, 6.2230)
Luminance0.3181 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5BAC1C #6D1CAC
analogous
#A3AC1C #5BAC1C #1CAC25
triadic
#5BAC1C #1C5BAC #AC1C5B
tetradic
#5BAC1C #1CA3AC #6D1CAC #AC251C
square
#5BAC1C #1CA3AC #6D1CAC #AC251C
split-complementary
#5BAC1C #251CAC #AC1CA3
monochromatic
#23430B #3F7713 #5BAC1C #77DC29 #99E55E

Accessibility & contrast

On white

2.85
#5BAC1C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.36
#5BAC1C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5BAC1C
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5BAC1C#FFFFFF#000000##000000
##5BAC1C1.002.857.367.36
#FFFFFF2.851.0021.0021.00
#0000007.3621.001.001.00
##0000007.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29D00
Deuteranopia (green-blind)
#A8972E
Tritanopia (blue-blind)
#58A592
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #5bac1c;
/* rgb */ color: rgb(91, 172, 28);
/* oklch */ color: oklch(66.7% 0.186 135.5);
Tailwind
colors: {
  custom: {
    50: '#91c567',
    500: '#5bac1c',
    950: '#000000',
  },
}
SCSS
$custom: #5bac1c;
$custom-light: #91c567;
$custom-dark: #000000;
JSON
{
  "hex": "#5bac1c",
  "rgb": {
    "r": 91,
    "g": 172,
    "b": 28
  },
  "hsl": {
    "h": 93.75,
    "s": 72,
    "l": 39.216
  },
  "oklch": {
    "l": 0.66686,
    "c": 0.1864,
    "h": 135.5
  },
  "luminance": 0.31813
}

Semantic roles & 50–950 ramp

primary
#5BAC1C
secondary
#995BC9
accent
#39EF9F
background
#F9FCF6
surface
#F2F8EB
border
#CCD1C6
text
#0E1307
muted
#7E827A

Preview Lab

Preview with #5BAC1C

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

Preview Lab → · Contrast checker → · Palette generator →

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