#BBB257#BBB257

#BBB257 is a light, moderate yellow. Relative luminance 0.431; OKLCH L 75.2% C 0.114 H 103.6°. Best body text is #000000 at 9.62:1 contrast (WCAG AA passes).

Color values

HEX#BBB257
RGBrgb(187, 178, 87)
HSLhsl(55, 42%, 54%)
HSVhsv(55, 53%, 73%)
CMYKcmyk(0%, 4.8%, 53.5%, 26.7%)
CIE-LABlab(71.62, -8.89, 47.04)
CIE-LCHlch(71.62, 47.87, 100.70°)
OKLaboklab(75.23% -0.0268 0.1104)
OKLCHoklch(75.23% 0.114 103.6)
XYZxyz(38.1354, 43.0950, 15.3243)
Luminance0.4309 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BBB257 #5760BB
analogous
#BB8057 #BBB257 #92BB57
triadic
#BBB257 #57BBB2 #B257BB
tetradic
#BBB257 #57BB80 #5760BB #BB5792
square
#BBB257 #57BB80 #5760BB #BB5792
split-complementary
#BBB257 #5792BB #8057BB
monochromatic
#6C662C #978F3D #BBB257 #CDC683 #DEDAAE

Accessibility & contrast

On white

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

On black

9.62
#BBB257 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BBB257
9.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BBB257#FFFFFF#000000##000000
##BBB2571.002.189.629.62
#FFFFFF2.181.0021.0021.00
#0000009.6221.001.001.00
##0000009.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AD4E
Deuteranopia (green-blind)
#C3B25B
Tritanopia (blue-blind)
#C7A89D
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #bbb257;
/* rgb */ color: rgb(187, 178, 87);
/* oklch */ color: oklch(75.2% 0.114 103.6);
Tailwind
colors: {
  custom: {
    50: '#d2c889',
    500: '#bbb257',
    950: '#000000',
  },
}
SCSS
$custom: #bbb257;
$custom-light: #d2c889;
$custom-dark: #000000;
JSON
{
  "hex": "#bbb257",
  "rgb": {
    "r": 187,
    "g": 178,
    "b": 87
  },
  "hsl": {
    "h": 54.6,
    "s": 42.373,
    "l": 53.725
  },
  "oklch": {
    "l": 0.75227,
    "c": 0.11358,
    "h": 103.6
  },
  "luminance": 0.43094
}

Semantic roles & 50–950 ramp

primary
#BBB257
secondary
#A2A5CC
accent
#61D256
background
#FDFCF8
surface
#FAF8F0
border
#D3D1CB
text
#14130C
muted
#83827D

Preview Lab

Preview with #BBB257

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

Preview Lab → · Contrast checker → · Palette generator →

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