#5B9729#5B9729

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

Color values

HEX#5B9729
RGBrgb(91, 151, 41)
HSLhsl(93, 57%, 38%)
HSVhsv(93, 73%, 59%)
CMYKcmyk(39.7%, 0%, 72.8%, 40.8%)
CIE-LABlab(56.60, -38.13, 49.08)
CIE-LCHlch(56.60, 62.15, 127.84°)
OKLaboklab(61.31% -0.1068 0.1107)
OKLCHoklch(61.31% 0.154 134)
XYZxyz(15.7809, 24.5167, 5.9981)
Luminance0.2452 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B9729 #652997
analogous
#929729 #5B9729 #29972E
triadic
#5B9729 #295B97 #97295B
tetradic
#5B9729 #299297 #652997 #972E29
square
#5B9729 #299297 #652997 #972E29
split-complementary
#5B9729 #2E2997 #972992
monochromatic
#21370F #3E671C #5B9729 #78C736 #98D565

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5B9729#FFFFFF#000000##000000
##5B97291.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)
#9D8B16
Deuteranopia (green-blind)
#958633
Tritanopia (blue-blind)
#5B9181
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #5b9729;
/* rgb */ color: rgb(91, 151, 41);
/* oklch */ color: oklch(61.3% 0.154 134.0);
Tailwind
colors: {
  custom: {
    50: '#8eb66a',
    500: '#5b9729',
    950: '#000000',
  },
}
SCSS
$custom: #5b9729;
$custom-light: #8eb66a;
$custom-dark: #000000;
JSON
{
  "hex": "#5b9729",
  "rgb": {
    "r": 91,
    "g": 151,
    "b": 41
  },
  "hsl": {
    "h": 92.727,
    "s": 57.292,
    "l": 37.647
  },
  "oklch": {
    "l": 0.61307,
    "c": 0.1538,
    "h": 134
  },
  "luminance": 0.24517
}

Semantic roles & 50–950 ramp

primary
#5B9729
secondary
#9261BB
accent
#47E19B
background
#F9FBF6
surface
#F1F6EB
border
#CBD0C6
text
#0D1107
muted
#7E807A

Preview Lab

Preview with #5B9729

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

Preview Lab → · Contrast checker → · Palette generator →

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