#BBAB3D#BBAB3D

#BBAB3D is a light, vivid yellow. Relative luminance 0.400; OKLCH L 73.5% C 0.129 H 100.9°. Best body text is #000000 at 9.01:1 contrast (WCAG AA passes).

Color values

HEX#BBAB3D
RGBrgb(187, 171, 61)
HSLhsl(52, 51%, 49%)
HSVhsv(52, 67%, 73%)
CMYKcmyk(0%, 8.6%, 67.4%, 26.7%)
CIE-LABlab(69.49, -7.06, 56.42)
CIE-LCHlch(69.49, 56.86, 97.14°)
OKLaboklab(73.46% -0.0245 0.1269)
OKLCHoklch(73.46% 0.129 100.9)
XYZxyz(35.9003, 40.0291, 10.2493)
Luminance0.4003 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BBAB3D #3D4DBB
analogous
#BB6C3D #BBAB3D #8CBB3D
triadic
#BBAB3D #3DBBAB #AB3DBB
tetradic
#BBAB3D #3DBB6C #3D4DBB #BB3D8C
square
#BBAB3D #3DBB6C #3D4DBB #BB3D8C
split-complementary
#BBAB3D #3D8CBB #6C3DBB
monochromatic
#5F571F #8D812E #BBAB3D #CEC168 #DDD496

Accessibility & contrast

On white

2.33
#BBAB3D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.01
#BBAB3D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BBAB3D
9.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BBAB3D#FFFFFF#000000##000000
##BBAB3D1.002.339.019.01
#FFFFFF2.331.0021.0021.00
#0000009.0121.001.001.00
##0000009.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA62E
Deuteranopia (green-blind)
#BFAD43
Tritanopia (blue-blind)
#C99F94
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #bbab3d;
/* rgb */ color: rgb(187, 171, 61);
/* oklch */ color: oklch(73.5% 0.129 100.9);
Tailwind
colors: {
  custom: {
    50: '#d3c378',
    500: '#bbab3d',
    950: '#000000',
  },
}
SCSS
$custom: #bbab3d;
$custom-light: #d3c378;
$custom-dark: #000000;
JSON
{
  "hex": "#bbab3d",
  "rgb": {
    "r": 187,
    "g": 171,
    "b": 61
  },
  "hsl": {
    "h": 52.381,
    "s": 50.806,
    "l": 48.627
  },
  "oklch": {
    "l": 0.73458,
    "c": 0.12926,
    "h": 100.9
  },
  "luminance": 0.40028
}

Semantic roles & 50–950 ramp

primary
#BBAB3D
secondary
#8C93C8
accent
#5FDA4E
background
#FDFBF7
surface
#FAF7EE
border
#D3D0C9
text
#151209
muted
#83817B

Preview Lab

Preview with #BBAB3D

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

Preview Lab → · Contrast checker → · Palette generator →

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