#BB9D30#BB9D30

#BB9D30 is a light, vivid yellow. Relative luminance 0.349; OKLCH L 70.4% C 0.128 H 93.0°. Best body text is #000000 at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#BB9D30
RGBrgb(187, 157, 48)
HSLhsl(47, 59%, 46%)
HSVhsv(47, 74%, 73%)
CMYKcmyk(0%, 16%, 74.3%, 26.7%)
CIE-LABlab(65.67, -0.28, 57.78)
CIE-LCHlch(65.67, 57.78, 90.28°)
OKLaboklab(70.4% -0.0067 0.1274)
OKLCHoklch(70.4% 0.128 93)
XYZxyz(33.0858, 34.8941, 7.7883)
Luminance0.3489 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB9D30 #304EBB
analogous
#BB5730 #BB9D30 #93BB30
triadic
#BB9D30 #30BB9D #9D30BB
tetradic
#BB9D30 #30BB57 #304EBB #BB3093
square
#BB9D30 #30BB57 #304EBB #BB3093
split-complementary
#BB9D30 #3093BB #5730BB
monochromatic
#5A4B17 #8A7423 #BB9D30 #D3B855 #E0CC86

Accessibility & contrast

On white

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

On black

7.98
#BB9D30 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB9D30
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB9D30#FFFFFF#000000##000000
##BB9D301.002.637.987.98
#FFFFFF2.631.0021.0021.00
#0000007.9821.001.001.00
##0000007.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9A1E
Deuteranopia (green-blind)
#B6A336
Tritanopia (blue-blind)
#CA9088
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #bb9d30;
/* rgb */ color: rgb(187, 157, 48);
/* oklch */ color: oklch(70.4% 0.128 93.0);
Tailwind
colors: {
  custom: {
    50: '#d3b970',
    500: '#bb9d30',
    950: '#000000',
  },
}
SCSS
$custom: #bb9d30;
$custom-light: #d3b970;
$custom-dark: #000000;
JSON
{
  "hex": "#bb9d30",
  "rgb": {
    "r": 187,
    "g": 157,
    "b": 48
  },
  "hsl": {
    "h": 47.05,
    "s": 59.149,
    "l": 46.078
  },
  "oklch": {
    "l": 0.704,
    "c": 0.1276,
    "h": 93
  },
  "luminance": 0.34892
}

Semantic roles & 50–950 ramp

primary
#BB9D30
secondary
#7D8EC9
accent
#67E245
background
#FDFBF7
surface
#FBF6ED
border
#D4D0C8
text
#151108
muted
#83807B

Preview Lab

Preview with #BB9D30

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

Preview Lab → · Contrast checker → · Palette generator →

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