#5B9423#5B9423

#5B9423 is a mid, vivid yellow-green. Relative luminance 0.235; OKLCH L 60.5% C 0.154 H 133.0°. Best body text is #000000 at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#5B9423
RGBrgb(91, 148, 35)
HSLhsl(90, 62%, 36%)
HSVhsv(90, 76%, 58%)
CMYKcmyk(38.5%, 0%, 76.4%, 42%)
CIE-LABlab(55.61, -37.22, 50.30)
CIE-LCHlch(55.61, 62.58, 126.50°)
OKLaboklab(60.48% -0.1048 0.1123)
OKLCHoklch(60.48% 0.154 133)
XYZxyz(15.2074, 23.5246, 5.3292)
Luminance0.2352 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B9423 #5C2394
analogous
#939423 #5B9423 #239423
triadic
#5B9423 #235B94 #94235B
tetradic
#5B9423 #239394 #5C2394 #942323
square
#5B9423 #239394 #5C2394 #942323
split-complementary
#5B9423 #232394 #942393
monochromatic
#1E310C #3D6317 #5B9423 #79C52F #98D85A

Accessibility & contrast

On white

3.68
#5B9423 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.71
#5B9423 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B9423
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B9423#FFFFFF#000000##000000
##5B94231.003.685.715.71
#FFFFFF3.681.0021.0021.00
#0000005.7121.001.001.00
##0000005.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A880A
Deuteranopia (green-blind)
#92842E
Tritanopia (blue-blind)
#5B8E7E
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #5b9423;
/* rgb */ color: rgb(91, 148, 35);
/* oklch */ color: oklch(60.5% 0.154 133.0);
Tailwind
colors: {
  custom: {
    50: '#8eb467',
    500: '#5b9423',
    950: '#000000',
  },
}
SCSS
$custom: #5b9423;
$custom-light: #8eb467;
$custom-dark: #000000;
JSON
{
  "hex": "#5b9423",
  "rgb": {
    "r": 91,
    "g": 148,
    "b": 35
  },
  "hsl": {
    "h": 90.265,
    "s": 61.749,
    "l": 35.882
  },
  "oklch": {
    "l": 0.60483,
    "c": 0.15362,
    "h": 133
  },
  "luminance": 0.23525
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5B9423

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

Preview Lab → · Contrast checker → · Palette generator →

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