#BBB25A#BBB25A

#BBB25A is a light, moderate yellow. Relative luminance 0.431; OKLCH L 75.3% C 0.111 H 103.4°. Best body text is #000000 at 9.63:1 contrast (WCAG AA passes).

Color values

HEX#BBB25A
RGBrgb(187, 178, 90)
HSLhsl(54, 42%, 54%)
HSVhsv(54, 52%, 73%)
CMYKcmyk(0%, 4.8%, 51.9%, 26.7%)
CIE-LABlab(71.65, -8.63, 45.62)
CIE-LCHlch(71.65, 46.43, 100.72°)
OKLaboklab(75.27% -0.0257 0.1076)
OKLCHoklch(75.27% 0.111 103.4)
XYZxyz(38.2605, 43.1450, 15.9833)
Luminance0.4314 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BBB25A #5A63BB
analogous
#BB825A #BBB25A #94BB5A
triadic
#BBB25A #5ABBB2 #B25ABB
tetradic
#BBB25A #5ABB82 #5A63BB #BB5A94
square
#BBB25A #5ABB82 #5A63BB #BB5A94
split-complementary
#BBB25A #5A94BB #825ABB
monochromatic
#6D682D #99903F #BBB25A #CDC685 #DFDAB1

Accessibility & contrast

On white

2.18
#BBB25A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.63
#BBB25A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BBB25A
9.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BBB25A#FFFFFF#000000##000000
##BBB25A1.002.189.639.63
#FFFFFF2.181.0021.0021.00
#0000009.6321.001.001.00
##0000009.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFAD52
Deuteranopia (green-blind)
#C2B25E
Tritanopia (blue-blind)
#C7A89E
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #bbb25a;
/* rgb */ color: rgb(187, 178, 90);
/* oklch */ color: oklch(75.3% 0.111 103.4);
Tailwind
colors: {
  custom: {
    50: '#d1c88b',
    500: '#bbb25a',
    950: '#000000',
  },
}
SCSS
$custom: #bbb25a;
$custom-light: #d1c88b;
$custom-dark: #000000;
JSON
{
  "hex": "#bbb25a",
  "rgb": {
    "r": 187,
    "g": 178,
    "b": 90
  },
  "hsl": {
    "h": 54.433,
    "s": 41.631,
    "l": 54.314
  },
  "oklch": {
    "l": 0.75265,
    "c": 0.11064,
    "h": 103.4
  },
  "luminance": 0.43144
}

Semantic roles & 50–950 ramp

primary
#BBB25A
secondary
#A4A8CD
accent
#62D156
background
#FDFCF8
surface
#FAF8F0
border
#D3D1CB
text
#14130C
muted
#83827D

Preview Lab

Preview with #BBB25A

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

Preview Lab → · Contrast checker → · Palette generator →

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