#BBB230#BBB230

#BBB230 is a light, vivid yellow. Relative luminance 0.426; OKLCH L 74.9% C 0.144 H 105.3°. Best body text is #000000 at 9.52:1 contrast (WCAG AA passes).

Color values

HEX#BBB230
RGBrgb(187, 178, 48)
HSLhsl(56, 59%, 46%)
HSVhsv(56, 74%, 73%)
CMYKcmyk(0%, 4.8%, 74.3%, 26.7%)
CIE-LABlab(71.30, -11.36, 63.15)
CIE-LCHlch(71.30, 64.16, 100.20°)
OKLaboklab(74.87% -0.038 0.1388)
OKLCHoklch(74.87% 0.144 105.3)
XYZxyz(36.9490, 42.6204, 9.0760)
Luminance0.4262 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BBB230 #3039BB
analogous
#BB6C30 #BBB230 #7EBB30
triadic
#BBB230 #30BBB2 #B230BB
tetradic
#BBB230 #30BB6C #3039BB #BB307E
square
#BBB230 #30BB6C #3039BB #BB307E
split-complementary
#BBB230 #307EBB #6C30BB
monochromatic
#5A5517 #8A8423 #BBB230 #D3CB55 #E0DA86

Accessibility & contrast

On white

2.21
#BBB230 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.52
#BBB230 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BBB230
9.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BBB230#FFFFFF#000000##000000
##BBB2301.002.219.529.52
#FFFFFF2.211.0021.0021.00
#0000009.5221.001.001.00
##0000009.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AB15
Deuteranopia (green-blind)
#C5B13A
Tritanopia (blue-blind)
#C9A699
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #bbb230;
/* rgb */ color: rgb(187, 178, 48);
/* oklch */ color: oklch(74.9% 0.144 105.3);
Tailwind
colors: {
  custom: {
    50: '#d3c872',
    500: '#bbb230',
    950: '#000000',
  },
}
SCSS
$custom: #bbb230;
$custom-light: #d3c872;
$custom-dark: #000000;
JSON
{
  "hex": "#bbb230",
  "rgb": {
    "r": 187,
    "g": 178,
    "b": 48
  },
  "hsl": {
    "h": 56.115,
    "s": 59.149,
    "l": 46.078
  },
  "oklch": {
    "l": 0.74866,
    "c": 0.14394,
    "h": 105.3
  },
  "luminance": 0.42619
}

Semantic roles & 50–950 ramp

primary
#BBB230
secondary
#7D82C9
accent
#50E245
background
#FDFCF7
surface
#FBF8ED
border
#D4D1C8
text
#151308
muted
#83827B

Preview Lab

Preview with #BBB230

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

Preview Lab → · Contrast checker → · Palette generator →

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