#5B9523#5B9523

#5B9523 is a mid, vivid yellow-green. Relative luminance 0.238; OKLCH L 60.7% C 0.155 H 133.2°. Best body text is #000000 at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#5B9523
RGBrgb(91, 149, 35)
HSLhsl(91, 62%, 36%)
HSVhsv(91, 77%, 58%)
CMYKcmyk(38.9%, 0%, 76.5%, 41.6%)
CIE-LABlab(55.93, -37.65, 50.61)
CIE-LCHlch(55.93, 63.08, 126.65°)
OKLaboklab(60.74% -0.106 0.113)
OKLCHoklch(60.74% 0.155 133.2)
XYZxyz(15.3650, 23.8397, 5.3817)
Luminance0.2384 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B9523 #5D2395
analogous
#949523 #5B9523 #239524
triadic
#5B9523 #235B95 #95235B
tetradic
#5B9523 #239495 #5D2395 #952423
square
#5B9523 #239495 #5D2395 #952423
split-complementary
#5B9523 #242395 #952394
monochromatic
#1E320C #3D6317 #5B9523 #79C72F #98D85A

Accessibility & contrast

On white

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

On black

5.77
#5B9523 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B9523
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B9523#FFFFFF#000000##000000
##5B95231.003.645.775.77
#FFFFFF3.641.0021.0021.00
#0000005.7721.001.001.00
##0000005.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B8909
Deuteranopia (green-blind)
#93842F
Tritanopia (blue-blind)
#5B8F7F
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #5b9523;
/* rgb */ color: rgb(91, 149, 35);
/* oklch */ color: oklch(60.7% 0.155 133.2);
Tailwind
colors: {
  custom: {
    50: '#8eb467',
    500: '#5b9523',
    950: '#000000',
  },
}
SCSS
$custom: #5b9523;
$custom-light: #8eb467;
$custom-dark: #000000;
JSON
{
  "hex": "#5b9523",
  "rgb": {
    "r": 91,
    "g": 149,
    "b": 35
  },
  "hsl": {
    "h": 90.526,
    "s": 61.957,
    "l": 36.078
  },
  "oklch": {
    "l": 0.60743,
    "c": 0.1549,
    "h": 133.2
  },
  "luminance": 0.2384
}

Semantic roles & 50–950 ramp

primary
#5B9523
secondary
#8B57BD
accent
#43E595
background
#F9FBF6
surface
#F1F6EB
border
#CBD0C6
text
#0D1106
muted
#7E807A

Preview Lab

Preview with #5B9523

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

Preview Lab → · Contrast checker → · Palette generator →

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