#BBB04C#BBB04C

#BBB04C is a light, vivid yellow. Relative luminance 0.421; OKLCH L 74.7% C 0.122 H 103.1°. Best body text is #000000 at 9.43:1 contrast (WCAG AA passes).

Color values

HEX#BBB04C
RGBrgb(187, 176, 76)
HSLhsl(54, 45%, 52%)
HSVhsv(54, 59%, 73%)
CMYKcmyk(0%, 5.9%, 59.4%, 26.7%)
CIE-LABlab(70.97, -8.71, 51.45)
CIE-LCHlch(70.97, 52.18, 99.61°)
OKLaboklab(74.67% -0.0275 0.1186)
OKLCHoklch(74.67% 0.122 103.1)
XYZxyz(37.3247, 42.1386, 13.0036)
Luminance0.4214 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BBB04C #4C57BB
analogous
#BB794C #BBB04C #8FBB4C
triadic
#BBB04C #4CBBB0 #B04CBB
tetradic
#BBB04C #4CBB79 #4C57BB #BB4C8F
square
#BBB04C #4CBB79 #4C57BB #BB4C8F
split-complementary
#BBB04C #4C8FBB #794CBB
monochromatic
#666027 #928938 #BBB04C #CCC478 #DDD7A5

Accessibility & contrast

On white

2.23
#BBB04C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.43
#BBB04C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BBB04C
9.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BBB04C#FFFFFF#000000##000000
##BBB04C1.002.239.439.43
#FFFFFF2.231.0021.0021.00
#0000009.4321.001.001.00
##0000009.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEAB41
Deuteranopia (green-blind)
#C2B051
Tritanopia (blue-blind)
#C8A59A
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #bbb04c;
/* rgb */ color: rgb(187, 176, 76);
/* oklch */ color: oklch(74.7% 0.122 103.1);
Tailwind
colors: {
  custom: {
    50: '#d2c782',
    500: '#bbb04c',
    950: '#000000',
  },
}
SCSS
$custom: #bbb04c;
$custom-light: #d2c782;
$custom-dark: #000000;
JSON
{
  "hex": "#bbb04c",
  "rgb": {
    "r": 187,
    "g": 176,
    "b": 76
  },
  "hsl": {
    "h": 54.054,
    "s": 44.939,
    "l": 51.569
  },
  "oklch": {
    "l": 0.74671,
    "c": 0.12175,
    "h": 103.1
  },
  "luminance": 0.42137
}

Semantic roles & 50–950 ramp

primary
#BBB04C
secondary
#999ECA
accent
#60D553
background
#FDFCF8
surface
#FAF8EF
border
#D3D1CA
text
#14130B
muted
#83827C

Preview Lab

Preview with #BBB04C

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

Preview Lab → · Contrast checker → · Palette generator →

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