#5BA018#5BA018

#5BA018 is a light, vivid yellow-green. Relative luminance 0.274; OKLCH L 63.5% C 0.174 H 134.0°. Best body text is #000000 at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#5BA018
RGBrgb(91, 160, 24)
HSLhsl(90, 74%, 36%)
HSVhsv(90, 85%, 63%)
CMYKcmyk(43.1%, 0%, 85%, 37.3%)
CIE-LABlab(59.37, -42.89, 57.11)
CIE-LCHlch(59.37, 71.42, 126.91°)
OKLaboklab(63.55% -0.1207 0.1249)
OKLCHoklch(63.55% 0.174 134)
XYZxyz(17.0498, 27.4308, 5.2603)
Luminance0.2743 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5BA018 #5D18A0
analogous
#9FA018 #5BA018 #18A019
triadic
#5BA018 #185BA0 #A0185B
tetradic
#5BA018 #189FA0 #5D18A0 #A01918
square
#5BA018 #189FA0 #5D18A0 #A01918
split-complementary
#5BA018 #1918A0 #A0189F
monochromatic
#1E3608 #3D6B10 #5BA018 #79D520 #98E44E

Accessibility & contrast

On white

3.24
#5BA018 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##5BA018#FFFFFF#000000##000000
##5BA0181.003.246.496.49
#FFFFFF3.241.0021.0021.00
#0000006.4921.001.001.00
##0000006.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A79200
Deuteranopia (green-blind)
#9D8D2A
Tritanopia (blue-blind)
#5A9988
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #5ba018;
/* rgb */ color: rgb(91, 160, 24);
/* oklch */ color: oklch(63.5% 0.174 134.0);
Tailwind
colors: {
  custom: {
    50: '#90bc64',
    500: '#5ba018',
    950: '#000000',
  },
}
SCSS
$custom: #5ba018;
$custom-light: #90bc64;
$custom-dark: #000000;
JSON
{
  "hex": "#5ba018",
  "rgb": {
    "r": 91,
    "g": 160,
    "b": 24
  },
  "hsl": {
    "h": 90.441,
    "s": 73.913,
    "l": 36.078
  },
  "oklch": {
    "l": 0.63547,
    "c": 0.17375,
    "h": 134
  },
  "luminance": 0.27432
}

Semantic roles & 50–950 ramp

primary
#5BA018
secondary
#8B4DC6
accent
#37F195
background
#F9FBF6
surface
#F2F6EB
border
#CCD0C6
text
#0D1206
muted
#7E817A

Preview Lab

Preview with #5BA018

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

Preview Lab → · Contrast checker → · Palette generator →

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