#5B9934#5B9934

#5B9934 is a mid, vivid yellow-green. Relative luminance 0.253; OKLCH L 61.9% C 0.149 H 135.5°. Best body text is #000000 at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#5B9934
RGBrgb(91, 153, 52)
HSLhsl(97, 49%, 40%)
HSVhsv(97, 66%, 60%)
CMYKcmyk(40.5%, 0%, 66%, 40%)
CIE-LABlab(57.32, -38.11, 45.31)
CIE-LCHlch(57.32, 59.20, 130.07°)
OKLaboklab(61.92% -0.1059 0.1043)
OKLCHoklch(61.92% 0.149 135.5)
XYZxyz(16.3251, 25.2537, 7.2624)
Luminance0.2525 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B9934 #723499
analogous
#8D9934 #5B9934 #349940
triadic
#5B9934 #345B99 #99345B
tetradic
#5B9934 #348D99 #723499 #994034
square
#5B9934 #348D99 #723499 #994034
split-complementary
#5B9934 #403499 #99348D
monochromatic
#253E15 #406B24 #5B9934 #77C149 #99D177

Accessibility & contrast

On white

3.47
#5B9934 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.05
#5B9934 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B9934
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B9934#FFFFFF#000000##000000
##5B99341.003.476.056.05
#FFFFFF3.471.0021.0021.00
#0000006.0521.001.001.00
##0000006.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#9E8D27
Deuteranopia (green-blind)
#96883C
Tritanopia (blue-blind)
#599384
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #5b9934;
/* rgb */ color: rgb(91, 153, 52);
/* oklch */ color: oklch(61.9% 0.149 135.5);
Tailwind
colors: {
  custom: {
    50: '#8eb770',
    500: '#5b9934',
    950: '#000000',
  },
}
SCSS
$custom: #5b9934;
$custom-light: #8eb770;
$custom-dark: #000000;
JSON
{
  "hex": "#5b9934",
  "rgb": {
    "r": 91,
    "g": 153,
    "b": 52
  },
  "hsl": {
    "h": 96.832,
    "s": 49.268,
    "l": 40.196
  },
  "oklch": {
    "l": 0.61924,
    "c": 0.14861,
    "h": 135.5
  },
  "luminance": 0.25255
}

Semantic roles & 50–950 ramp

primary
#5B9934
secondary
#9D70B9
accent
#4FD9A4
background
#F9FBF7
surface
#F1F6ED
border
#CBD0C8
text
#0D1108
muted
#7E807B

Preview Lab

Preview with #5B9934

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

Preview Lab → · Contrast checker → · Palette generator →

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