#BBC28A#BBC28A

#BBC28A is a light, moderate yellow. Relative luminance 0.510; OKLCH L 79.5% C 0.075 H 113.9°. Best body text is #000000 at 11.20:1 contrast (WCAG AA passes).

Color values

HEX#BBC28A
RGBrgb(187, 194, 138)
HSLhsl(68, 31%, 65%)
HSVhsv(68, 29%, 76%)
CMYKcmyk(3.6%, 0%, 28.9%, 23.9%)
CIE-LABlab(76.67, -11.56, 27.44)
CIE-LCHlch(76.67, 29.77, 112.84°)
OKLaboklab(79.48% -0.0305 0.0688)
OKLCHoklch(79.48% 0.075 113.9)
XYZxyz(44.3727, 50.9838, 31.5431)
Luminance0.5098 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BBC28A #918AC2
analogous
#C2AD8A #BBC28A #9FC28A
triadic
#BBC28A #8ABBC2 #C28ABB
tetradic
#BBC28A #8AC2AD #918AC2 #C28A9F
square
#BBC28A #8AC2AD #918AC2 #C28A9F
split-complementary
#BBC28A #8A9FC2 #AD8AC2
monochromatic
#828A48 #A4AD62 #BBC28A #D2D7B2 #EAECDA

Accessibility & contrast

On white

1.88
#BBC28A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.20
#BBC28A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BBC28A
11.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BBC28A#FFFFFF#000000##000000
##BBC28A1.001.8811.2011.20
#FFFFFF1.881.0021.0021.00
#00000011.2021.001.001.00
##00000011.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#CABD86
Deuteranopia (green-blind)
#CABE8C
Tritanopia (blue-blind)
#C2BCB3
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #bbc28a;
/* rgb */ color: rgb(187, 194, 138);
/* oklch */ color: oklch(79.5% 0.075 113.9);
Tailwind
colors: {
  custom: {
    50: '#d0d4ac',
    500: '#bbc28a',
    950: '#000000',
  },
}
SCSS
$custom: #bbc28a;
$custom-light: #d0d4ac;
$custom-dark: #000000;
JSON
{
  "hex": "#bbc28a",
  "rgb": {
    "r": 187,
    "g": 194,
    "b": 138
  },
  "hsl": {
    "h": 67.5,
    "s": 31.461,
    "l": 65.098
  },
  "oklch": {
    "l": 0.79478,
    "c": 0.07521,
    "h": 113.9
  },
  "luminance": 0.50983
}

Semantic roles & 50–950 ramp

primary
#BBC28A
secondary
#645E93
accent
#3BAA49
background
#FEFEFD
surface
#FBFBF7
border
#D4D4D0
text
#141410
muted
#838381

Preview Lab

Preview with #BBC28A

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

Preview Lab → · Contrast checker → · Palette generator →

#BBC28A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva