#5BAF29#5BAF29

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

Color values

HEX#5BAF29
RGBrgb(91, 175, 41)
HSLhsl(98, 62%, 42%)
HSVhsv(98, 77%, 69%)
CMYKcmyk(48%, 0%, 76.6%, 31.4%)
CIE-LABlab(64.20, -48.06, 56.58)
CIE-LCHlch(64.20, 74.23, 130.34°)
OKLaboklab(67.54% -0.1336 0.1264)
OKLCHoklch(67.54% 0.184 136.6)
XYZxyz(20.0440, 33.0428, 7.4191)
Luminance0.3304 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5BAF29 #7D29AF
analogous
#9EAF29 #5BAF29 #29AF3A
triadic
#5BAF29 #295BAF #AF295B
tetradic
#5BAF29 #299EAF #7D29AF #AF3A29
square
#5BAF29 #299EAF #7D29AF #AF3A29
split-complementary
#5BAF29 #3A29AF #AF299E
monochromatic
#274C12 #417D1D #5BAF29 #78D342 #9CDE74

Accessibility & contrast

On white

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

On black

7.61
#5BAF29 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5BAF29
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5BAF29#FFFFFF#000000##000000
##5BAF291.002.767.617.61
#FFFFFF2.761.0021.0021.00
#0000007.6121.001.001.00
##0000007.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A008
Deuteranopia (green-blind)
#AA9937
Tritanopia (blue-blind)
#57A896
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #5baf29;
/* rgb */ color: rgb(91, 175, 41);
/* oklch */ color: oklch(67.5% 0.184 136.6);
Tailwind
colors: {
  custom: {
    50: '#91c76d',
    500: '#5baf29',
    950: '#000000',
  },
}
SCSS
$custom: #5baf29;
$custom-light: #91c76d;
$custom-dark: #000000;
JSON
{
  "hex": "#5baf29",
  "rgb": {
    "r": 91,
    "g": 175,
    "b": 41
  },
  "hsl": {
    "h": 97.612,
    "s": 62.037,
    "l": 42.353
  },
  "oklch": {
    "l": 0.67535,
    "c": 0.18391,
    "h": 136.6
  },
  "luminance": 0.33044
}

Semantic roles & 50–950 ramp

primary
#5BAF29
secondary
#A56EC6
accent
#43E5A9
background
#F9FCF6
surface
#F2F8EC
border
#CCD1C7
text
#0E1308
muted
#7E827B

Preview Lab

Preview with #5BAF29

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

Preview Lab → · Contrast checker → · Palette generator →

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