#BBB04D#BBB04D

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

Color values

HEX#BBB04D
RGBrgb(187, 176, 77)
HSLhsl(54, 45%, 52%)
HSVhsv(54, 59%, 73%)
CMYKcmyk(0%, 5.9%, 58.8%, 26.7%)
CIE-LABlab(70.98, -8.63, 51.00)
CIE-LCHlch(70.98, 51.73, 99.61°)
OKLaboklab(74.68% -0.0272 0.1178)
OKLCHoklch(74.68% 0.121 103)
XYZxyz(37.3597, 42.1526, 13.1881)
Luminance0.4215 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BBB04D #4D58BB
analogous
#BB794D #BBB04D #8FBB4D
triadic
#BBB04D #4DBBB0 #B04DBB
tetradic
#BBB04D #4DBB79 #4D58BB #BB4D8F
square
#BBB04D #4DBB79 #4D58BB #BB4D8F
split-complementary
#BBB04D #4D8FBB #794DBB
monochromatic
#666027 #938A38 #BBB04D #CCC479 #DDD7A6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BBB04D#FFFFFF#000000##000000
##BBB04D1.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)
#BEAB42
Deuteranopia (green-blind)
#C2B052
Tritanopia (blue-blind)
#C8A59A
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #bbb04d;
/* rgb */ color: rgb(187, 176, 77);
/* oklch */ color: oklch(74.7% 0.121 103.0);
Tailwind
colors: {
  custom: {
    50: '#d2c782',
    500: '#bbb04d',
    950: '#000000',
  },
}
SCSS
$custom: #bbb04d;
$custom-light: #d2c782;
$custom-dark: #000000;
JSON
{
  "hex": "#bbb04d",
  "rgb": {
    "r": 187,
    "g": 176,
    "b": 77
  },
  "hsl": {
    "h": 54,
    "s": 44.715,
    "l": 51.765
  },
  "oklch": {
    "l": 0.74682,
    "c": 0.12087,
    "h": 103
  },
  "luminance": 0.42151
}

Semantic roles & 50–950 ramp

primary
#BBB04D
secondary
#9A9FCA
accent
#60D453
background
#FDFCF8
surface
#FAF8EF
border
#D3D1CA
text
#14130B
muted
#83827C

Preview Lab

Preview with #BBB04D

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

Preview Lab → · Contrast checker → · Palette generator →

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