#BBAF52#BBAF52

#BBAF52 is a light, moderate yellow. Relative luminance 0.418; OKLCH L 74.5% C 0.115 H 102.0°. Best body text is #000000 at 9.37:1 contrast (WCAG AA passes).

Color values

HEX#BBAF52
RGBrgb(187, 175, 82)
HSLhsl(53, 44%, 53%)
HSVhsv(53, 56%, 73%)
CMYKcmyk(0%, 6.4%, 56.1%, 26.7%)
CIE-LABlab(70.76, -7.73, 48.42)
CIE-LCHlch(70.76, 49.04, 99.07°)
OKLaboklab(74.52% -0.024 0.1128)
OKLCHoklch(74.52% 0.115 102)
XYZxyz(37.3477, 41.8353, 14.0887)
Luminance0.4183 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BBAF52 #525EBB
analogous
#BB7B52 #BBAF52 #92BB52
triadic
#BBAF52 #52BBAF #AF52BB
tetradic
#BBAF52 #52BB7B #525EBB #BB5292
square
#BBAF52 #52BB7B #525EBB #BB5292
split-complementary
#BBAF52 #5292BB #7B52BB
monochromatic
#696229 #958B3B #BBAF52 #CCC37E #DED8AA

Accessibility & contrast

On white

2.24
#BBAF52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.37
#BBAF52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BBAF52
9.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BBAF52#FFFFFF#000000##000000
##BBAF521.002.249.379.37
#FFFFFF2.241.0021.0021.00
#0000009.3721.001.001.00
##0000009.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDAA49
Deuteranopia (green-blind)
#C1B057
Tritanopia (blue-blind)
#C8A49A
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #bbaf52;
/* rgb */ color: rgb(187, 175, 82);
/* oklch */ color: oklch(74.5% 0.115 102.0);
Tailwind
colors: {
  custom: {
    50: '#d2c686',
    500: '#bbaf52',
    950: '#000000',
  },
}
SCSS
$custom: #bbaf52;
$custom-light: #d2c686;
$custom-dark: #000000;
JSON
{
  "hex": "#bbaf52",
  "rgb": {
    "r": 187,
    "g": 175,
    "b": 82
  },
  "hsl": {
    "h": 53.143,
    "s": 43.568,
    "l": 52.745
  },
  "oklch": {
    "l": 0.74525,
    "c": 0.11537,
    "h": 102
  },
  "luminance": 0.41834
}

Semantic roles & 50–950 ramp

primary
#BBAF52
secondary
#9EA3CB
accent
#63D354
background
#FDFCF8
surface
#FAF8EF
border
#D3D1CA
text
#14130B
muted
#83827C

Preview Lab

Preview with #BBAF52

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

Preview Lab → · Contrast checker → · Palette generator →

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