#5B9023#5B9023

#5B9023 is a mid, vivid yellow-green. Relative luminance 0.223; OKLCH L 59.4% C 0.148 H 132.3°. Best body text is #000000 at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#5B9023
RGBrgb(91, 144, 35)
HSLhsl(89, 61%, 35%)
HSVhsv(89, 76%, 56%)
CMYKcmyk(36.8%, 0%, 75.7%, 43.5%)
CIE-LABlab(54.33, -35.45, 49.06)
CIE-LCHlch(54.33, 60.53, 125.85°)
OKLaboklab(59.44% -0.1 0.1097)
OKLCHoklch(59.44% 0.148 132.3)
XYZxyz(14.5908, 22.2914, 5.1237)
Luminance0.2229 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B9023 #582390
analogous
#908E23 #5B9023 #259023
triadic
#5B9023 #235B90 #90235B
tetradic
#5B9023 #23908E #582390 #902325
square
#5B9023 #23908E #582390 #902325
split-complementary
#5B9023 #232590 #8E2390
monochromatic
#1D2E0B #3C5F17 #5B9023 #7AC12F #98D657

Accessibility & contrast

On white

3.85
#5B9023 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.46
#5B9023 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B9023
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B9023#FFFFFF#000000##000000
##5B90231.003.855.465.46
#FFFFFF3.851.0021.0021.00
#0000005.4621.001.001.00
##0000005.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#96850D
Deuteranopia (green-blind)
#8F802E
Tritanopia (blue-blind)
#5C8A7B
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #5b9023;
/* rgb */ color: rgb(91, 144, 35);
/* oklch */ color: oklch(59.4% 0.148 132.3);
Tailwind
colors: {
  custom: {
    50: '#8eb166',
    500: '#5b9023',
    950: '#000000',
  },
}
SCSS
$custom: #5b9023;
$custom-light: #8eb166;
$custom-dark: #000000;
JSON
{
  "hex": "#5b9023",
  "rgb": {
    "r": 91,
    "g": 144,
    "b": 35
  },
  "hsl": {
    "h": 89.174,
    "s": 60.894,
    "l": 35.098
  },
  "oklch": {
    "l": 0.59442,
    "c": 0.14845,
    "h": 132.3
  },
  "luminance": 0.22292
}

Semantic roles & 50–950 ramp

primary
#5B9023
secondary
#8654BA
accent
#44E492
background
#F9FAF6
surface
#F1F5EB
border
#CBCFC6
text
#0D1006
muted
#7E7F7A

Preview Lab

Preview with #5B9023

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

Preview Lab → · Contrast checker → · Palette generator →

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