#5B8923#5B8923

#5B8923 is a mid, vivid yellow-green. Relative luminance 0.202; OKLCH L 57.6% C 0.139 H 131.0°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#5B8923
RGBrgb(91, 137, 35)
HSLhsl(87, 59%, 34%)
HSVhsv(87, 74%, 54%)
CMYKcmyk(33.6%, 0%, 74.5%, 46.3%)
CIE-LABlab(52.10, -32.27, 46.86)
CIE-LCHlch(52.10, 56.89, 124.55°)
OKLaboklab(57.62% -0.0914 0.1051)
OKLCHoklch(57.62% 0.139 131)
XYZxyz(13.5633, 20.2363, 4.7812)
Luminance0.2024 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B8923 #512389
analogous
#898423 #5B8923 #288923
triadic
#5B8923 #235B89 #89235B
tetradic
#5B8923 #238984 #512389 #892328
square
#5B8923 #238984 #512389 #892328
split-complementary
#5B8923 #232889 #842389
monochromatic
#1A280A #3B5817 #5B8923 #7BBA2F #99D353

Accessibility & contrast

On white

4.16
#5B8923 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#5B8923 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B8923
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B8923#FFFFFF#000000##000000
##5B89231.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7E10
Deuteranopia (green-blind)
#897B2D
Tritanopia (blue-blind)
#5D8375
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #5b8923;
/* rgb */ color: rgb(91, 137, 35);
/* oklch */ color: oklch(57.6% 0.139 131.0);
Tailwind
colors: {
  custom: {
    50: '#8dab65',
    500: '#5b8923',
    950: '#000000',
  },
}
SCSS
$custom: #5b8923;
$custom-light: #8dab65;
$custom-dark: #000000;
JSON
{
  "hex": "#5b8923",
  "rgb": {
    "r": 91,
    "g": 137,
    "b": 35
  },
  "hsl": {
    "h": 87.059,
    "s": 59.302,
    "l": 33.725
  },
  "oklch": {
    "l": 0.57622,
    "c": 0.13928,
    "h": 131
  },
  "luminance": 0.20237
}

Semantic roles & 50–950 ramp

primary
#5B8923
secondary
#7F51B7
accent
#45E28C
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0D1006
muted
#7D7F7A

Preview Lab

Preview with #5B8923

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

Preview Lab → · Contrast checker → · Palette generator →

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