#BBAF5B#BBAF5B

#BBAF5B is a light, moderate yellow. Relative luminance 0.420; OKLCH L 74.6% C 0.107 H 101.3°. Best body text is #000000 at 9.40:1 contrast (WCAG AA passes).

Color values

HEX#BBAF5B
RGBrgb(187, 175, 91)
HSLhsl(53, 41%, 55%)
HSVhsv(53, 51%, 73%)
CMYKcmyk(0%, 6.4%, 51.3%, 26.7%)
CIE-LABlab(70.86, -6.98, 44.19)
CIE-LCHlch(70.86, 44.74, 98.97°)
OKLaboklab(74.64% -0.0208 0.1046)
OKLCHoklch(74.64% 0.107 101.3)
XYZxyz(37.7129, 41.9814, 16.0122)
Luminance0.4198 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BBAF5B #5B67BB
analogous
#BB7F5B #BBAF5B #97BB5B
triadic
#BBAF5B #5BBBAF #AF5BBB
tetradic
#BBAF5B #5BBB7F #5B67BB #BB5B97
square
#BBAF5B #5BBB7F #5B67BB #BB5B97
split-complementary
#BBAF5B #5B97BB #7F5BBB
monochromatic
#6E662E #998E40 #BBAF5B #CDC486 #DFD9B2

Accessibility & contrast

On white

2.23
#BBAF5B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.40
#BBAF5B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BBAF5B
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BBAF5B#FFFFFF#000000##000000
##BBAF5B1.002.239.409.40
#FFFFFF2.231.0021.0021.00
#0000009.4021.001.001.00
##0000009.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCAA53
Deuteranopia (green-blind)
#C0B05F
Tritanopia (blue-blind)
#C7A59C
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #bbaf5b;
/* rgb */ color: rgb(187, 175, 91);
/* oklch */ color: oklch(74.6% 0.107 101.3);
Tailwind
colors: {
  custom: {
    50: '#d1c68b',
    500: '#bbaf5b',
    950: '#000000',
  },
}
SCSS
$custom: #bbaf5b;
$custom-light: #d1c68b;
$custom-dark: #000000;
JSON
{
  "hex": "#bbaf5b",
  "rgb": {
    "r": 187,
    "g": 175,
    "b": 91
  },
  "hsl": {
    "h": 52.5,
    "s": 41.379,
    "l": 54.51
  },
  "oklch": {
    "l": 0.74637,
    "c": 0.10663,
    "h": 101.3
  },
  "luminance": 0.4198
}

Semantic roles & 50–950 ramp

primary
#BBAF5B
secondary
#A5AACD
accent
#66D157
background
#FDFCF8
surface
#FAF8F0
border
#D3D1CB
text
#14130C
muted
#83827D

Preview Lab

Preview with #BBAF5B

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

Preview Lab → · Contrast checker → · Palette generator →

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