#BB9D38#BB9D38

#BB9D38 is a light, vivid yellow. Relative luminance 0.350; OKLCH L 70.5% C 0.122 H 92.2°. Best body text is #000000 at 7.99:1 contrast (WCAG AA passes).

Color values

HEX#BB9D38
RGBrgb(187, 157, 56)
HSLhsl(46, 54%, 48%)
HSVhsv(46, 70%, 73%)
CMYKcmyk(0%, 16%, 70.1%, 26.7%)
CIE-LABlab(65.72, 0.11, 54.63)
CIE-LCHlch(65.72, 54.63, 89.88°)
OKLaboklab(70.46% -0.0046 0.1223)
OKLCHoklch(70.46% 0.122 92.2)
XYZxyz(33.2660, 34.9662, 8.7376)
Luminance0.3496 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB9D38 #3856BB
analogous
#BB5C38 #BB9D38 #97BB38
triadic
#BB9D38 #38BB9D #9D38BB
tetradic
#BB9D38 #38BB5C #3856BB #BB3897
square
#BB9D38 #38BB5C #3856BB #BB3897
split-complementary
#BB9D38 #3897BB #5C38BB
monochromatic
#5D4E1C #8C752A #BB9D38 #D0B661 #DECC90

Accessibility & contrast

On white

2.63
#BB9D38 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.99
#BB9D38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB9D38
7.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB9D38#FFFFFF#000000##000000
##BB9D381.002.637.997.99
#FFFFFF2.631.0021.0021.00
#0000007.9921.001.001.00
##0000007.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9B2A
Deuteranopia (green-blind)
#B5A33D
Tritanopia (blue-blind)
#CA9088
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #bb9d38;
/* rgb */ color: rgb(187, 157, 56);
/* oklch */ color: oklch(70.5% 0.122 92.2);
Tailwind
colors: {
  custom: {
    50: '#d3b974',
    500: '#bb9d38',
    950: '#000000',
  },
}
SCSS
$custom: #bb9d38;
$custom-light: #d3b974;
$custom-dark: #000000;
JSON
{
  "hex": "#bb9d38",
  "rgb": {
    "r": 187,
    "g": 157,
    "b": 56
  },
  "hsl": {
    "h": 46.26,
    "s": 53.909,
    "l": 47.647
  },
  "oklch": {
    "l": 0.70463,
    "c": 0.12236,
    "h": 92.2
  },
  "luminance": 0.34964
}

Semantic roles & 50–950 ramp

primary
#BB9D38
secondary
#8695C8
accent
#6CDD4B
background
#FDFBF7
surface
#FBF6ED
border
#D4D0C8
text
#151109
muted
#83807B

Preview Lab

Preview with #BB9D38

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

Preview Lab → · Contrast checker → · Palette generator →

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