#BBB23F#BBB23F

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

Color values

HEX#BBB23F
RGBrgb(187, 178, 63)
HSLhsl(56, 50%, 49%)
HSVhsv(56, 66%, 73%)
CMYKcmyk(0%, 4.8%, 66.3%, 26.7%)
CIE-LABlab(71.40, -10.60, 57.56)
CIE-LCHlch(71.40, 58.53, 100.43°)
OKLaboklab(74.98% -0.0343 0.1296)
OKLCHoklch(74.98% 0.134 104.8)
XYZxyz(37.3125, 42.7658, 10.9908)
Luminance0.4276 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BBB23F #3F48BB
analogous
#BB743F #BBB23F #86BB3F
triadic
#BBB23F #3FBBB2 #B23FBB
tetradic
#BBB23F #3FBB74 #3F48BB #BB3F86
square
#BBB23F #3FBB74 #3F48BB #BB3F86
split-complementary
#BBB23F #3F86BB #743FBB
monochromatic
#5F5B20 #8D8630 #BBB23F #CDC66A #DCD798

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BBB23F#FFFFFF#000000##000000
##BBB23F1.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)
#C1AC2F
Deuteranopia (green-blind)
#C4B146
Tritanopia (blue-blind)
#C9A69A
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #bbb23f;
/* rgb */ color: rgb(187, 178, 63);
/* oklch */ color: oklch(75.0% 0.134 104.8);
Tailwind
colors: {
  custom: {
    50: '#d3c87a',
    500: '#bbb23f',
    950: '#000000',
  },
}
SCSS
$custom: #bbb23f;
$custom-light: #d3c87a;
$custom-dark: #000000;
JSON
{
  "hex": "#bbb23f",
  "rgb": {
    "r": 187,
    "g": 178,
    "b": 63
  },
  "hsl": {
    "h": 55.645,
    "s": 49.6,
    "l": 49.02
  },
  "oklch": {
    "l": 0.74977,
    "c": 0.13412,
    "h": 104.8
  },
  "luminance": 0.42764
}

Semantic roles & 50–950 ramp

primary
#BBB23F
secondary
#8E92C8
accent
#59D94F
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#15130A
muted
#83827C

Preview Lab

Preview with #BBB23F

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

Preview Lab → · Contrast checker → · Palette generator →

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