#5BAF26#5BAF26

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

Color values

HEX#5BAF26
RGBrgb(91, 175, 38)
HSLhsl(97, 64%, 42%)
HSVhsv(97, 78%, 69%)
CMYKcmyk(48%, 0%, 78.3%, 31.4%)
CIE-LABlab(64.18, -48.24, 57.54)
CIE-LCHlch(64.18, 75.08, 129.97°)
OKLaboklab(67.52% -0.1343 0.1279)
OKLCHoklch(67.52% 0.185 136.4)
XYZxyz(19.9937, 33.0227, 7.1538)
Luminance0.3302 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5BAF26 #7A26AF
analogous
#A0AF26 #5BAF26 #26AF35
triadic
#5BAF26 #265BAF #AF265B
tetradic
#5BAF26 #26A0AF #7A26AF #AF3526
square
#5BAF26 #26A0AF #7A26AF #AF3526
split-complementary
#5BAF26 #3526AF #AF26A0
monochromatic
#274A10 #417D1B #5BAF26 #78D53D #9BE070

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5BAF26#FFFFFF#000000##000000
##5BAF261.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)
#57A896
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #5baf26;
/* rgb */ color: rgb(91, 175, 38);
/* oklch */ color: oklch(67.5% 0.185 136.4);
Tailwind
colors: {
  custom: {
    50: '#91c76c',
    500: '#5baf26',
    950: '#000000',
  },
}
SCSS
$custom: #5baf26;
$custom-light: #91c76c;
$custom-dark: #000000;
JSON
{
  "hex": "#5baf26",
  "rgb": {
    "r": 91,
    "g": 175,
    "b": 38
  },
  "hsl": {
    "h": 96.788,
    "s": 64.319,
    "l": 41.765
  },
  "oklch": {
    "l": 0.67516,
    "c": 0.18547,
    "h": 136.4
  },
  "luminance": 0.33024
}

Semantic roles & 50–950 ramp

primary
#5BAF26
secondary
#A36AC7
accent
#40E7A7
background
#F9FCF6
surface
#F2F8EC
border
#CCD1C7
text
#0E1307
muted
#7E827A

Preview Lab

Preview with #5BAF26

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

Preview Lab → · Contrast checker → · Palette generator →

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