#BBAF48#BBAF48

#BBAF48 is a light, vivid yellow. Relative luminance 0.417; OKLCH L 74.4% C 0.124 H 102.7°. Best body text is #000000 at 9.34:1 contrast (WCAG AA passes).

Color values

HEX#BBAF48
RGBrgb(187, 175, 72)
HSLhsl(54, 46%, 51%)
HSVhsv(54, 61%, 73%)
CMYKcmyk(0%, 6.4%, 61.5%, 26.7%)
CIE-LABlab(70.66, -8.47, 52.92)
CIE-LCHlch(70.66, 53.59, 99.09°)
OKLaboklab(74.42% -0.0273 0.1212)
OKLCHoklch(74.42% 0.124 102.7)
XYZxyz(36.9946, 41.6940, 12.2287)
Luminance0.4169 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BBAF48 #4854BB
analogous
#BB7548 #BBAF48 #8DBB48
triadic
#BBAF48 #48BBAF #AF48BB
tetradic
#BBAF48 #48BB75 #4854BB #BB488D
square
#BBAF48 #48BB75 #4854BB #BB488D
split-complementary
#BBAF48 #488DBB #7548BB
monochromatic
#645D25 #908736 #BBAF48 #CCC375 #DCD6A1

Accessibility & contrast

On white

2.25
#BBAF48 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.34
#BBAF48 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BBAF48
9.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BBAF48#FFFFFF#000000##000000
##BBAF481.002.259.349.34
#FFFFFF2.251.0021.0021.00
#0000009.3421.001.001.00
##0000009.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEAA3C
Deuteranopia (green-blind)
#C2AF4E
Tritanopia (blue-blind)
#C8A499
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #bbaf48;
/* rgb */ color: rgb(187, 175, 72);
/* oklch */ color: oklch(74.4% 0.124 102.7);
Tailwind
colors: {
  custom: {
    50: '#d2c67f',
    500: '#bbaf48',
    950: '#000000',
  },
}
SCSS
$custom: #bbaf48;
$custom-light: #d2c67f;
$custom-dark: #000000;
JSON
{
  "hex": "#bbaf48",
  "rgb": {
    "r": 187,
    "g": 175,
    "b": 72
  },
  "hsl": {
    "h": 53.739,
    "s": 45.817,
    "l": 50.784
  },
  "oklch": {
    "l": 0.74416,
    "c": 0.12421,
    "h": 102.7
  },
  "luminance": 0.41693
}

Semantic roles & 50–950 ramp

primary
#BBAF48
secondary
#969BC9
accent
#60D552
background
#FDFCF8
surface
#FAF8EF
border
#D3D1CA
text
#14130A
muted
#83827C

Preview Lab

Preview with #BBAF48

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

Preview Lab → · Contrast checker → · Palette generator →

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