#5BA325#5BA325

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

Color values

HEX#5BA325
RGBrgb(91, 163, 37)
HSLhsl(94, 63%, 39%)
HSVhsv(94, 77%, 64%)
CMYKcmyk(44.2%, 0%, 77.3%, 36.1%)
CIE-LABlab(60.38, -43.47, 54.23)
CIE-LCHlch(60.38, 69.50, 128.71°)
OKLaboklab(64.4% -0.1215 0.1209)
OKLCHoklch(64.4% 0.171 135.2)
XYZxyz(17.7451, 28.5511, 6.3258)
Luminance0.2855 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5BA325 #6D25A3
analogous
#9AA325 #5BA325 #25A32E
triadic
#5BA325 #255BA3 #A3255B
tetradic
#5BA325 #259AA3 #6D25A3 #A32E25
square
#5BA325 #259AA3 #6D25A3 #A32E25
split-complementary
#5BA325 #2E25A3 #A3259A
monochromatic
#233F0E #3F711A #5BA325 #77D134 #99DC66

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5BA325#FFFFFF#000000##000000
##5BA3251.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)
#A99505
Deuteranopia (green-blind)
#A08F32
Tritanopia (blue-blind)
#599D8B
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #5ba325;
/* rgb */ color: rgb(91, 163, 37);
/* oklch */ color: oklch(64.4% 0.171 135.2);
Tailwind
colors: {
  custom: {
    50: '#90bf69',
    500: '#5ba325',
    950: '#000000',
  },
}
SCSS
$custom: #5ba325;
$custom-light: #90bf69;
$custom-dark: #000000;
JSON
{
  "hex": "#5ba325",
  "rgb": {
    "r": 91,
    "g": 163,
    "b": 37
  },
  "hsl": {
    "h": 94.286,
    "s": 63,
    "l": 39.216
  },
  "oklch": {
    "l": 0.64397,
    "c": 0.1714,
    "h": 135.2
  },
  "luminance": 0.28552
}

Semantic roles & 50–950 ramp

primary
#5BA325
secondary
#9962C2
accent
#42E6A0
background
#F9FBF6
surface
#F2F7EB
border
#CCD0C6
text
#0D1207
muted
#7E817A

Preview Lab

Preview with #5BA325

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

Preview Lab → · Contrast checker → · Palette generator →

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