#5B9B29#5B9B29

#5B9B29 is a light, vivid yellow-green. Relative luminance 0.258; OKLCH L 62.3% C 0.159 H 134.5°. Best body text is #000000 at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#5B9B29
RGBrgb(91, 155, 41)
HSLhsl(94, 58%, 38%)
HSVhsv(94, 74%, 61%)
CMYKcmyk(41.3%, 0%, 73.5%, 39.2%)
CIE-LABlab(57.87, -39.85, 50.35)
CIE-LCHlch(57.87, 64.22, 128.36°)
OKLaboklab(62.35% -0.1115 0.1133)
OKLCHoklch(62.35% 0.159 134.5)
XYZxyz(16.4356, 25.8261, 6.2163)
Luminance0.2583 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B9B29 #69299B
analogous
#949B29 #5B9B29 #299B30
triadic
#5B9B29 #295B9B #9B295B
tetradic
#5B9B29 #29949B #69299B #9B3029
square
#5B9B29 #29949B #69299B #9B3029
split-complementary
#5B9B29 #30299B #9B2994
monochromatic
#223A0F #3F6B1C #5B9B29 #78CA37 #98D767

Accessibility & contrast

On white

3.41
#5B9B29 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.17
#5B9B29 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B9B29
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B9B29#FFFFFF#000000##000000
##5B9B291.003.416.176.17
#FFFFFF3.411.0021.0021.00
#0000006.1721.001.001.00
##0000006.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A18E14
Deuteranopia (green-blind)
#988934
Tritanopia (blue-blind)
#5A9585
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #5b9b29;
/* rgb */ color: rgb(91, 155, 41);
/* oklch */ color: oklch(62.3% 0.159 134.5);
Tailwind
colors: {
  custom: {
    50: '#8fb96a',
    500: '#5b9b29',
    950: '#000000',
  },
}
SCSS
$custom: #5b9b29;
$custom-light: #8fb96a;
$custom-dark: #000000;
JSON
{
  "hex": "#5b9b29",
  "rgb": {
    "r": 91,
    "g": 155,
    "b": 41
  },
  "hsl": {
    "h": 93.684,
    "s": 58.163,
    "l": 38.431
  },
  "oklch": {
    "l": 0.62346,
    "c": 0.15898,
    "h": 134.5
  },
  "luminance": 0.25827
}

Semantic roles & 50–950 ramp

primary
#5B9B29
secondary
#9563BD
accent
#46E19D
background
#F9FBF6
surface
#F1F6EB
border
#CBD0C6
text
#0D1107
muted
#7E807A

Preview Lab

Preview with #5B9B29

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

Preview Lab → · Contrast checker → · Palette generator →

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