#5BA323#5BA323

#5BA323 is a light, vivid yellow-green. Relative luminance 0.285; OKLCH L 64.4% C 0.172 H 135.0°. Best body text is #000000 at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#5BA323
RGBrgb(91, 163, 35)
HSLhsl(94, 65%, 39%)
HSVhsv(94, 79%, 64%)
CMYKcmyk(44.2%, 0%, 78.5%, 36.1%)
CIE-LABlab(60.37, -43.59, 54.88)
CIE-LCHlch(60.37, 70.08, 128.46°)
OKLaboklab(64.39% -0.122 0.1219)
OKLCHoklch(64.39% 0.172 135)
XYZxyz(17.7146, 28.5389, 6.1649)
Luminance0.2854 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5BA323 #6B23A3
analogous
#9BA323 #5BA323 #23A32B
triadic
#5BA323 #235BA3 #A3235B
tetradic
#5BA323 #239BA3 #6B23A3 #A32B23
square
#5BA323 #239BA3 #6B23A3 #A32B23
split-complementary
#5BA323 #2B23A3 #A3239B
monochromatic
#233E0D #3F7118 #5BA323 #77D331 #99DD63

Accessibility & contrast

On white

3.13
#5BA323 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.71
#5BA323 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5BA323
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5BA323#FFFFFF#000000##000000
##5BA3231.003.136.716.71
#FFFFFF3.131.0021.0021.00
#0000006.7121.001.001.00
##0000006.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A99500
Deuteranopia (green-blind)
#A08F31
Tritanopia (blue-blind)
#599D8B
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #5ba323;
/* rgb */ color: rgb(91, 163, 35);
/* oklch */ color: oklch(64.4% 0.172 135.0);
Tailwind
colors: {
  custom: {
    50: '#90bf69',
    500: '#5ba323',
    950: '#000000',
  },
}
SCSS
$custom: #5ba323;
$custom-light: #90bf69;
$custom-dark: #000000;
JSON
{
  "hex": "#5ba323",
  "rgb": {
    "r": 91,
    "g": 163,
    "b": 35
  },
  "hsl": {
    "h": 93.75,
    "s": 64.646,
    "l": 38.824
  },
  "oklch": {
    "l": 0.64385,
    "c": 0.17244,
    "h": 135
  },
  "luminance": 0.2854
}

Semantic roles & 50–950 ramp

primary
#5BA323
secondary
#975FC3
accent
#40E89E
background
#F9FBF6
surface
#F2F7EB
border
#CCD0C6
text
#0D1207
muted
#7E817A

Preview Lab

Preview with #5BA323

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

Preview Lab → · Contrast checker → · Palette generator →

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