#BBB238#BBB238

#BBB238 is a light, vivid yellow. Relative luminance 0.427; OKLCH L 74.9% C 0.139 H 105.1°. Best body text is #000000 at 9.54:1 contrast (WCAG AA passes).

Color values

HEX#BBB238
RGBrgb(187, 178, 56)
HSLhsl(56, 54%, 48%)
HSVhsv(56, 70%, 73%)
CMYKcmyk(0%, 4.8%, 70.1%, 26.7%)
CIE-LABlab(71.35, -10.98, 60.28)
CIE-LCHlch(71.35, 61.28, 100.33°)
OKLaboklab(74.92% -0.0362 0.1342)
OKLCHoklch(74.92% 0.139 105.1)
XYZxyz(37.1292, 42.6925, 10.0253)
Luminance0.4269 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BBB238 #3841BB
analogous
#BB7138 #BBB238 #82BB38
triadic
#BBB238 #38BBB2 #B238BB
tetradic
#BBB238 #38BB71 #3841BB #BB3882
square
#BBB238 #38BB71 #3841BB #BB3882
split-complementary
#BBB238 #3882BB #7138BB
monochromatic
#5D581C #8C852A #BBB238 #D0C861 #DED890

Accessibility & contrast

On white

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

On black

9.54
#BBB238 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BBB238
9.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BBB238#FFFFFF#000000##000000
##BBB2381.002.209.549.54
#FFFFFF2.201.0021.0021.00
#0000009.5421.001.001.00
##0000009.5421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #bbb238;
/* rgb */ color: rgb(187, 178, 56);
/* oklch */ color: oklch(74.9% 0.139 105.1);
Tailwind
colors: {
  custom: {
    50: '#d3c876',
    500: '#bbb238',
    950: '#000000',
  },
}
SCSS
$custom: #bbb238;
$custom-light: #d3c876;
$custom-dark: #000000;
JSON
{
  "hex": "#bbb238",
  "rgb": {
    "r": 187,
    "g": 178,
    "b": 56
  },
  "hsl": {
    "h": 55.878,
    "s": 53.909,
    "l": 47.647
  },
  "oklch": {
    "l": 0.74921,
    "c": 0.13901,
    "h": 105.1
  },
  "luminance": 0.42691
}

Semantic roles & 50–950 ramp

primary
#BBB238
secondary
#868BC8
accent
#55DD4B
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#151309
muted
#83827B

Preview Lab

Preview with #BBB238

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

Preview Lab → · Contrast checker → · Palette generator →

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