#5B9925#5B9925

#5B9925 is a mid, vivid yellow-green. Relative luminance 0.251; OKLCH L 61.8% C 0.159 H 133.9°. Best body text is #000000 at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#5B9925
RGBrgb(91, 153, 37)
HSLhsl(92, 61%, 37%)
HSVhsv(92, 76%, 60%)
CMYKcmyk(40.5%, 0%, 75.8%, 40%)
CIE-LABlab(57.21, -39.26, 51.16)
CIE-LCHlch(57.21, 64.49, 127.50°)
OKLaboklab(61.8% -0.1102 0.1144)
OKLCHoklch(61.8% 0.159 133.9)
XYZxyz(16.0393, 25.1394, 5.7572)
Luminance0.2514 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B9925 #632599
analogous
#959925 #5B9925 #259929
triadic
#5B9925 #255B99 #99255B
tetradic
#5B9925 #259599 #632599 #992925
square
#5B9925 #259599 #632599 #992925
split-complementary
#5B9925 #292599 #992595
monochromatic
#20360D #3E6819 #5B9925 #78CA31 #98D960

Accessibility & contrast

On white

3.48
#5B9925 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.03
#5B9925 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B9925
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B9925#FFFFFF#000000##000000
##5B99251.003.486.036.03
#FFFFFF3.481.0021.0021.00
#0000006.0321.001.001.00
##0000006.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F8C0C
Deuteranopia (green-blind)
#978831
Tritanopia (blue-blind)
#5B9383
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #5b9925;
/* rgb */ color: rgb(91, 153, 37);
/* oklch */ color: oklch(61.8% 0.159 133.9);
Tailwind
colors: {
  custom: {
    50: '#8fb768',
    500: '#5b9925',
    950: '#000000',
  },
}
SCSS
$custom: #5b9925;
$custom-light: #8fb768;
$custom-dark: #000000;
JSON
{
  "hex": "#5b9925",
  "rgb": {
    "r": 91,
    "g": 153,
    "b": 37
  },
  "hsl": {
    "h": 92.069,
    "s": 61.053,
    "l": 37.255
  },
  "oklch": {
    "l": 0.61798,
    "c": 0.15884,
    "h": 133.9
  },
  "luminance": 0.2514
}

Semantic roles & 50–950 ramp

primary
#5B9925
secondary
#905CBE
accent
#44E499
background
#F9FBF6
surface
#F1F6EB
border
#CBD0C6
text
#0D1107
muted
#7E807A

Preview Lab

Preview with #5B9925

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

Preview Lab → · Contrast checker → · Palette generator →

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