#5B9028#5B9028

#5B9028 is a mid, vivid yellow-green. Relative luminance 0.223; OKLCH L 59.5% C 0.145 H 132.8°. Best body text is #000000 at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#5B9028
RGBrgb(91, 144, 40)
HSLhsl(91, 57%, 36%)
HSVhsv(91, 72%, 56%)
CMYKcmyk(36.8%, 0%, 72.2%, 43.5%)
CIE-LABlab(54.37, -35.10, 47.20)
CIE-LCHlch(54.37, 58.82, 126.64°)
OKLaboklab(59.48% -0.0987 0.1066)
OKLCHoklch(59.48% 0.145 132.8)
XYZxyz(14.6704, 22.3232, 5.5429)
Luminance0.2232 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B9028 #5D2890
analogous
#8F9028 #5B9028 #289029
triadic
#5B9028 #285B90 #90285B
tetradic
#5B9028 #288F90 #5D2890 #902928
square
#5B9028 #288F90 #5D2890 #902928
split-complementary
#5B9028 #292890 #90288F
monochromatic
#1E300D #3D601B #5B9028 #79C035 #98D360

Accessibility & contrast

On white

3.84
#5B9028 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.46
#5B9028 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B9028
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B9028#FFFFFF#000000##000000
##5B90281.003.845.465.46
#FFFFFF3.841.0021.0021.00
#0000005.4621.001.001.00
##0000005.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#968517
Deuteranopia (green-blind)
#8F8131
Tritanopia (blue-blind)
#5C8A7B
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #5b9028;
/* rgb */ color: rgb(91, 144, 40);
/* oklch */ color: oklch(59.5% 0.145 132.8);
Tailwind
colors: {
  custom: {
    50: '#8eb169',
    500: '#5b9028',
    950: '#000000',
  },
}
SCSS
$custom: #5b9028;
$custom-light: #8eb169;
$custom-dark: #000000;
JSON
{
  "hex": "#5b9028",
  "rgb": {
    "r": 91,
    "g": 144,
    "b": 40
  },
  "hsl": {
    "h": 90.577,
    "s": 56.522,
    "l": 36.078
  },
  "oklch": {
    "l": 0.5948,
    "c": 0.14526,
    "h": 132.8
  },
  "luminance": 0.22324
}

Semantic roles & 50–950 ramp

primary
#5B9028
secondary
#8B5CB8
accent
#48E095
background
#F9FAF6
surface
#F1F5EB
border
#CBCFC6
text
#0D1007
muted
#7E7F7A

Preview Lab

Preview with #5B9028

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

Preview Lab → · Contrast checker → · Palette generator →

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