#5BA123#5BA123

#5BA123 is a light, vivid yellow-green. Relative luminance 0.278; OKLCH L 63.9% C 0.170 H 134.8°. Best body text is #000000 at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#5BA123
RGBrgb(91, 161, 35)
HSLhsl(93, 64%, 38%)
HSVhsv(93, 78%, 63%)
CMYKcmyk(43.5%, 0%, 78.3%, 36.9%)
CIE-LABlab(59.74, -42.76, 54.28)
CIE-LCHlch(59.74, 69.10, 128.23°)
OKLaboklab(63.87% -0.1197 0.1206)
OKLCHoklch(63.87% 0.17 134.8)
XYZxyz(17.3623, 27.8343, 6.0475)
Luminance0.2783 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5BA123 #6923A1
analogous
#9AA123 #5BA123 #23A12A
triadic
#5BA123 #235BA1 #A1235B
tetradic
#5BA123 #239AA1 #6923A1 #A12A23
square
#5BA123 #239AA1 #6923A1 #A12A23
split-complementary
#5BA123 #2A23A1 #A1239A
monochromatic
#223C0D #3F6F18 #5BA123 #78D22F #98DD62

Accessibility & contrast

On white

3.20
#5BA123 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.57
#5BA123 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5BA123
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5BA123#FFFFFF#000000##000000
##5BA1231.003.206.576.57
#FFFFFF3.201.0021.0021.00
#0000006.5721.001.001.00
##0000006.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A79300
Deuteranopia (green-blind)
#9E8E31
Tritanopia (blue-blind)
#599B89
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #5ba123;
/* rgb */ color: rgb(91, 161, 35);
/* oklch */ color: oklch(63.9% 0.170 134.8);
Tailwind
colors: {
  custom: {
    50: '#90bd68',
    500: '#5ba123',
    950: '#000000',
  },
}
SCSS
$custom: #5ba123;
$custom-light: #90bd68;
$custom-dark: #000000;
JSON
{
  "hex": "#5ba123",
  "rgb": {
    "r": 91,
    "g": 161,
    "b": 35
  },
  "hsl": {
    "h": 93.333,
    "s": 64.286,
    "l": 38.431
  },
  "oklch": {
    "l": 0.63865,
    "c": 0.16998,
    "h": 134.8
  },
  "luminance": 0.27835
}

Semantic roles & 50–950 ramp

primary
#5BA123
secondary
#955EC2
accent
#41E79D
background
#F9FBF6
surface
#F2F6EB
border
#CCD0C6
text
#0D1207
muted
#7E817A

Preview Lab

Preview with #5BA123

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

Preview Lab → · Contrast checker → · Palette generator →

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