#BBB162#BBB162

#BBB162 is a light, moderate yellow. Relative luminance 0.429; OKLCH L 75.2% C 0.101 H 102.1°. Best body text is #000000 at 9.58:1 contrast (WCAG AA passes).

Color values

HEX#BBB162
RGBrgb(187, 177, 98)
HSLhsl(53, 40%, 56%)
HSVhsv(53, 48%, 73%)
CMYKcmyk(0%, 5.3%, 47.6%, 26.7%)
CIE-LABlab(71.48, -7.38, 41.46)
CIE-LCHlch(71.48, 42.11, 100.09°)
OKLaboklab(75.16% -0.0213 0.0991)
OKLCHoklch(75.16% 0.101 102.1)
XYZxyz(38.4213, 42.8921, 17.8080)
Luminance0.4289 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BBB162 #626CBB
analogous
#BB8462 #BBB162 #98BB62
triadic
#BBB162 #62BBB1 #B162BB
tetradic
#BBB162 #62BB84 #626CBB #BB6298
square
#BBB162 #62BB84 #626CBB #BB6298
split-complementary
#BBB162 #6298BB #8462BB
monochromatic
#716A31 #9C9244 #BBB162 #CDC68D #E0DBB7

Accessibility & contrast

On white

2.19
#BBB162 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.58
#BBB162 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BBB162
9.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BBB162#FFFFFF#000000##000000
##BBB1621.002.199.589.58
#FFFFFF2.191.0021.0021.00
#0000009.5821.001.001.00
##0000009.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEAC5B
Deuteranopia (green-blind)
#C1B165
Tritanopia (blue-blind)
#C7A79E
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #bbb162;
/* rgb */ color: rgb(187, 177, 98);
/* oklch */ color: oklch(75.2% 0.101 102.1);
Tailwind
colors: {
  custom: {
    50: '#d1c890',
    500: '#bbb162',
    950: '#000000',
  },
}
SCSS
$custom: #bbb162;
$custom-light: #d1c890;
$custom-dark: #000000;
JSON
{
  "hex": "#bbb162",
  "rgb": {
    "r": 187,
    "g": 177,
    "b": 98
  },
  "hsl": {
    "h": 53.258,
    "s": 39.556,
    "l": 55.882
  },
  "oklch": {
    "l": 0.7516,
    "c": 0.1014,
    "h": 102.1
  },
  "luminance": 0.42891
}

Semantic roles & 50–950 ramp

primary
#BBB162
secondary
#AAAECF
accent
#66CF58
background
#FDFCF8
surface
#FAF8F0
border
#D3D1CB
text
#14130D
muted
#83827D

Preview Lab

Preview with #BBB162

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

Preview Lab → · Contrast checker → · Palette generator →

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