#5B9625#5B9625

#5B9625 is a mid, vivid yellow-green. Relative luminance 0.242; OKLCH L 61.0% C 0.155 H 133.5°. Best body text is #000000 at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#5B9625
RGBrgb(91, 150, 37)
HSLhsl(91, 60%, 37%)
HSVhsv(91, 75%, 59%)
CMYKcmyk(39.3%, 0%, 75.3%, 41.2%)
CIE-LABlab(56.26, -37.96, 50.22)
CIE-LCHlch(56.26, 62.96, 127.09°)
OKLaboklab(61.02% -0.1067 0.1125)
OKLCHoklch(61.02% 0.155 133.5)
XYZxyz(15.5544, 24.1697, 5.5956)
Luminance0.2417 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B9625 #602596
analogous
#949625 #5B9625 #259627
triadic
#5B9625 #255B96 #96255B
tetradic
#5B9625 #259496 #602596 #962725
square
#5B9625 #259496 #602596 #962725
split-complementary
#5B9625 #272596 #962594
monochromatic
#1F340D #3D6519 #5B9625 #79C731 #98D75E

Accessibility & contrast

On white

3.60
#5B9625 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.83
#5B9625 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B9625
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B9625#FFFFFF#000000##000000
##5B96251.003.605.835.83
#FFFFFF3.601.0021.0021.00
#0000005.8321.001.001.00
##0000005.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C8A0E
Deuteranopia (green-blind)
#948530
Tritanopia (blue-blind)
#5B9080
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #5b9625;
/* rgb */ color: rgb(91, 150, 37);
/* oklch */ color: oklch(61.0% 0.155 133.5);
Tailwind
colors: {
  custom: {
    50: '#8eb568',
    500: '#5b9625',
    950: '#000000',
  },
}
SCSS
$custom: #5b9625;
$custom-light: #8eb568;
$custom-dark: #000000;
JSON
{
  "hex": "#5b9625",
  "rgb": {
    "r": 91,
    "g": 150,
    "b": 37
  },
  "hsl": {
    "h": 91.327,
    "s": 60.428,
    "l": 36.667
  },
  "oklch": {
    "l": 0.61017,
    "c": 0.15501,
    "h": 133.5
  },
  "luminance": 0.2417
}

Semantic roles & 50–950 ramp

primary
#5B9625
secondary
#8E5BBC
accent
#44E497
background
#F9FBF6
surface
#F1F6EB
border
#CBD0C6
text
#0D1106
muted
#7E807A

Preview Lab

Preview with #5B9625

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

Preview Lab → · Contrast checker → · Palette generator →

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