#5B9F23#5B9F23

#5B9F23 is a light, vivid yellow-green. Relative luminance 0.271; OKLCH L 63.3% C 0.168 H 134.5°. Best body text is #000000 at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#5B9F23
RGBrgb(91, 159, 35)
HSLhsl(93, 64%, 38%)
HSVhsv(93, 78%, 62%)
CMYKcmyk(42.8%, 0%, 78%, 37.6%)
CIE-LABlab(59.10, -41.93, 53.67)
CIE-LCHlch(59.10, 68.11, 128.00°)
OKLaboklab(63.35% -0.1175 0.1194)
OKLCHoklch(63.35% 0.168 134.5)
XYZxyz(17.0156, 27.1408, 5.9319)
Luminance0.2714 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B9F23 #67239F
analogous
#999F23 #5B9F23 #239F29
triadic
#5B9F23 #235B9F #9F235B
tetradic
#5B9F23 #23999F #67239F #9F2923
square
#5B9F23 #23999F #67239F #9F2923
split-complementary
#5B9F23 #29239F #9F2399
monochromatic
#223B0D #3E6D18 #5B9F23 #78D12E #98DC60

Accessibility & contrast

On white

3.27
#5B9F23 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.43
#5B9F23 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B9F23
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B9F23#FFFFFF#000000##000000
##5B9F231.003.276.436.43
#FFFFFF3.271.0021.0021.00
#0000006.4321.001.001.00
##0000006.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A59202
Deuteranopia (green-blind)
#9C8C30
Tritanopia (blue-blind)
#5A9988
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #5b9f23;
/* rgb */ color: rgb(91, 159, 35);
/* oklch */ color: oklch(63.3% 0.168 134.5);
Tailwind
colors: {
  custom: {
    50: '#90bc68',
    500: '#5b9f23',
    950: '#000000',
  },
}
SCSS
$custom: #5b9f23;
$custom-light: #90bc68;
$custom-dark: #000000;
JSON
{
  "hex": "#5b9f23",
  "rgb": {
    "r": 91,
    "g": 159,
    "b": 35
  },
  "hsl": {
    "h": 92.903,
    "s": 63.918,
    "l": 38.039
  },
  "oklch": {
    "l": 0.63345,
    "c": 0.16751,
    "h": 134.5
  },
  "luminance": 0.27142
}

Semantic roles & 50–950 ramp

primary
#5B9F23
secondary
#945DC1
accent
#41E79C
background
#F9FBF6
surface
#F1F6EB
border
#CBD0C6
text
#0D1207
muted
#7E817A

Preview Lab

Preview with #5B9F23

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

Preview Lab → · Contrast checker → · Palette generator →

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