#5BA532#5BA532

#5BA532 is a light, vivid yellow-green. Relative luminance 0.294; OKLCH L 65.0% C 0.166 H 136.5°. Best body text is #000000 at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#5BA532
RGBrgb(91, 165, 50)
HSLhsl(99, 53%, 42%)
HSVhsv(99, 70%, 65%)
CMYKcmyk(44.8%, 0%, 69.7%, 35.3%)
CIE-LABlab(61.10, -43.38, 50.16)
CIE-LCHlch(61.10, 66.32, 130.85°)
OKLaboklab(65.01% -0.1204 0.1142)
OKLCHoklch(65.01% 0.166 136.5)
XYZxyz(18.3447, 29.3636, 7.7181)
Luminance0.2937 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5BA532 #7C32A5
analogous
#94A532 #5BA532 #32A543
triadic
#5BA532 #325BA5 #A5325B
tetradic
#5BA532 #3294A5 #7C32A5 #A54332
square
#5BA532 #3294A5 #7C32A5 #A54332
split-complementary
#5BA532 #4332A5 #A53294
monochromatic
#274716 #417624 #5BA532 #78C94C #9BD77B

Accessibility & contrast

On white

3.06
#5BA532 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.87
#5BA532 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5BA532
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5BA532#FFFFFF#000000##000000
##5BA5321.003.066.876.87
#FFFFFF3.061.0021.0021.00
#0000006.8721.001.001.00
##0000006.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB9721
Deuteranopia (green-blind)
#A1913C
Tritanopia (blue-blind)
#589F8E
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #5ba532;
/* rgb */ color: rgb(91, 165, 50);
/* oklch */ color: oklch(65.0% 0.166 136.5);
Tailwind
colors: {
  custom: {
    50: '#90c070',
    500: '#5ba532',
    950: '#000000',
  },
}
SCSS
$custom: #5ba532;
$custom-light: #90c070;
$custom-dark: #000000;
JSON
{
  "hex": "#5ba532",
  "rgb": {
    "r": 91,
    "g": 165,
    "b": 50
  },
  "hsl": {
    "h": 98.609,
    "s": 53.488,
    "l": 42.157
  },
  "oklch": {
    "l": 0.65013,
    "c": 0.16593,
    "h": 136.5
  },
  "luminance": 0.29365
}

Semantic roles & 50–950 ramp

primary
#5BA532
secondary
#A473BF
accent
#4BDDA9
background
#F9FBF7
surface
#F1F7ED
border
#CBD0C8
text
#0D1208
muted
#7E817B

Preview Lab

Preview with #5BA532

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

Preview Lab → · Contrast checker → · Palette generator →

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