#5B9E20#5B9E20

#5B9E20 is a light, vivid yellow-green. Relative luminance 0.268; OKLCH L 63.1% C 0.168 H 134.2°. Best body text is #000000 at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#5B9E20
RGBrgb(91, 158, 32)
HSLhsl(92, 66%, 37%)
HSVhsv(92, 80%, 62%)
CMYKcmyk(42.4%, 0%, 79.7%, 38%)
CIE-LABlab(58.77, -41.68, 54.32)
CIE-LCHlch(58.77, 68.46, 127.50°)
OKLaboklab(63.07% -0.117 0.1203)
OKLCHoklch(63.07% 0.168 134.2)
XYZxyz(16.8016, 26.7812, 5.6502)
Luminance0.2678 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B9E20 #63209E
analogous
#9A9E20 #5B9E20 #209E24
triadic
#5B9E20 #205B9E #9E205B
tetradic
#5B9E20 #209A9E #63209E #9E2420
square
#5B9E20 #209A9E #63209E #9E2420
split-complementary
#5B9E20 #24209E #9E209A
monochromatic
#20380B #3E6B16 #5B9E20 #78D12A #98DE5B

Accessibility & contrast

On white

3.30
#5B9E20 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.36
#5B9E20 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B9E20
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B9E20#FFFFFF#000000##000000
##5B9E201.003.306.366.36
#FFFFFF3.301.0021.0021.00
#0000006.3621.001.001.00
##0000006.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A49100
Deuteranopia (green-blind)
#9B8B2E
Tritanopia (blue-blind)
#5A9887
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #5b9e20;
/* rgb */ color: rgb(91, 158, 32);
/* oklch */ color: oklch(63.1% 0.168 134.2);
Tailwind
colors: {
  custom: {
    50: '#90bb67',
    500: '#5b9e20',
    950: '#000000',
  },
}
SCSS
$custom: #5b9e20;
$custom-light: #90bb67;
$custom-dark: #000000;
JSON
{
  "hex": "#5b9e20",
  "rgb": {
    "r": 91,
    "g": 158,
    "b": 32
  },
  "hsl": {
    "h": 91.905,
    "s": 66.316,
    "l": 37.255
  },
  "oklch": {
    "l": 0.63067,
    "c": 0.16781,
    "h": 134.2
  },
  "luminance": 0.26782
}

Semantic roles & 50–950 ramp

primary
#5B9E20
secondary
#9058C2
accent
#3FE999
background
#F9FBF6
surface
#F1F6EB
border
#CBD0C6
text
#0D1206
muted
#7E817A

Preview Lab

Preview with #5B9E20

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

Preview Lab → · Contrast checker → · Palette generator →

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