#BB9F2D#BB9F2D

#BB9F2D is a light, vivid yellow. Relative luminance 0.356; OKLCH L 70.8% C 0.131 H 94.6°. Best body text is #000000 at 8.11:1 contrast (WCAG AA passes).

Color values

HEX#BB9F2D
RGBrgb(187, 159, 45)
HSLhsl(48, 61%, 45%)
HSVhsv(48, 76%, 73%)
CMYKcmyk(0%, 15%, 75.9%, 26.7%)
CIE-LABlab(66.18, -1.49, 59.38)
CIE-LCHlch(66.18, 59.40, 91.44°)
OKLaboklab(70.8% -0.0104 0.1302)
OKLCHoklch(70.8% 0.131 94.6)
XYZxyz(33.3671, 35.5524, 7.5869)
Luminance0.3555 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB9F2D #2D49BB
analogous
#BB582D #BB9F2D #90BB2D
triadic
#BB9F2D #2DBB9F #9F2DBB
tetradic
#BB9F2D #2DBB58 #2D49BB #BB2D90
square
#BB9F2D #2DBB58 #2D49BB #BB2D90
split-complementary
#BB9F2D #2D90BB #582DBB
monochromatic
#584B15 #8A7521 #BB9F2D #D5BB50 #E1CE82

Accessibility & contrast

On white

2.59
#BB9F2D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.11
#BB9F2D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB9F2D
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB9F2D#FFFFFF#000000##000000
##BB9F2D1.002.598.118.11
#FFFFFF2.591.0021.0021.00
#0000008.1121.001.001.00
##0000008.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09C18
Deuteranopia (green-blind)
#B7A434
Tritanopia (blue-blind)
#CA9289
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #bb9f2d;
/* rgb */ color: rgb(187, 159, 45);
/* oklch */ color: oklch(70.8% 0.131 94.6);
Tailwind
colors: {
  custom: {
    50: '#d4bb6f',
    500: '#bb9f2d',
    950: '#000000',
  },
}
SCSS
$custom: #bb9f2d;
$custom-light: #d4bb6f;
$custom-dark: #000000;
JSON
{
  "hex": "#bb9f2d",
  "rgb": {
    "r": 187,
    "g": 159,
    "b": 45
  },
  "hsl": {
    "h": 48.169,
    "s": 61.207,
    "l": 45.49
  },
  "oklch": {
    "l": 0.70798,
    "c": 0.13066,
    "h": 94.6
  },
  "luminance": 0.35551
}

Semantic roles & 50–950 ramp

primary
#BB9F2D
secondary
#7A8ACA
accent
#63E443
background
#FDFBF6
surface
#FBF6EC
border
#D4D0C7
text
#151108
muted
#83807B

Preview Lab

Preview with #BB9F2D

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

Preview Lab → · Contrast checker → · Palette generator →

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