#5BA122#5BA122

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

Color values

HEX#5BA122
RGBrgb(91, 161, 34)
HSLhsl(93, 65%, 38%)
HSVhsv(93, 79%, 63%)
CMYKcmyk(43.5%, 0%, 78.9%, 36.9%)
CIE-LABlab(59.73, -42.82, 54.59)
CIE-LCHlch(59.73, 69.38, 128.11°)
OKLaboklab(63.86% -0.12 0.1212)
OKLCHoklch(63.86% 0.171 134.7)
XYZxyz(17.3476, 27.8284, 5.9704)
Luminance0.2783 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5BA122 #6822A1
analogous
#9AA122 #5BA122 #22A129
triadic
#5BA122 #225BA1 #A1225B
tetradic
#5BA122 #229AA1 #6822A1 #A12922
square
#5BA122 #229AA1 #6822A1 #A12922
split-complementary
#5BA122 #2922A1 #A1229A
monochromatic
#223C0D #3E6E17 #5BA122 #78D32D #98DD60

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5BA122#FFFFFF#000000##000000
##5BA1221.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)
#9E8E30
Tritanopia (blue-blind)
#5A9B89
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #5ba122;
/* rgb */ color: rgb(91, 161, 34);
/* oklch */ color: oklch(63.9% 0.171 134.7);
Tailwind
colors: {
  custom: {
    50: '#90bd68',
    500: '#5ba122',
    950: '#000000',
  },
}
SCSS
$custom: #5ba122;
$custom-light: #90bd68;
$custom-dark: #000000;
JSON
{
  "hex": "#5ba122",
  "rgb": {
    "r": 91,
    "g": 161,
    "b": 34
  },
  "hsl": {
    "h": 93.071,
    "s": 65.128,
    "l": 38.235
  },
  "oklch": {
    "l": 0.63859,
    "c": 0.1705,
    "h": 134.7
  },
  "luminance": 0.27829
}

Semantic roles & 50–950 ramp

primary
#5BA122
secondary
#955DC2
accent
#40E89D
background
#F9FBF6
surface
#F2F6EB
border
#CCD0C6
text
#0D1207
muted
#7E817A

Preview Lab

Preview with #5BA122

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

Preview Lab → · Contrast checker → · Palette generator →

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