#5B9723#5B9723

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

Color values

HEX#5B9723
RGBrgb(91, 151, 35)
HSLhsl(91, 62%, 36%)
HSVhsv(91, 77%, 59%)
CMYKcmyk(39.7%, 0%, 76.8%, 40.8%)
CIE-LABlab(56.56, -38.52, 51.23)
CIE-LCHlch(56.56, 64.10, 126.94°)
OKLaboklab(61.26% -0.1083 0.1143)
OKLCHoklch(61.26% 0.157 133.5)
XYZxyz(15.6841, 24.4780, 5.4881)
Luminance0.2448 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B9723 #5F2397
analogous
#959723 #5B9723 #239725
triadic
#5B9723 #235B97 #97235B
tetradic
#5B9723 #239597 #5F2397 #972523
square
#5B9723 #239597 #5F2397 #972523
split-complementary
#5B9723 #252397 #972395
monochromatic
#1F340C #3D6517 #5B9723 #79C92F #98D95B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5B9723#FFFFFF#000000##000000
##5B97231.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)
#9D8B08
Deuteranopia (green-blind)
#95862F
Tritanopia (blue-blind)
#5B9181
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #5b9723;
/* rgb */ color: rgb(91, 151, 35);
/* oklch */ color: oklch(61.3% 0.157 133.5);
Tailwind
colors: {
  custom: {
    50: '#8fb667',
    500: '#5b9723',
    950: '#000000',
  },
}
SCSS
$custom: #5b9723;
$custom-light: #8fb667;
$custom-dark: #000000;
JSON
{
  "hex": "#5b9723",
  "rgb": {
    "r": 91,
    "g": 151,
    "b": 35
  },
  "hsl": {
    "h": 91.034,
    "s": 62.366,
    "l": 36.471
  },
  "oklch": {
    "l": 0.61264,
    "c": 0.15745,
    "h": 133.5
  },
  "luminance": 0.24479
}

Semantic roles & 50–950 ramp

primary
#5B9723
secondary
#8D58BE
accent
#42E597
background
#F9FBF6
surface
#F1F6EB
border
#CBD0C6
text
#0D1106
muted
#7E807A

Preview Lab

Preview with #5B9723

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

Preview Lab → · Contrast checker → · Palette generator →

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