#BBB54F#BBB54F

#BBB54F is a light, vivid yellow. Relative luminance 0.442; OKLCH L 75.8% C 0.124 H 105.9°. Best body text is #000000 at 9.84:1 contrast (WCAG AA passes).

Color values

HEX#BBB54F
RGBrgb(187, 181, 79)
HSLhsl(57, 44%, 52%)
HSVhsv(57, 58%, 73%)
CMYKcmyk(0%, 3.2%, 57.8%, 26.7%)
CIE-LABlab(72.35, -11.08, 51.62)
CIE-LCHlch(72.35, 52.80, 102.12°)
OKLaboklab(75.78% -0.0339 0.1193)
OKLCHoklch(75.78% 0.124 105.9)
XYZxyz(38.4299, 44.1783, 13.8985)
Luminance0.4418 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BBB54F #4F55BB
analogous
#BB7F4F #BBB54F #8BBB4F
triadic
#BBB54F #4FBBB5 #B54FBB
tetradic
#BBB54F #4FBB7F #4F55BB #BB4F8B
square
#BBB54F #4FBB7F #4F55BB #BB4F8B
split-complementary
#BBB54F #4F8BBB #7F4FBB
monochromatic
#686428 #948F39 #BBB54F #CCC87B #DDDAA7

Accessibility & contrast

On white

2.14
#BBB54F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.84
#BBB54F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BBB54F
9.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BBB54F#FFFFFF#000000##000000
##BBB54F1.002.149.849.84
#FFFFFF2.141.0021.0021.00
#0000009.8421.001.001.00
##0000009.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AF44
Deuteranopia (green-blind)
#C6B454
Tritanopia (blue-blind)
#C8AA9F
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #bbb54f;
/* rgb */ color: rgb(187, 181, 79);
/* oklch */ color: oklch(75.8% 0.124 105.9);
Tailwind
colors: {
  custom: {
    50: '#d2ca84',
    500: '#bbb54f',
    950: '#000000',
  },
}
SCSS
$custom: #bbb54f;
$custom-light: #d2ca84;
$custom-dark: #000000;
JSON
{
  "hex": "#bbb54f",
  "rgb": {
    "r": 187,
    "g": 181,
    "b": 79
  },
  "hsl": {
    "h": 56.667,
    "s": 44.262,
    "l": 52.157
  },
  "oklch": {
    "l": 0.75779,
    "c": 0.12407,
    "h": 105.9
  },
  "luminance": 0.44177
}

Semantic roles & 50–950 ramp

primary
#BBB54F
secondary
#9B9ECA
accent
#5BD454
background
#FDFCF8
surface
#FAF8EF
border
#D3D1CA
text
#14130B
muted
#83827C

Preview Lab

Preview with #BBB54F

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

Preview Lab → · Contrast checker → · Palette generator →

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