#5BA125#5BA125

#5BA125 is a light, vivid yellow-green. Relative luminance 0.278; OKLCH L 63.9% C 0.169 H 134.9°. Best body text is #000000 at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#5BA125
RGBrgb(91, 161, 37)
HSLhsl(94, 63%, 39%)
HSVhsv(94, 77%, 63%)
CMYKcmyk(43.5%, 0%, 77%, 36.9%)
CIE-LABlab(59.75, -42.64, 53.62)
CIE-LCHlch(59.75, 68.51, 128.49°)
OKLaboklab(63.88% -0.1193 0.1196)
OKLCHoklch(63.88% 0.169 134.9)
XYZxyz(17.3928, 27.8465, 6.2084)
Luminance0.2785 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5BA125 #6B25A1
analogous
#99A125 #5BA125 #25A12D
triadic
#5BA125 #255BA1 #A1255B
tetradic
#5BA125 #2599A1 #6B25A1 #A12D25
square
#5BA125 #2599A1 #6B25A1 #A12D25
split-complementary
#5BA125 #2D25A1 #A12599
monochromatic
#233D0E #3F6F1A #5BA125 #77D033 #99DC65

Accessibility & contrast

On white

3.20
#5BA125 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.57
#5BA125 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5BA125
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5BA125#FFFFFF#000000##000000
##5BA1251.003.206.576.57
#FFFFFF3.201.0021.0021.00
#0000006.5721.001.001.00
##0000006.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A79406
Deuteranopia (green-blind)
#9E8E32
Tritanopia (blue-blind)
#599B8A
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #5ba125;
/* rgb */ color: rgb(91, 161, 37);
/* oklch */ color: oklch(63.9% 0.169 134.9);
Tailwind
colors: {
  custom: {
    50: '#90bd69',
    500: '#5ba125',
    950: '#000000',
  },
}
SCSS
$custom: #5ba125;
$custom-light: #90bd69;
$custom-dark: #000000;
JSON
{
  "hex": "#5ba125",
  "rgb": {
    "r": 91,
    "g": 161,
    "b": 37
  },
  "hsl": {
    "h": 93.871,
    "s": 62.626,
    "l": 38.824
  },
  "oklch": {
    "l": 0.63877,
    "c": 0.16891,
    "h": 134.9
  },
  "luminance": 0.27847
}

Semantic roles & 50–950 ramp

primary
#5BA125
secondary
#9761C1
accent
#42E69E
background
#F9FBF6
surface
#F1F6EB
border
#CBD0C6
text
#0D1207
muted
#7E817A

Preview Lab

Preview with #5BA125

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

Preview Lab → · Contrast checker → · Palette generator →

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