#9BAD23#9BAD23

#9BAD23 is a light, vivid yellow. Relative luminance 0.370; OKLCH L 71.0% C 0.154 H 117.2°. Best body text is #000000 at 8.40:1 contrast (WCAG AA passes).

Color values

HEX#9BAD23
RGBrgb(155, 173, 35)
HSLhsl(68, 66%, 41%)
HSVhsv(68, 80%, 68%)
CMYKcmyk(10.4%, 0%, 79.8%, 32.2%)
CIE-LABlab(67.26, -23.18, 62.63)
CIE-LCHlch(67.26, 66.78, 110.31°)
OKLaboklab(70.98% -0.0703 0.1366)
OKLCHoklch(70.98% 0.154 117.2)
XYZxyz(28.7653, 36.9774, 7.2118)
Luminance0.3698 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9BAD23 #3523AD
analogous
#AD7A23 #9BAD23 #56AD23
triadic
#9BAD23 #239BAD #AD239B
tetradic
#9BAD23 #23AD7A #3523AD #AD2356
square
#9BAD23 #23AD7A #3523AD #AD2356
split-complementary
#9BAD23 #2356AD #7A23AD
monochromatic
#40470E #6D7A19 #9BAD23 #C2D637 #D1E16A

Accessibility & contrast

On white

2.50
#9BAD23 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.40
#9BAD23 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9BAD23
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9BAD23#FFFFFF#000000##000000
##9BAD231.002.508.408.40
#FFFFFF2.501.0021.0021.00
#0000008.4021.001.001.00
##0000008.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A300
Deuteranopia (green-blind)
#B7A431
Tritanopia (blue-blind)
#A5A394
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #9bad23;
/* rgb */ color: rgb(155, 173, 35);
/* oklch */ color: oklch(71.0% 0.154 117.2);
Tailwind
colors: {
  custom: {
    50: '#bcc56b',
    500: '#9bad23',
    950: '#000000',
  },
}
SCSS
$custom: #9bad23;
$custom-light: #bcc56b;
$custom-dark: #000000;
JSON
{
  "hex": "#9bad23",
  "rgb": {
    "r": 155,
    "g": 173,
    "b": 35
  },
  "hsl": {
    "h": 67.826,
    "s": 66.346,
    "l": 40.784
  },
  "oklch": {
    "l": 0.70984,
    "c": 0.1536,
    "h": 117.2
  },
  "luminance": 0.36977
}

Semantic roles & 50–950 ramp

primary
#9BAD23
secondary
#7265C7
accent
#3FE955
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#121207
muted
#81817A

Preview Lab

Preview with #9BAD23

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

Preview Lab → · Contrast checker → · Palette generator →

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