#9BAD28#9BAD28

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

Color values

HEX#9BAD28
RGBrgb(155, 173, 40)
HSLhsl(68, 62%, 42%)
HSVhsv(68, 77%, 68%)
CMYKcmyk(10.4%, 0%, 76.9%, 32.2%)
CIE-LABlab(67.28, -22.98, 61.13)
CIE-LCHlch(67.28, 65.31, 110.60°)
OKLaboklab(71.01% -0.0693 0.1343)
OKLCHoklch(71.01% 0.151 117.3)
XYZxyz(28.8449, 37.0092, 7.6310)
Luminance0.3701 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9BAD28 #3A28AD
analogous
#AD7D28 #9BAD28 #59AD28
triadic
#9BAD28 #289BAD #AD289B
tetradic
#9BAD28 #28AD7D #3A28AD #AD2859
square
#9BAD28 #28AD7D #3A28AD #AD2859
split-complementary
#9BAD28 #2859AD #7D28AD
monochromatic
#424A11 #6E7B1D #9BAD28 #BFD33F #CFDE71

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9BAD28#FFFFFF#000000##000000
##9BAD281.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)
#B9A303
Deuteranopia (green-blind)
#B7A534
Tritanopia (blue-blind)
#A5A394
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #9bad28;
/* rgb */ color: rgb(155, 173, 40);
/* oklch */ color: oklch(71.0% 0.151 117.3);
Tailwind
colors: {
  custom: {
    50: '#bcc56d',
    500: '#9bad28',
    950: '#000000',
  },
}
SCSS
$custom: #9bad28;
$custom-light: #bcc56d;
$custom-dark: #000000;
JSON
{
  "hex": "#9bad28",
  "rgb": {
    "r": 155,
    "g": 173,
    "b": 40
  },
  "hsl": {
    "h": 68.12,
    "s": 62.441,
    "l": 41.765
  },
  "oklch": {
    "l": 0.71011,
    "c": 0.15111,
    "h": 117.3
  },
  "luminance": 0.37009
}

Semantic roles & 50–950 ramp

primary
#9BAD28
secondary
#786CC5
accent
#42E658
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#121208
muted
#81817B

Preview Lab

Preview with #9BAD28

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

Preview Lab → · Contrast checker → · Palette generator →

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