#9BAC23#9BAC23

#9BAC23 is a light, vivid yellow. Relative luminance 0.366; OKLCH L 70.8% C 0.152 H 116.9°. Best body text is #000000 at 8.32:1 contrast (WCAG AA passes).

Color values

HEX#9BAC23
RGBrgb(155, 172, 35)
HSLhsl(67, 66%, 41%)
HSVhsv(67, 80%, 67%)
CMYKcmyk(9.9%, 0%, 79.7%, 32.5%)
CIE-LABlab(66.97, -22.69, 62.37)
CIE-LCHlch(66.97, 66.37, 109.99°)
OKLaboklab(70.75% -0.0689 0.136)
OKLCHoklch(70.75% 0.153 116.9)
XYZxyz(28.5742, 36.5953, 7.1481)
Luminance0.3659 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9BAC23 #3423AC
analogous
#AC7823 #9BAC23 #56AC23
triadic
#9BAC23 #239BAC #AC239B
tetradic
#9BAC23 #23AC78 #3423AC #AC2356
square
#9BAC23 #23AC78 #3423AC #AC2356
split-complementary
#9BAC23 #2356AC #7823AC
monochromatic
#3F460E #6D7919 #9BAC23 #C2D636 #D2E069

Accessibility & contrast

On white

2.52
#9BAC23 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.32
#9BAC23 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9BAC23
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9BAC23#FFFFFF#000000##000000
##9BAC231.002.528.328.32
#FFFFFF2.521.0021.0021.00
#0000008.3221.001.001.00
##0000008.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A200
Deuteranopia (green-blind)
#B7A430
Tritanopia (blue-blind)
#A5A293
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #9bac23;
/* rgb */ color: rgb(155, 172, 35);
/* oklch */ color: oklch(70.8% 0.152 116.9);
Tailwind
colors: {
  custom: {
    50: '#bcc46b',
    500: '#9bac23',
    950: '#000000',
  },
}
SCSS
$custom: #9bac23;
$custom-light: #bcc46b;
$custom-dark: #000000;
JSON
{
  "hex": "#9bac23",
  "rgb": {
    "r": 155,
    "g": 172,
    "b": 35
  },
  "hsl": {
    "h": 67.445,
    "s": 66.184,
    "l": 40.588
  },
  "oklch": {
    "l": 0.70753,
    "c": 0.1525,
    "h": 116.9
  },
  "luminance": 0.36595
}

Semantic roles & 50–950 ramp

primary
#9BAC23
secondary
#7164C6
accent
#3FE954
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#121207
muted
#81817A

Preview Lab

Preview with #9BAC23

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

Preview Lab → · Contrast checker → · Palette generator →

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