#BBAB38#BBAB38

#BBAB38 is a light, vivid yellow. Relative luminance 0.400; OKLCH L 73.4% C 0.133 H 101.2°. Best body text is #000000 at 9.00:1 contrast (WCAG AA passes).

Color values

HEX#BBAB38
RGBrgb(187, 171, 56)
HSLhsl(53, 54%, 48%)
HSVhsv(53, 70%, 73%)
CMYKcmyk(0%, 8.6%, 70.1%, 26.7%)
CIE-LABlab(69.45, -7.34, 58.40)
CIE-LCHlch(69.45, 58.86, 97.16°)
OKLaboklab(73.42% -0.0259 0.1302)
OKLCHoklch(73.42% 0.133 101.2)
XYZxyz(35.7718, 39.9777, 9.5728)
Luminance0.3998 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BBAB38 #3848BB
analogous
#BB6A38 #BBAB38 #89BB38
triadic
#BBAB38 #38BBAB #AB38BB
tetradic
#BBAB38 #38BB6A #3848BB #BB3889
square
#BBAB38 #38BB6A #3848BB #BB3889
split-complementary
#BBAB38 #3889BB #6A38BB
monochromatic
#5D551C #8C802A #BBAB38 #D0C261 #DED490

Accessibility & contrast

On white

2.33
#BBAB38 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.00
#BBAB38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BBAB38
9.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BBAB38#FFFFFF#000000##000000
##BBAB381.002.339.009.00
#FFFFFF2.331.0021.0021.00
#0000009.0021.001.001.00
##0000009.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA627
Deuteranopia (green-blind)
#BFAC3F
Tritanopia (blue-blind)
#C99F94
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #bbab38;
/* rgb */ color: rgb(187, 171, 56);
/* oklch */ color: oklch(73.4% 0.133 101.2);
Tailwind
colors: {
  custom: {
    50: '#d3c376',
    500: '#bbab38',
    950: '#000000',
  },
}
SCSS
$custom: #bbab38;
$custom-light: #d3c376;
$custom-dark: #000000;
JSON
{
  "hex": "#bbab38",
  "rgb": {
    "r": 187,
    "g": 171,
    "b": 56
  },
  "hsl": {
    "h": 52.672,
    "s": 53.909,
    "l": 47.647
  },
  "oklch": {
    "l": 0.73417,
    "c": 0.13278,
    "h": 101.2
  },
  "luminance": 0.39976
}

Semantic roles & 50–950 ramp

primary
#BBAB38
secondary
#868EC8
accent
#5CDD4B
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#151209
muted
#83817B

Preview Lab

Preview with #BBAB38

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

Preview Lab → · Contrast checker → · Palette generator →

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