#5BA020#5BA020

#5BA020 is a light, vivid yellow-green. Relative luminance 0.275; OKLCH L 63.6% C 0.170 H 134.5°. Best body text is #000000 at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#5BA020
RGBrgb(91, 160, 32)
HSLhsl(92, 67%, 38%)
HSVhsv(92, 80%, 63%)
CMYKcmyk(43.1%, 0%, 80%, 37.3%)
CIE-LABlab(59.41, -42.51, 54.91)
CIE-LCHlch(59.41, 69.44, 127.75°)
OKLaboklab(63.59% -0.1193 0.1215)
OKLCHoklch(63.59% 0.17 134.5)
XYZxyz(17.1456, 27.4691, 5.7649)
Luminance0.2747 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5BA020 #6520A0
analogous
#9BA020 #5BA020 #20A025
triadic
#5BA020 #205BA0 #A0205B
tetradic
#5BA020 #209BA0 #6520A0 #A02520
square
#5BA020 #209BA0 #6520A0 #A02520
split-complementary
#5BA020 #2520A0 #A0209B
monochromatic
#213A0C #3E6D16 #5BA020 #78D32A #98DE5C

Accessibility & contrast

On white

3.23
#5BA020 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.49
#5BA020 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5BA020
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5BA020#FFFFFF#000000##000000
##5BA0201.003.236.496.49
#FFFFFF3.231.0021.0021.00
#0000006.4921.001.001.00
##0000006.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A69300
Deuteranopia (green-blind)
#9D8D2E
Tritanopia (blue-blind)
#5A9A88
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #5ba020;
/* rgb */ color: rgb(91, 160, 32);
/* oklch */ color: oklch(63.6% 0.170 134.5);
Tailwind
colors: {
  custom: {
    50: '#90bc67',
    500: '#5ba020',
    950: '#000000',
  },
}
SCSS
$custom: #5ba020;
$custom-light: #90bc67;
$custom-dark: #000000;
JSON
{
  "hex": "#5ba020",
  "rgb": {
    "r": 91,
    "g": 160,
    "b": 32
  },
  "hsl": {
    "h": 92.344,
    "s": 66.667,
    "l": 37.647
  },
  "oklch": {
    "l": 0.63587,
    "c": 0.17026,
    "h": 134.5
  },
  "luminance": 0.2747
}

Semantic roles & 50–950 ramp

primary
#5BA020
secondary
#9259C3
accent
#3EEA9B
background
#F9FBF6
surface
#F2F6EB
border
#CCD0C6
text
#0D1206
muted
#7E817A

Preview Lab

Preview with #5BA020

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

Preview Lab → · Contrast checker → · Palette generator →

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