#BBAF5A#BBAF5A

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

Color values

HEX#BBAF5A
RGBrgb(187, 175, 90)
HSLhsl(53, 42%, 54%)
HSVhsv(53, 52%, 73%)
CMYKcmyk(0%, 6.4%, 51.9%, 26.7%)
CIE-LABlab(70.85, -7.06, 44.67)
CIE-LCHlch(70.85, 45.22, 98.99°)
OKLaboklab(74.62% -0.0212 0.1055)
OKLCHoklch(74.62% 0.108 101.4)
XYZxyz(37.6701, 41.9642, 15.7865)
Luminance0.4196 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BBAF5A #5A66BB
analogous
#BB7F5A #BBAF5A #97BB5A
triadic
#BBAF5A #5ABBAF #AF5ABB
tetradic
#BBAF5A #5ABB7F #5A66BB #BB5A97
square
#BBAF5A #5ABB7F #5A66BB #BB5A97
split-complementary
#BBAF5A #5A97BB #7F5ABB
monochromatic
#6D662D #998E3F #BBAF5A #CDC485 #DFD9B1

Accessibility & contrast

On white

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

On black

9.39
#BBAF5A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BBAF5A
9.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BBAF5A#FFFFFF#000000##000000
##BBAF5A1.002.249.399.39
#FFFFFF2.241.0021.0021.00
#0000009.3921.001.001.00
##0000009.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDAA52
Deuteranopia (green-blind)
#C0B05E
Tritanopia (blue-blind)
#C7A59B
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #bbaf5a;
/* rgb */ color: rgb(187, 175, 90);
/* oklch */ color: oklch(74.6% 0.108 101.4);
Tailwind
colors: {
  custom: {
    50: '#d1c68b',
    500: '#bbaf5a',
    950: '#000000',
  },
}
SCSS
$custom: #bbaf5a;
$custom-light: #d1c68b;
$custom-dark: #000000;
JSON
{
  "hex": "#bbaf5a",
  "rgb": {
    "r": 187,
    "g": 175,
    "b": 90
  },
  "hsl": {
    "h": 52.577,
    "s": 41.631,
    "l": 54.314
  },
  "oklch": {
    "l": 0.74624,
    "c": 0.10763,
    "h": 101.4
  },
  "luminance": 0.41963
}

Semantic roles & 50–950 ramp

primary
#BBAF5A
secondary
#A4A9CD
accent
#66D156
background
#FDFCF8
surface
#FAF8F0
border
#D3D1CB
text
#14130C
muted
#83827D

Preview Lab

Preview with #BBAF5A

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

Preview Lab → · Contrast checker → · Palette generator →

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