#5B9725#5B9725

#5B9725 is a mid, vivid yellow-green. Relative luminance 0.245; OKLCH L 61.3% C 0.156 H 133.6°. Best body text is #000000 at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#5B9725
RGBrgb(91, 151, 37)
HSLhsl(92, 61%, 37%)
HSVhsv(92, 75%, 59%)
CMYKcmyk(39.7%, 0%, 75.5%, 40.8%)
CIE-LABlab(56.58, -38.40, 50.54)
CIE-LCHlch(56.58, 63.47, 127.23°)
OKLaboklab(61.28% -0.1078 0.1131)
OKLCHoklch(61.28% 0.156 133.6)
XYZxyz(15.7147, 24.4902, 5.6490)
Luminance0.2449 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B9725 #612597
analogous
#949725 #5B9725 #259728
triadic
#5B9725 #255B97 #97255B
tetradic
#5B9725 #259497 #612597 #972825
square
#5B9725 #259497 #612597 #972825
split-complementary
#5B9725 #282597 #972594
monochromatic
#20350D #3D6619 #5B9725 #79C831 #98D85F

Accessibility & contrast

On white

3.56
#5B9725 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.90
#5B9725 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B9725
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B9725#FFFFFF#000000##000000
##5B97251.003.565.905.90
#FFFFFF3.561.0021.0021.00
#0000005.9021.001.001.00
##0000005.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#9D8B0D
Deuteranopia (green-blind)
#958630
Tritanopia (blue-blind)
#5B9181
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #5b9725;
/* rgb */ color: rgb(91, 151, 37);
/* oklch */ color: oklch(61.3% 0.156 133.6);
Tailwind
colors: {
  custom: {
    50: '#8fb668',
    500: '#5b9725',
    950: '#000000',
  },
}
SCSS
$custom: #5b9725;
$custom-light: #8fb668;
$custom-dark: #000000;
JSON
{
  "hex": "#5b9725",
  "rgb": {
    "r": 91,
    "g": 151,
    "b": 37
  },
  "hsl": {
    "h": 91.579,
    "s": 60.638,
    "l": 36.863
  },
  "oklch": {
    "l": 0.61277,
    "c": 0.15629,
    "h": 133.6
  },
  "luminance": 0.24491
}

Semantic roles & 50–950 ramp

primary
#5B9725
secondary
#8E5BBD
accent
#44E498
background
#F9FBF6
surface
#F1F6EB
border
#CBD0C6
text
#0D1107
muted
#7E807A

Preview Lab

Preview with #5B9725

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

Preview Lab → · Contrast checker → · Palette generator →

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