#BBB23E#BBB23E

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

Color values

HEX#BBB23E
RGBrgb(187, 178, 62)
HSLhsl(56, 50%, 49%)
HSVhsv(56, 67%, 73%)
CMYKcmyk(0%, 4.8%, 66.8%, 26.7%)
CIE-LABlab(71.39, -10.66, 57.96)
CIE-LCHlch(71.39, 58.93, 100.42°)
OKLaboklab(74.97% -0.0346 0.1303)
OKLCHoklch(74.97% 0.135 104.9)
XYZxyz(37.2849, 42.7548, 10.8450)
Luminance0.4275 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BBB23E #3E47BB
analogous
#BB743E #BBB23E #86BB3E
triadic
#BBB23E #3EBBB2 #B23EBB
tetradic
#BBB23E #3EBB74 #3E47BB #BB3E86
square
#BBB23E #3EBB74 #3E47BB #BB3E86
split-complementary
#BBB23E #3E86BB #743EBB
monochromatic
#5F5B20 #8D862F #BBB23E #CDC669 #DCD797

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BBB23E#FFFFFF#000000##000000
##BBB23E1.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)
#C1AC2E
Deuteranopia (green-blind)
#C4B145
Tritanopia (blue-blind)
#C9A69A
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #bbb23e;
/* rgb */ color: rgb(187, 178, 62);
/* oklch */ color: oklch(75.0% 0.135 104.9);
Tailwind
colors: {
  custom: {
    50: '#d3c87a',
    500: '#bbb23e',
    950: '#000000',
  },
}
SCSS
$custom: #bbb23e;
$custom-light: #d3c87a;
$custom-dark: #000000;
JSON
{
  "hex": "#bbb23e",
  "rgb": {
    "r": 187,
    "g": 178,
    "b": 62
  },
  "hsl": {
    "h": 55.68,
    "s": 50.201,
    "l": 48.824
  },
  "oklch": {
    "l": 0.74969,
    "c": 0.13485,
    "h": 104.9
  },
  "luminance": 0.42753
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BBB23E

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

Preview Lab → · Contrast checker → · Palette generator →

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