#BBB23C#BBB23C

#BBB23C is a light, vivid yellow. Relative luminance 0.427; OKLCH L 75.0% C 0.136 H 105.0°. Best body text is #000000 at 9.55:1 contrast (WCAG AA passes).

Color values

HEX#BBB23C
RGBrgb(187, 178, 60)
HSLhsl(56, 51%, 48%)
HSVhsv(56, 68%, 73%)
CMYKcmyk(0%, 4.8%, 67.9%, 26.7%)
CIE-LABlab(71.37, -10.77, 58.75)
CIE-LCHlch(71.37, 59.73, 100.39°)
OKLaboklab(74.95% -0.0352 0.1317)
OKLCHoklch(74.95% 0.136 105)
XYZxyz(37.2310, 42.7332, 10.5613)
Luminance0.4273 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BBB23C #3C45BB
analogous
#BB723C #BBB23C #84BB3C
triadic
#BBB23C #3CBBB2 #B23CBB
tetradic
#BBB23C #3CBB72 #3C45BB #BB3C84
square
#BBB23C #3CBB72 #3C45BB #BB3C84
split-complementary
#BBB23C #3C84BB #723CBB
monochromatic
#5E5A1E #8D862D #BBB23C #CEC766 #DDD895

Accessibility & contrast

On white

2.20
#BBB23C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.55
#BBB23C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BBB23C
9.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BBB23C#FFFFFF#000000##000000
##BBB23C1.002.209.559.55
#FFFFFF2.201.0021.0021.00
#0000009.5521.001.001.00
##0000009.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AC2B
Deuteranopia (green-blind)
#C5B144
Tritanopia (blue-blind)
#C9A69A
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #bbb23c;
/* rgb */ color: rgb(187, 178, 60);
/* oklch */ color: oklch(75.0% 0.136 105.0);
Tailwind
colors: {
  custom: {
    50: '#d3c878',
    500: '#bbb23c',
    950: '#000000',
  },
}
SCSS
$custom: #bbb23c;
$custom-light: #d3c878;
$custom-dark: #000000;
JSON
{
  "hex": "#bbb23c",
  "rgb": {
    "r": 187,
    "g": 178,
    "b": 60
  },
  "hsl": {
    "h": 55.748,
    "s": 51.417,
    "l": 48.431
  },
  "oklch": {
    "l": 0.74952,
    "c": 0.13628,
    "h": 105
  },
  "luminance": 0.42732
}

Semantic roles & 50–950 ramp

primary
#BBB23C
secondary
#8B8FC8
accent
#57DB4D
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#151309
muted
#83827B

Preview Lab

Preview with #BBB23C

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

Preview Lab → · Contrast checker → · Palette generator →

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