#5B9F20#5B9F20

#5B9F20 is a light, vivid yellow-green. Relative luminance 0.271; OKLCH L 63.3% C 0.169 H 134.3°. Best body text is #000000 at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#5B9F20
RGBrgb(91, 159, 32)
HSLhsl(92, 66%, 37%)
HSVhsv(92, 80%, 62%)
CMYKcmyk(42.8%, 0%, 79.9%, 37.6%)
CIE-LABlab(59.09, -42.10, 54.61)
CIE-LCHlch(59.09, 68.95, 127.62°)
OKLaboklab(63.33% -0.1181 0.1209)
OKLCHoklch(63.33% 0.169 134.3)
XYZxyz(16.9729, 27.1238, 5.7073)
Luminance0.2712 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B9F20 #64209F
analogous
#9A9F20 #5B9F20 #209F25
triadic
#5B9F20 #205B9F #9F205B
tetradic
#5B9F20 #209A9F #64209F #9F2520
square
#5B9F20 #209A9F #64209F #9F2520
split-complementary
#5B9F20 #25209F #9F209A
monochromatic
#21390B #3E6C16 #5B9F20 #78D22A #98DE5B

Accessibility & contrast

On white

3.27
#5B9F20 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.42
#5B9F20 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B9F20
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B9F20#FFFFFF#000000##000000
##5B9F201.003.276.426.42
#FFFFFF3.271.0021.0021.00
#0000006.4221.001.001.00
##0000006.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A59200
Deuteranopia (green-blind)
#9C8C2E
Tritanopia (blue-blind)
#5A9988
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #5b9f20;
/* rgb */ color: rgb(91, 159, 32);
/* oklch */ color: oklch(63.3% 0.169 134.3);
Tailwind
colors: {
  custom: {
    50: '#90bc67',
    500: '#5b9f20',
    950: '#000000',
  },
}
SCSS
$custom: #5b9f20;
$custom-light: #90bc67;
$custom-dark: #000000;
JSON
{
  "hex": "#5b9f20",
  "rgb": {
    "r": 91,
    "g": 159,
    "b": 32
  },
  "hsl": {
    "h": 92.126,
    "s": 66.492,
    "l": 37.451
  },
  "oklch": {
    "l": 0.63327,
    "c": 0.16904,
    "h": 134.3
  },
  "luminance": 0.27125
}

Semantic roles & 50–950 ramp

primary
#5B9F20
secondary
#9159C2
accent
#3EE99A
background
#F9FBF6
surface
#F1F6EB
border
#CBD0C6
text
#0D1206
muted
#7E817A

Preview Lab

Preview with #5B9F20

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

Preview Lab → · Contrast checker → · Palette generator →

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