#9BC23B#9BC23B

#9BC23B is a light, vivid yellow-green. Relative luminance 0.459; OKLCH L 76.0% C 0.165 H 124.3°. Best body text is #000000 at 10.17:1 contrast (WCAG AA passes).

Color values

HEX#9BC23B
RGBrgb(155, 194, 59)
HSLhsl(77, 53%, 50%)
HSVhsv(77, 70%, 76%)
CMYKcmyk(20.1%, 0%, 69.6%, 23.9%)
CIE-LABlab(73.46, -32.07, 60.48)
CIE-LCHlch(73.46, 68.45, 117.93°)
OKLaboklab(76.03% -0.0928 0.136)
OKLCHoklch(76.03% 0.165 124.3)
XYZxyz(33.5991, 45.8676, 11.2200)
Luminance0.4587 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9BC23B #623BC2
analogous
#C2A63B #9BC23B #58C23B
triadic
#9BC23B #3B9BC2 #C23B9B
tetradic
#9BC23B #3BC2A6 #623BC2 #C23B58
square
#9BC23B #3BC2A6 #623BC2 #C23B58
split-complementary
#9BC23B #3B58C2 #A63BC2
monochromatic
#50641E #76932D #9BC23B #B3D169 #CBE098

Accessibility & contrast

On white

2.06
#9BC23B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.17
#9BC23B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9BC23B
10.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9BC23B#FFFFFF#000000##000000
##9BC23B1.002.0610.1710.17
#FFFFFF2.061.0021.0021.00
#00000010.1721.001.001.00
##00000010.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB625
Deuteranopia (green-blind)
#C8B446
Tritanopia (blue-blind)
#A2B9A7
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #9bc23b;
/* rgb */ color: rgb(155, 194, 59);
/* oklch */ color: oklch(76.0% 0.165 124.3);
Tailwind
colors: {
  custom: {
    50: '#bcd479',
    500: '#9bc23b',
    950: '#000000',
  },
}
SCSS
$custom: #9bc23b;
$custom-light: #bcd479;
$custom-dark: #000000;
JSON
{
  "hex": "#9bc23b",
  "rgb": {
    "r": 155,
    "g": 194,
    "b": 59
  },
  "hsl": {
    "h": 77.333,
    "s": 53.36,
    "l": 49.608
  },
  "oklch": {
    "l": 0.76027,
    "c": 0.16462,
    "h": 124.3
  },
  "luminance": 0.45868
}

Semantic roles & 50–950 ramp

primary
#9BC23B
secondary
#9F8ECB
accent
#4BDD75
background
#FBFDF7
surface
#F7FAEE
border
#D0D3C9
text
#12140A
muted
#81837C

Preview Lab

Preview with #9BC23B

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

Preview Lab → · Contrast checker → · Palette generator →

#9BC23B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva