#BBAB62#BBAB62

#BBAB62 is a light, moderate yellow. Relative luminance 0.406; OKLCH L 73.9% C 0.096 H 97.3°. Best body text is #000000 at 9.11:1 contrast (WCAG AA passes).

Color values

HEX#BBAB62
RGBrgb(187, 171, 98)
HSLhsl(49, 40%, 56%)
HSVhsv(49, 48%, 73%)
CMYKcmyk(0%, 8.6%, 47.6%, 26.7%)
CIE-LABlab(69.88, -4.21, 39.49)
CIE-LCHlch(69.88, 39.71, 96.09°)
OKLaboklab(73.89% -0.0121 0.0948)
OKLCHoklch(73.89% 0.096 97.3)
XYZxyz(37.2621, 40.5738, 17.4216)
Luminance0.4057 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BBAB62 #6272BB
analogous
#BB7E62 #BBAB62 #9FBB62
triadic
#BBAB62 #62BBAB #AB62BB
tetradic
#BBAB62 #62BB7E #6272BB #BB629F
square
#BBAB62 #62BB7E #6272BB #BB629F
split-complementary
#BBAB62 #629FBB #7E62BB
monochromatic
#716631 #9C8C44 #BBAB62 #CDC28D #E0D9B7

Accessibility & contrast

On white

2.30
#BBAB62 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.11
#BBAB62 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BBAB62
9.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BBAB62#FFFFFF#000000##000000
##BBAB621.002.309.119.11
#FFFFFF2.301.0021.0021.00
#0000009.1121.001.001.00
##0000009.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A85C
Deuteranopia (green-blind)
#BCAD65
Tritanopia (blue-blind)
#C7A19A
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #bbab62;
/* rgb */ color: rgb(187, 171, 98);
/* oklch */ color: oklch(73.9% 0.096 97.3);
Tailwind
colors: {
  custom: {
    50: '#d1c390',
    500: '#bbab62',
    950: '#000000',
  },
}
SCSS
$custom: #bbab62;
$custom-light: #d1c390;
$custom-dark: #000000;
JSON
{
  "hex": "#bbab62",
  "rgb": {
    "r": 187,
    "g": 171,
    "b": 98
  },
  "hsl": {
    "h": 49.213,
    "s": 39.556,
    "l": 55.882
  },
  "oklch": {
    "l": 0.73888,
    "c": 0.09553,
    "h": 97.3
  },
  "luminance": 0.40572
}

Semantic roles & 50–950 ramp

primary
#BBAB62
secondary
#AAB1CF
accent
#6ECF58
background
#FDFBF8
surface
#FAF7F0
border
#D3D0CB
text
#14120D
muted
#83817D

Preview Lab

Preview with #BBAB62

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

Preview Lab → · Contrast checker → · Palette generator →

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