#5B9529#5B9529

#5B9529 is a mid, vivid yellow-green. Relative luminance 0.239; OKLCH L 60.8% C 0.151 H 133.7°. Best body text is #000000 at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#5B9529
RGBrgb(91, 149, 41)
HSLhsl(92, 57%, 37%)
HSVhsv(92, 72%, 58%)
CMYKcmyk(38.9%, 0%, 72.5%, 41.6%)
CIE-LABlab(55.97, -37.25, 48.43)
CIE-LCHlch(55.97, 61.10, 127.57°)
OKLaboklab(60.79% -0.1044 0.1093)
OKLCHoklch(60.79% 0.151 133.7)
XYZxyz(15.4618, 23.8784, 5.8917)
Luminance0.2388 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B9529 #632995
analogous
#919529 #5B9529 #29952D
triadic
#5B9529 #295B95 #95295B
tetradic
#5B9529 #299195 #632995 #952D29
square
#5B9529 #299195 #632995 #952D29
split-complementary
#5B9529 #2D2995 #952991
monochromatic
#20350F #3E651C #5B9529 #78C536 #98D464

Accessibility & contrast

On white

3.64
#5B9529 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.78
#5B9529 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B9529
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B9529#FFFFFF#000000##000000
##5B95291.003.645.785.78
#FFFFFF3.641.0021.0021.00
#0000005.7821.001.001.00
##0000005.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B8917
Deuteranopia (green-blind)
#938433
Tritanopia (blue-blind)
#5B8F80
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #5b9529;
/* rgb */ color: rgb(91, 149, 41);
/* oklch */ color: oklch(60.8% 0.151 133.7);
Tailwind
colors: {
  custom: {
    50: '#8eb46a',
    500: '#5b9529',
    950: '#000000',
  },
}
SCSS
$custom: #5b9529;
$custom-light: #8eb46a;
$custom-dark: #000000;
JSON
{
  "hex": "#5b9529",
  "rgb": {
    "r": 91,
    "g": 149,
    "b": 41
  },
  "hsl": {
    "h": 92.222,
    "s": 56.842,
    "l": 37.255
  },
  "oklch": {
    "l": 0.60788,
    "c": 0.15118,
    "h": 133.7
  },
  "luminance": 0.23879
}

Semantic roles & 50–950 ramp

primary
#5B9529
secondary
#9060BA
accent
#48E09A
background
#F9FBF6
surface
#F1F6EB
border
#CBD0C6
text
#0D1107
muted
#7E807A

Preview Lab

Preview with #5B9529

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

Preview Lab → · Contrast checker → · Palette generator →

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