#9BAE28#9BAE28

#9BAE28 is a light, vivid yellow. Relative luminance 0.374; OKLCH L 71.2% C 0.152 H 117.7°. Best body text is #000000 at 8.48:1 contrast (WCAG AA passes).

Color values

HEX#9BAE28
RGBrgb(155, 174, 40)
HSLhsl(69, 63%, 42%)
HSVhsv(69, 77%, 68%)
CMYKcmyk(10.9%, 0%, 77%, 31.8%)
CIE-LABlab(67.57, -23.47, 61.40)
CIE-LCHlch(67.57, 65.73, 110.92°)
OKLaboklab(71.24% -0.0707 0.1348)
OKLCHoklch(71.24% 0.152 117.7)
XYZxyz(29.0373, 37.3942, 7.6952)
Luminance0.3739 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9BAE28 #3B28AE
analogous
#AE7E28 #9BAE28 #58AE28
triadic
#9BAE28 #289BAE #AE289B
tetradic
#9BAE28 #28AE7E #3B28AE #AE2858
square
#9BAE28 #28AE7E #3B28AE #AE2858
split-complementary
#9BAE28 #2858AE #7E28AE
monochromatic
#424A11 #6F7C1D #9BAE28 #BED340 #CFDF72

Accessibility & contrast

On white

2.48
#9BAE28 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.48
#9BAE28 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9BAE28
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9BAE28#FFFFFF#000000##000000
##9BAE281.002.488.488.48
#FFFFFF2.481.0021.0021.00
#0000008.4821.001.001.00
##0000008.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA402
Deuteranopia (green-blind)
#B8A534
Tritanopia (blue-blind)
#A5A495
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #9bae28;
/* rgb */ color: rgb(155, 174, 40);
/* oklch */ color: oklch(71.2% 0.152 117.7);
Tailwind
colors: {
  custom: {
    50: '#bcc66d',
    500: '#9bae28',
    950: '#000000',
  },
}
SCSS
$custom: #9bae28;
$custom-light: #bcc66d;
$custom-dark: #000000;
JSON
{
  "hex": "#9bae28",
  "rgb": {
    "r": 155,
    "g": 174,
    "b": 40
  },
  "hsl": {
    "h": 68.507,
    "s": 62.617,
    "l": 41.961
  },
  "oklch": {
    "l": 0.71243,
    "c": 0.15224,
    "h": 117.7
  },
  "luminance": 0.37394
}

Semantic roles & 50–950 ramp

primary
#9BAE28
secondary
#796CC6
accent
#42E659
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#121308
muted
#81827B

Preview Lab

Preview with #9BAE28

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

Preview Lab → · Contrast checker → · Palette generator →

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