#BBAC38#BBAC38

#BBAC38 is a light, vivid yellow. Relative luminance 0.404; OKLCH L 73.6% C 0.134 H 101.8°. Best body text is #000000 at 9.07:1 contrast (WCAG AA passes).

Color values

HEX#BBAC38
RGBrgb(187, 172, 56)
HSLhsl(53, 54%, 48%)
HSVhsv(53, 70%, 73%)
CMYKcmyk(0%, 8%, 70.1%, 26.7%)
CIE-LABlab(69.72, -7.86, 58.67)
CIE-LCHlch(69.72, 59.20, 97.63°)
OKLaboklab(73.63% -0.0274 0.1308)
OKLCHoklch(73.63% 0.134 101.8)
XYZxyz(35.9614, 40.3569, 9.6360)
Luminance0.4036 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BBAC38 #3847BB
analogous
#BB6B38 #BBAC38 #88BB38
triadic
#BBAC38 #38BBAC #AC38BB
tetradic
#BBAC38 #38BB6B #3847BB #BB3888
square
#BBAC38 #38BB6B #3847BB #BB3888
split-complementary
#BBAC38 #3888BB #6B38BB
monochromatic
#5D551C #8C812A #BBAC38 #D0C361 #DED590

Accessibility & contrast

On white

2.32
#BBAC38 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.07
#BBAC38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BBAC38
9.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BBAC38#FFFFFF#000000##000000
##BBAC381.002.329.079.07
#FFFFFF2.321.0021.0021.00
#0000009.0721.001.001.00
##0000009.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA726
Deuteranopia (green-blind)
#C0AD3F
Tritanopia (blue-blind)
#C9A095
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #bbac38;
/* rgb */ color: rgb(187, 172, 56);
/* oklch */ color: oklch(73.6% 0.134 101.8);
Tailwind
colors: {
  custom: {
    50: '#d3c476',
    500: '#bbac38',
    950: '#000000',
  },
}
SCSS
$custom: #bbac38;
$custom-light: #d3c476;
$custom-dark: #000000;
JSON
{
  "hex": "#bbac38",
  "rgb": {
    "r": 187,
    "g": 172,
    "b": 56
  },
  "hsl": {
    "h": 53.13,
    "s": 53.909,
    "l": 47.647
  },
  "oklch": {
    "l": 0.73631,
    "c": 0.13364,
    "h": 101.8
  },
  "luminance": 0.40355
}

Semantic roles & 50–950 ramp

primary
#BBAC38
secondary
#868EC8
accent
#5BDD4B
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#151209
muted
#83817B

Preview Lab

Preview with #BBAC38

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

Preview Lab → · Contrast checker → · Palette generator →

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