#9BAA23#9BAA23

#9BAA23 is a light, vivid yellow. Relative luminance 0.358; OKLCH L 70.3% C 0.150 H 116.1°. Best body text is #000000 at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#9BAA23
RGBrgb(155, 170, 35)
HSLhsl(67, 66%, 40%)
HSVhsv(67, 79%, 67%)
CMYKcmyk(8.8%, 0%, 79.4%, 33.3%)
CIE-LABlab(66.40, -21.69, 61.86)
CIE-LCHlch(66.40, 65.55, 109.32°)
OKLaboklab(70.29% -0.0662 0.1349)
OKLCHoklch(70.29% 0.15 116.1)
XYZxyz(28.1965, 35.8398, 7.0222)
Luminance0.3584 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9BAA23 #3223AA
analogous
#AA7623 #9BAA23 #57AA23
triadic
#9BAA23 #239BAA #AA239B
tetradic
#9BAA23 #23AA76 #3223AA #AA2357
square
#9BAA23 #23AA76 #3223AA #AA2357
split-complementary
#9BAA23 #2357AA #7623AA
monochromatic
#3E440E #6D7719 #9BAA23 #C4D535 #D2E068

Accessibility & contrast

On white

2.57
#9BAA23 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.17
#9BAA23 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9BAA23
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9BAA23#FFFFFF#000000##000000
##9BAA231.002.578.178.17
#FFFFFF2.571.0021.0021.00
#0000008.1721.001.001.00
##0000008.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A100
Deuteranopia (green-blind)
#B5A230
Tritanopia (blue-blind)
#A5A091
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #9baa23;
/* rgb */ color: rgb(155, 170, 35);
/* oklch */ color: oklch(70.3% 0.150 116.1);
Tailwind
colors: {
  custom: {
    50: '#bcc36b',
    500: '#9baa23',
    950: '#000000',
  },
}
SCSS
$custom: #9baa23;
$custom-light: #bcc36b;
$custom-dark: #000000;
JSON
{
  "hex": "#9baa23",
  "rgb": {
    "r": 155,
    "g": 170,
    "b": 35
  },
  "hsl": {
    "h": 66.667,
    "s": 65.854,
    "l": 40.196
  },
  "oklch": {
    "l": 0.70291,
    "c": 0.15029,
    "h": 116.1
  },
  "luminance": 0.35839
}

Semantic roles & 50–950 ramp

primary
#9BAA23
secondary
#6E63C6
accent
#3FE952
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#121207
muted
#81817A

Preview Lab

Preview with #9BAA23

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

Preview Lab → · Contrast checker → · Palette generator →

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