#BBAB4F#BBAB4F

#BBAB4F is a light, moderate yellow. Relative luminance 0.403; OKLCH L 73.6% C 0.114 H 99.6°. Best body text is #000000 at 9.05:1 contrast (WCAG AA passes).

Color values

HEX#BBAB4F
RGBrgb(187, 171, 79)
HSLhsl(51, 44%, 52%)
HSVhsv(51, 58%, 73%)
CMYKcmyk(0%, 8.6%, 57.8%, 26.7%)
CIE-LABlab(69.65, -5.86, 48.58)
CIE-LCHlch(69.65, 48.93, 96.88°)
OKLaboklab(73.64% -0.019 0.1128)
OKLCHoklch(73.64% 0.114 99.6)
XYZxyz(36.4691, 40.2566, 13.2449)
Luminance0.4026 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BBAB4F #4F5FBB
analogous
#BB754F #BBAB4F #95BB4F
triadic
#BBAB4F #4FBBAB #AB4FBB
tetradic
#BBAB4F #4FBB75 #4F5FBB #BB4F95
square
#BBAB4F #4FBB75 #4F5FBB #BB4F95
split-complementary
#BBAB4F #4F95BB #754FBB
monochromatic
#685E28 #948639 #BBAB4F #CCC07B #DDD5A7

Accessibility & contrast

On white

2.32
#BBAB4F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.05
#BBAB4F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BBAB4F
9.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BBAB4F#FFFFFF#000000##000000
##BBAB4F1.002.329.059.05
#FFFFFF2.321.0021.0021.00
#0000009.0521.001.001.00
##0000009.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA746
Deuteranopia (green-blind)
#BEAD53
Tritanopia (blue-blind)
#C8A097
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #bbab4f;
/* rgb */ color: rgb(187, 171, 79);
/* oklch */ color: oklch(73.6% 0.114 99.6);
Tailwind
colors: {
  custom: {
    50: '#d2c383',
    500: '#bbab4f',
    950: '#000000',
  },
}
SCSS
$custom: #bbab4f;
$custom-light: #d2c383;
$custom-dark: #000000;
JSON
{
  "hex": "#bbab4f",
  "rgb": {
    "r": 187,
    "g": 171,
    "b": 79
  },
  "hsl": {
    "h": 51.111,
    "s": 44.262,
    "l": 52.157
  },
  "oklch": {
    "l": 0.73638,
    "c": 0.11441,
    "h": 99.6
  },
  "luminance": 0.40255
}

Semantic roles & 50–950 ramp

primary
#BBAB4F
secondary
#9BA2CA
accent
#67D454
background
#FDFBF8
surface
#FAF7EF
border
#D3D0CA
text
#14120B
muted
#83817C

Preview Lab

Preview with #BBAB4F

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

Preview Lab → · Contrast checker → · Palette generator →

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