#5B9534#5B9534

#5B9534 is a mid, vivid yellow-green. Relative luminance 0.240; OKLCH L 60.9% C 0.143 H 134.9°. Best body text is #000000 at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#5B9534
RGBrgb(91, 149, 52)
HSLhsl(96, 48%, 39%)
HSVhsv(96, 65%, 58%)
CMYKcmyk(38.9%, 0%, 65.1%, 41.6%)
CIE-LABlab(56.05, -36.35, 43.93)
CIE-LCHlch(56.05, 57.02, 129.60°)
OKLaboklab(60.89% -0.1011 0.1013)
OKLCHoklch(60.89% 0.143 134.9)
XYZxyz(15.6813, 23.9662, 7.0478)
Luminance0.2397 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B9534 #6E3495
analogous
#8C9534 #5B9534 #34953D
triadic
#5B9534 #345B95 #95345B
tetradic
#5B9534 #348C95 #6E3495 #953D34
square
#5B9534 #348C95 #6E3495 #953D34
split-complementary
#5B9534 #3D3495 #95348C
monochromatic
#243A14 #3F6824 #5B9534 #77BF47 #99CF75

Accessibility & contrast

On white

3.62
#5B9534 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.79
#5B9534 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B9534
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B9534#FFFFFF#000000##000000
##5B95341.003.625.795.79
#FFFFFF3.621.0021.0021.00
#0000005.7921.001.001.00
##0000005.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8928
Deuteranopia (green-blind)
#92853C
Tritanopia (blue-blind)
#5A8F81
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #5b9534;
/* rgb */ color: rgb(91, 149, 52);
/* oklch */ color: oklch(60.9% 0.143 134.9);
Tailwind
colors: {
  custom: {
    50: '#8eb470',
    500: '#5b9534',
    950: '#000000',
  },
}
SCSS
$custom: #5b9534;
$custom-light: #8eb470;
$custom-dark: #000000;
JSON
{
  "hex": "#5b9534",
  "rgb": {
    "r": 91,
    "g": 149,
    "b": 52
  },
  "hsl": {
    "h": 95.876,
    "s": 48.259,
    "l": 39.412
  },
  "oklch": {
    "l": 0.60888,
    "c": 0.14315,
    "h": 134.9
  },
  "luminance": 0.23967
}

Semantic roles & 50–950 ramp

primary
#5B9534
secondary
#9A6EB7
accent
#50D8A1
background
#F9FBF6
surface
#F1F6EC
border
#CBD0C7
text
#0D1108
muted
#7E807B

Preview Lab

Preview with #5B9534

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

Preview Lab → · Contrast checker → · Palette generator →

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