#BBAF51#BBAF51

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

Color values

HEX#BBAF51
RGBrgb(187, 175, 81)
HSLhsl(53, 44%, 53%)
HSVhsv(53, 57%, 73%)
CMYKcmyk(0%, 6.4%, 56.7%, 26.7%)
CIE-LABlab(70.75, -7.81, 48.88)
CIE-LCHlch(70.75, 49.50, 99.08°)
OKLaboklab(74.51% -0.0244 0.1137)
OKLCHoklch(74.51% 0.116 102.1)
XYZxyz(37.3100, 41.8202, 13.8898)
Luminance0.4182 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BBAF51 #515DBB
analogous
#BB7A51 #BBAF51 #92BB51
triadic
#BBAF51 #51BBAF #AF51BB
tetradic
#BBAF51 #51BB7A #515DBB #BB5192
square
#BBAF51 #51BB7A #515DBB #BB5192
split-complementary
#BBAF51 #5192BB #7A51BB
monochromatic
#696129 #958A3A #BBAF51 #CCC37D #DDD7A9

Accessibility & contrast

On white

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

On black

9.36
#BBAF51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BBAF51
9.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BBAF51#FFFFFF#000000##000000
##BBAF511.002.249.369.36
#FFFFFF2.241.0021.0021.00
#0000009.3621.001.001.00
##0000009.3621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #bbaf51;
/* rgb */ color: rgb(187, 175, 81);
/* oklch */ color: oklch(74.5% 0.116 102.1);
Tailwind
colors: {
  custom: {
    50: '#d2c685',
    500: '#bbaf51',
    950: '#000000',
  },
}
SCSS
$custom: #bbaf51;
$custom-light: #d2c685;
$custom-dark: #000000;
JSON
{
  "hex": "#bbaf51",
  "rgb": {
    "r": 187,
    "g": 175,
    "b": 81
  },
  "hsl": {
    "h": 53.208,
    "s": 43.802,
    "l": 52.549
  },
  "oklch": {
    "l": 0.74513,
    "c": 0.11629,
    "h": 102.1
  },
  "luminance": 0.41819
}

Semantic roles & 50–950 ramp

primary
#BBAF51
secondary
#9DA2CB
accent
#63D454
background
#FDFCF8
surface
#FAF8EF
border
#D3D1CA
text
#14130B
muted
#83827C

Preview Lab

Preview with #BBAF51

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

Preview Lab → · Contrast checker → · Palette generator →

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