#5BA62D#5BA62D

#5BA62D is a light, vivid yellow-green. Relative luminance 0.297; OKLCH L 65.2% C 0.170 H 136.1°. Best body text is #000000 at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#5BA62D
RGBrgb(91, 166, 45)
HSLhsl(97, 57%, 41%)
HSVhsv(97, 73%, 65%)
CMYKcmyk(45.2%, 0%, 72.9%, 34.9%)
CIE-LABlab(61.38, -44.17, 52.39)
CIE-LCHlch(61.38, 68.52, 130.14°)
OKLaboklab(65.23% -0.1229 0.1182)
OKLCHoklch(65.23% 0.17 136.1)
XYZxyz(18.4238, 29.6849, 7.2411)
Luminance0.2969 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5BA62D #782DA6
analogous
#98A62D #5BA62D #2DA63C
triadic
#5BA62D #2D5BA6 #A62D5B
tetradic
#5BA62D #2D98A6 #782DA6 #A63C2D
square
#5BA62D #2D98A6 #782DA6 #A63C2D
split-complementary
#5BA62D #3C2DA6 #A62D98
monochromatic
#264613 #417620 #5BA62D #78CC44 #9BD974

Accessibility & contrast

On white

3.03
#5BA62D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.94
#5BA62D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5BA62D
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5BA62D#FFFFFF#000000##000000
##5BA62D1.003.036.946.94
#FFFFFF3.031.0021.0021.00
#0000006.9421.001.001.00
##0000006.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC9818
Deuteranopia (green-blind)
#A29239
Tritanopia (blue-blind)
#58A08E
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #5ba62d;
/* rgb */ color: rgb(91, 166, 45);
/* oklch */ color: oklch(65.2% 0.170 136.1);
Tailwind
colors: {
  custom: {
    50: '#90c16e',
    500: '#5ba62d',
    950: '#000000',
  },
}
SCSS
$custom: #5ba62d;
$custom-light: #90c16e;
$custom-dark: #000000;
JSON
{
  "hex": "#5ba62d",
  "rgb": {
    "r": 91,
    "g": 166,
    "b": 45
  },
  "hsl": {
    "h": 97.19,
    "s": 57.346,
    "l": 41.373
  },
  "oklch": {
    "l": 0.65232,
    "c": 0.17048,
    "h": 136.1
  },
  "luminance": 0.29686
}

Semantic roles & 50–950 ramp

primary
#5BA62D
secondary
#A16EC1
accent
#47E1A6
background
#F9FBF6
surface
#F2F7EC
border
#CCD0C7
text
#0D1208
muted
#7E817B

Preview Lab

Preview with #5BA62D

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

Preview Lab → · Contrast checker → · Palette generator →

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