#BBB262#BBB262

#BBB262 is a light, moderate yellow. Relative luminance 0.433; OKLCH L 75.4% C 0.102 H 102.8°. Best body text is #000000 at 9.66:1 contrast (WCAG AA passes).

Color values

HEX#BBB262
RGBrgb(187, 178, 98)
HSLhsl(54, 40%, 56%)
HSVhsv(54, 48%, 73%)
CMYKcmyk(0%, 4.8%, 47.6%, 26.7%)
CIE-LABlab(71.75, -7.90, 41.78)
CIE-LCHlch(71.75, 42.52, 100.71°)
OKLaboklab(75.37% -0.0228 0.0999)
OKLCHoklch(75.37% 0.102 102.8)
XYZxyz(38.6195, 43.2886, 17.8741)
Luminance0.4329 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BBB262 #626BBB
analogous
#BB8562 #BBB262 #97BB62
triadic
#BBB262 #62BBB2 #B262BB
tetradic
#BBB262 #62BB85 #626BBB #BB6297
square
#BBB262 #62BB85 #626BBB #BB6297
split-complementary
#BBB262 #6297BB #8562BB
monochromatic
#716B31 #9C9344 #BBB262 #CDC78D #E0DCB7

Accessibility & contrast

On white

2.17
#BBB262 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.66
#BBB262 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BBB262
9.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BBB262#FFFFFF#000000##000000
##BBB2621.002.179.669.66
#FFFFFF2.171.0021.0021.00
#0000009.6621.001.001.00
##0000009.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFAD5B
Deuteranopia (green-blind)
#C2B266
Tritanopia (blue-blind)
#C6A89F
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #bbb262;
/* rgb */ color: rgb(187, 178, 98);
/* oklch */ color: oklch(75.4% 0.102 102.8);
Tailwind
colors: {
  custom: {
    50: '#d1c890',
    500: '#bbb262',
    950: '#000000',
  },
}
SCSS
$custom: #bbb262;
$custom-light: #d1c890;
$custom-dark: #000000;
JSON
{
  "hex": "#bbb262",
  "rgb": {
    "r": 187,
    "g": 178,
    "b": 98
  },
  "hsl": {
    "h": 53.933,
    "s": 39.556,
    "l": 55.882
  },
  "oklch": {
    "l": 0.75373,
    "c": 0.10244,
    "h": 102.8
  },
  "luminance": 0.43287
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BBB262

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

Preview Lab → · Contrast checker → · Palette generator →

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