#BBB72C#BBB72C

#BBB72C is a light, vivid yellow. Relative luminance 0.446; OKLCH L 75.9% C 0.151 H 107.8°. Best body text is #000000 at 9.92:1 contrast (WCAG AA passes).

Color values

HEX#BBB72C
RGBrgb(187, 183, 44)
HSLhsl(58, 62%, 45%)
HSVhsv(58, 76%, 73%)
CMYKcmyk(0%, 2.1%, 76.5%, 26.7%)
CIE-LABlab(72.64, -14.09, 65.71)
CIE-LCHlch(72.64, 67.20, 102.11°)
OKLaboklab(75.93% -0.046 0.1435)
OKLCHoklch(75.93% 0.151 107.8)
XYZxyz(37.8831, 44.6149, 8.9984)
Luminance0.4461 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BBB72C #2C30BB
analogous
#BB702C #BBB72C #77BB2C
triadic
#BBB72C #2CBBB7 #B72CBB
tetradic
#BBB72C #2CBB70 #2C30BB #BB2C77
square
#BBB72C #2CBB70 #2C30BB #BB2C77
split-complementary
#BBB72C #2C77BB #702CBB
monochromatic
#585615 #898720 #BBB72C #D6D24F #E1DE80

Accessibility & contrast

On white

2.12
#BBB72C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.92
#BBB72C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BBB72C
9.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BBB72C#FFFFFF#000000##000000
##BBB72C1.002.129.929.92
#FFFFFF2.121.0021.0021.00
#0000009.9221.001.001.00
##0000009.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B006
Deuteranopia (green-blind)
#C9B437
Tritanopia (blue-blind)
#C9AB9D
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #bbb72c;
/* rgb */ color: rgb(187, 183, 44);
/* oklch */ color: oklch(75.9% 0.151 107.8);
Tailwind
colors: {
  custom: {
    50: '#d3cc71',
    500: '#bbb72c',
    950: '#000000',
  },
}
SCSS
$custom: #bbb72c;
$custom-light: #d3cc71;
$custom-dark: #000000;
JSON
{
  "hex": "#bbb72c",
  "rgb": {
    "r": 187,
    "g": 183,
    "b": 44
  },
  "hsl": {
    "h": 58.322,
    "s": 61.905,
    "l": 45.294
  },
  "oklch": {
    "l": 0.75929,
    "c": 0.15073,
    "h": 107.8
  },
  "luminance": 0.44614
}

Semantic roles & 50–950 ramp

primary
#BBB72C
secondary
#797BCA
accent
#47E543
background
#FDFCF7
surface
#FBF8ED
border
#D4D1C8
text
#151308
muted
#83827B

Preview Lab

Preview with #BBB72C

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

Preview Lab → · Contrast checker → · Palette generator →

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