#BBAD38#BBAD38

#BBAD38 is a light, vivid yellow. Relative luminance 0.407; OKLCH L 73.8% C 0.135 H 102.4°. Best body text is #000000 at 9.15:1 contrast (WCAG AA passes).

Color values

HEX#BBAD38
RGBrgb(187, 173, 56)
HSLhsl(54, 54%, 48%)
HSVhsv(54, 70%, 73%)
CMYKcmyk(0%, 7.5%, 70.1%, 26.7%)
CIE-LABlab(69.99, -8.38, 58.94)
CIE-LCHlch(69.99, 59.53, 98.10°)
OKLaboklab(73.85% -0.0288 0.1314)
OKLCHoklch(73.85% 0.135 102.4)
XYZxyz(36.1525, 40.7390, 9.6997)
Luminance0.4074 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BBAD38 #3846BB
analogous
#BB6C38 #BBAD38 #87BB38
triadic
#BBAD38 #38BBAD #AD38BB
tetradic
#BBAD38 #38BB6C #3846BB #BB3887
square
#BBAD38 #38BB6C #3846BB #BB3887
split-complementary
#BBAD38 #3887BB #6C38BB
monochromatic
#5D561C #8C812A #BBAD38 #D0C461 #DED590

Accessibility & contrast

On white

2.30
#BBAD38 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.15
#BBAD38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BBAD38
9.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BBAD38#FFFFFF#000000##000000
##BBAD381.002.309.159.15
#FFFFFF2.301.0021.0021.00
#0000009.1521.001.001.00
##0000009.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA826
Deuteranopia (green-blind)
#C1AE3F
Tritanopia (blue-blind)
#C9A196
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #bbad38;
/* rgb */ color: rgb(187, 173, 56);
/* oklch */ color: oklch(73.8% 0.135 102.4);
Tailwind
colors: {
  custom: {
    50: '#d3c576',
    500: '#bbad38',
    950: '#000000',
  },
}
SCSS
$custom: #bbad38;
$custom-light: #d3c576;
$custom-dark: #000000;
JSON
{
  "hex": "#bbad38",
  "rgb": {
    "r": 187,
    "g": 173,
    "b": 56
  },
  "hsl": {
    "h": 53.588,
    "s": 53.909,
    "l": 47.647
  },
  "oklch": {
    "l": 0.73845,
    "c": 0.13451,
    "h": 102.4
  },
  "luminance": 0.40737
}

Semantic roles & 50–950 ramp

primary
#BBAD38
secondary
#868DC8
accent
#5ADD4B
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#151209
muted
#83817B

Preview Lab

Preview with #BBAD38

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

Preview Lab → · Contrast checker → · Palette generator →

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