#5BAF30#5BAF30

#5BAF30 is a light, vivid yellow-green. Relative luminance 0.331; OKLCH L 67.6% C 0.180 H 137.2°. Best body text is #000000 at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#5BAF30
RGBrgb(91, 175, 48)
HSLhsl(100, 57%, 44%)
HSVhsv(100, 73%, 69%)
CMYKcmyk(48%, 0%, 72.6%, 31.4%)
CIE-LABlab(64.24, -47.59, 54.16)
CIE-LCHlch(64.24, 72.09, 131.30°)
OKLaboklab(67.58% -0.1319 0.1223)
OKLCHoklch(67.58% 0.18 137.2)
XYZxyz(20.1772, 33.0961, 8.1207)
Luminance0.3310 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5BAF30 #8430AF
analogous
#9AAF30 #5BAF30 #30AF44
triadic
#5BAF30 #305BAF #AF305B
tetradic
#5BAF30 #309AAF #8430AF #AF4430
square
#5BAF30 #309AAF #8430AF #AF4430
split-complementary
#5BAF30 #4430AF #AF309A
monochromatic
#294F16 #427F23 #5BAF30 #79CE4E #9EDC7E

Accessibility & contrast

On white

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

On black

7.62
#5BAF30 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5BAF30
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5BAF30#FFFFFF#000000##000000
##5BAF301.002.767.627.62
#FFFFFF2.761.0021.0021.00
#0000007.6221.001.001.00
##0000007.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A01A
Deuteranopia (green-blind)
#AA993C
Tritanopia (blue-blind)
#56A996
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #5baf30;
/* rgb */ color: rgb(91, 175, 48);
/* oklch */ color: oklch(67.6% 0.180 137.2);
Tailwind
colors: {
  custom: {
    50: '#91c770',
    500: '#5baf30',
    950: '#000000',
  },
}
SCSS
$custom: #5baf30;
$custom-light: #91c770;
$custom-dark: #000000;
JSON
{
  "hex": "#5baf30",
  "rgb": {
    "r": 91,
    "g": 175,
    "b": 48
  },
  "hsl": {
    "h": 99.685,
    "s": 56.951,
    "l": 43.725
  },
  "oklch": {
    "l": 0.67584,
    "c": 0.17987,
    "h": 137.2
  },
  "luminance": 0.33097
}

Semantic roles & 50–950 ramp

primary
#5BAF30
secondary
#AA76C4
accent
#48E0AD
background
#F9FCF7
surface
#F2F8ED
border
#CCD1C8
text
#0D1308
muted
#7E827B

Preview Lab

Preview with #5BAF30

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

Preview Lab → · Contrast checker → · Palette generator →

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