#5BA825#5BA825

#5BA825 is a light, vivid yellow-green. Relative luminance 0.304; OKLCH L 65.7% C 0.178 H 135.7°. Best body text is #000000 at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#5BA825
RGBrgb(91, 168, 37)
HSLhsl(95, 64%, 40%)
HSVhsv(95, 78%, 66%)
CMYKcmyk(45.8%, 0%, 78%, 34.1%)
CIE-LABlab(61.97, -45.51, 55.75)
CIE-LCHlch(61.97, 71.96, 129.22°)
OKLaboklab(65.7% -0.127 0.124)
OKLCHoklch(65.7% 0.178 135.7)
XYZxyz(18.6505, 30.3618, 6.6276)
Luminance0.3036 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5BA825 #7225A8
analogous
#9CA825 #5BA825 #25A830
triadic
#5BA825 #255BA8 #A8255B
tetradic
#5BA825 #259CA8 #7225A8 #A83025
square
#5BA825 #259CA8 #7225A8 #A83025
split-complementary
#5BA825 #3025A8 #A8259C
monochromatic
#25440F #40761A #5BA825 #77D337 #99DE69

Accessibility & contrast

On white

2.97
#5BA825 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.07
#5BA825 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5BA825
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5BA825#FFFFFF#000000##000000
##5BA8251.002.977.077.07
#FFFFFF2.971.0021.0021.00
#0000007.0721.001.001.00
##0000007.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9A01
Deuteranopia (green-blind)
#A49333
Tritanopia (blue-blind)
#58A290
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #5ba825;
/* rgb */ color: rgb(91, 168, 37);
/* oklch */ color: oklch(65.7% 0.178 135.7);
Tailwind
colors: {
  custom: {
    50: '#90c26a',
    500: '#5ba825',
    950: '#000000',
  },
}
SCSS
$custom: #5ba825;
$custom-light: #90c26a;
$custom-dark: #000000;
JSON
{
  "hex": "#5ba825",
  "rgb": {
    "r": 91,
    "g": 168,
    "b": 37
  },
  "hsl": {
    "h": 95.267,
    "s": 63.902,
    "l": 40.196
  },
  "oklch": {
    "l": 0.65695,
    "c": 0.17753,
    "h": 135.7
  },
  "luminance": 0.30363
}

Semantic roles & 50–950 ramp

primary
#5BA825
secondary
#9D65C4
accent
#41E7A2
background
#F9FCF6
surface
#F2F8EC
border
#CCD1C7
text
#0D1207
muted
#7E817A

Preview Lab

Preview with #5BA825

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

Preview Lab → · Contrast checker → · Palette generator →

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