#5BAF25#5BAF25

#5BAF25 is a light, vivid yellow-green. Relative luminance 0.330; OKLCH L 67.5% C 0.186 H 136.3°. Best body text is #000000 at 7.60:1 contrast (WCAG AA passes).

Color values

HEX#5BAF25
RGBrgb(91, 175, 37)
HSLhsl(97, 65%, 42%)
HSVhsv(97, 79%, 69%)
CMYKcmyk(48%, 0%, 78.9%, 31.4%)
CIE-LABlab(64.17, -48.29, 57.84)
CIE-LCHlch(64.17, 75.35, 129.86°)
OKLaboklab(67.51% -0.1345 0.1284)
OKLCHoklch(67.51% 0.186 136.3)
XYZxyz(19.9777, 33.0163, 7.0700)
Luminance0.3302 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5BAF25 #7925AF
analogous
#A0AF25 #5BAF25 #25AF34
triadic
#5BAF25 #255BAF #AF255B
tetradic
#5BAF25 #25A0AF #7925AF #AF3425
square
#5BAF25 #25A0AF #7925AF #AF3425
split-complementary
#5BAF25 #3425AF #AF25A0
monochromatic
#264A10 #417C1A #5BAF25 #78D63C #9BE06E

Accessibility & contrast

On white

2.76
#5BAF25 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.60
#5BAF25 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5BAF25
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5BAF25#FFFFFF#000000##000000
##5BAF251.002.767.607.60
#FFFFFF2.761.0021.0021.00
#0000007.6021.001.001.00
##0000007.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A000
Deuteranopia (green-blind)
#AA9935
Tritanopia (blue-blind)
#57A895
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #5baf25;
/* rgb */ color: rgb(91, 175, 37);
/* oklch */ color: oklch(67.5% 0.186 136.3);
Tailwind
colors: {
  custom: {
    50: '#91c76b',
    500: '#5baf25',
    950: '#000000',
  },
}
SCSS
$custom: #5baf25;
$custom-light: #91c76b;
$custom-dark: #000000;
JSON
{
  "hex": "#5baf25",
  "rgb": {
    "r": 91,
    "g": 175,
    "b": 37
  },
  "hsl": {
    "h": 96.522,
    "s": 65.094,
    "l": 41.569
  },
  "oklch": {
    "l": 0.6751,
    "c": 0.18596,
    "h": 136.3
  },
  "luminance": 0.33018
}

Semantic roles & 50–950 ramp

primary
#5BAF25
secondary
#A269C7
accent
#40E8A6
background
#F9FCF6
surface
#F2F8EC
border
#CCD1C7
text
#0E1307
muted
#7E827A

Preview Lab

Preview with #5BAF25

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

Preview Lab → · Contrast checker → · Palette generator →

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