#5BA62E#5BA62E

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

Color values

HEX#5BA62E
RGBrgb(91, 166, 46)
HSLhsl(98, 57%, 42%)
HSVhsv(98, 72%, 65%)
CMYKcmyk(45.2%, 0%, 72.3%, 34.9%)
CIE-LABlab(61.39, -44.10, 52.02)
CIE-LCHlch(61.39, 68.20, 130.29°)
OKLaboklab(65.24% -0.1226 0.1175)
OKLCHoklch(65.24% 0.17 136.2)
XYZxyz(18.4433, 29.6927, 7.3437)
Luminance0.2969 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5BA62E #792EA6
analogous
#97A62E #5BA62E #2EA63D
triadic
#5BA62E #2E5BA6 #A62E5B
tetradic
#5BA62E #2E97A6 #792EA6 #A63D2E
square
#5BA62E #2E97A6 #792EA6 #A63D2E
split-complementary
#5BA62E #3D2EA6 #A62E97
monochromatic
#264613 #417621 #5BA62E #78CC46 #9BD976

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5BA62E#FFFFFF#000000##000000
##5BA62E1.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)
#AC9819
Deuteranopia (green-blind)
#A29239
Tritanopia (blue-blind)
#58A08E
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #5ba62e;
/* rgb */ color: rgb(91, 166, 46);
/* oklch */ color: oklch(65.2% 0.170 136.2);
Tailwind
colors: {
  custom: {
    50: '#90c16e',
    500: '#5ba62e',
    950: '#000000',
  },
}
SCSS
$custom: #5ba62e;
$custom-light: #90c16e;
$custom-dark: #000000;
JSON
{
  "hex": "#5ba62e",
  "rgb": {
    "r": 91,
    "g": 166,
    "b": 46
  },
  "hsl": {
    "h": 97.5,
    "s": 56.604,
    "l": 41.569
  },
  "oklch": {
    "l": 0.65239,
    "c": 0.16986,
    "h": 136.2
  },
  "luminance": 0.29694
}

Semantic roles & 50–950 ramp

primary
#5BA62E
secondary
#A26FC1
accent
#48E0A7
background
#F9FBF6
surface
#F2F7EC
border
#CCD0C7
text
#0D1208
muted
#7E817B

Preview Lab

Preview with #5BA62E

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

Preview Lab → · Contrast checker → · Palette generator →

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