#BBB23D#BBB23D

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

Color values

HEX#BBB23D
RGBrgb(187, 178, 61)
HSLhsl(56, 51%, 49%)
HSVhsv(56, 67%, 73%)
CMYKcmyk(0%, 4.8%, 67.4%, 26.7%)
CIE-LABlab(71.38, -10.71, 58.36)
CIE-LCHlch(71.38, 59.33, 100.40°)
OKLaboklab(74.96% -0.0349 0.131)
OKLCHoklch(74.96% 0.136 104.9)
XYZxyz(37.2577, 42.7439, 10.7018)
Luminance0.4274 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BBB23D #3D46BB
analogous
#BB733D #BBB23D #85BB3D
triadic
#BBB23D #3DBBB2 #B23DBB
tetradic
#BBB23D #3DBB73 #3D46BB #BB3D85
square
#BBB23D #3DBB73 #3D46BB #BB3D85
split-complementary
#BBB23D #3D85BB #733DBB
monochromatic
#5F5A1F #8D862E #BBB23D #CEC668 #DDD896

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BBB23D#FFFFFF#000000##000000
##BBB23D1.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)
#C1AC2D
Deuteranopia (green-blind)
#C4B144
Tritanopia (blue-blind)
#C9A69A
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #bbb23d;
/* rgb */ color: rgb(187, 178, 61);
/* oklch */ color: oklch(75.0% 0.136 104.9);
Tailwind
colors: {
  custom: {
    50: '#d3c879',
    500: '#bbb23d',
    950: '#000000',
  },
}
SCSS
$custom: #bbb23d;
$custom-light: #d3c879;
$custom-dark: #000000;
JSON
{
  "hex": "#bbb23d",
  "rgb": {
    "r": 187,
    "g": 178,
    "b": 61
  },
  "hsl": {
    "h": 55.714,
    "s": 50.806,
    "l": 48.627
  },
  "oklch": {
    "l": 0.7496,
    "c": 0.13558,
    "h": 104.9
  },
  "luminance": 0.42743
}

Semantic roles & 50–950 ramp

primary
#BBB23D
secondary
#8C90C8
accent
#58DA4E
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#151309
muted
#83827B

Preview Lab

Preview with #BBB23D

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

Preview Lab → · Contrast checker → · Palette generator →

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