#5BA92F#5BA92F

#5BA92F is a light, vivid yellow-green. Relative luminance 0.308; OKLCH L 66.0% C 0.173 H 136.6°. Best body text is #000000 at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#5BA92F
RGBrgb(91, 169, 47)
HSLhsl(98, 56%, 42%)
HSVhsv(98, 72%, 66%)
CMYKcmyk(46.2%, 0%, 72.2%, 33.7%)
CIE-LABlab(62.34, -45.25, 52.61)
CIE-LCHlch(62.34, 69.39, 130.70°)
OKLaboklab(66.02% -0.1257 0.1189)
OKLCHoklch(66.02% 0.173 136.6)
XYZxyz(19.0149, 30.8041, 7.6326)
Luminance0.3080 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5BA92F #7D2FA9
analogous
#98A92F #5BA92F #2FA940
triadic
#5BA92F #2F5BA9 #A92F5B
tetradic
#5BA92F #2F98A9 #7D2FA9 #A9402F
square
#5BA92F #2F98A9 #7D2FA9 #A9402F
split-complementary
#5BA92F #402FA9 #A92F98
monochromatic
#274914 #417922 #5BA92F #78CC49 #9CDA79

Accessibility & contrast

On white

2.93
#5BA92F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.16
#5BA92F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5BA92F
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5BA92F#FFFFFF#000000##000000
##5BA92F1.002.937.167.16
#FFFFFF2.931.0021.0021.00
#0000007.1621.001.001.00
##0000007.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9B1A
Deuteranopia (green-blind)
#A4943B
Tritanopia (blue-blind)
#57A391
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #5ba92f;
/* rgb */ color: rgb(91, 169, 47);
/* oklch */ color: oklch(66.0% 0.173 136.6);
Tailwind
colors: {
  custom: {
    50: '#90c36f',
    500: '#5ba92f',
    950: '#000000',
  },
}
SCSS
$custom: #5ba92f;
$custom-light: #90c36f;
$custom-dark: #000000;
JSON
{
  "hex": "#5ba92f",
  "rgb": {
    "r": 91,
    "g": 169,
    "b": 47
  },
  "hsl": {
    "h": 98.361,
    "s": 56.481,
    "l": 42.353
  },
  "oklch": {
    "l": 0.66024,
    "c": 0.173,
    "h": 136.6
  },
  "luminance": 0.30805
}

Semantic roles & 50–950 ramp

primary
#5BA92F
secondary
#A572C2
accent
#48E0A9
background
#F9FCF7
surface
#F2F8ED
border
#CCD1C8
text
#0D1208
muted
#7E817B

Preview Lab

Preview with #5BA92F

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

Preview Lab → · Contrast checker → · Palette generator →

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