#BBC638#BBC638

#BBC638 is a light, vivid yellow. Relative luminance 0.512; OKLCH L 79.3% C 0.159 H 113.9°. Best body text is #000000 at 11.25:1 contrast (WCAG AA passes).

Color values

HEX#BBC638
RGBrgb(187, 198, 56)
HSLhsl(65, 56%, 50%)
HSVhsv(65, 72%, 78%)
CMYKcmyk(5.6%, 0%, 71.7%, 22.4%)
CIE-LABlab(76.82, -21.08, 65.64)
CIE-LCHlch(76.82, 68.94, 107.80°)
OKLaboklab(79.3% -0.0645 0.1455)
OKLCHoklch(79.3% 0.159 113.9)
XYZxyz(41.4026, 51.2393, 11.4498)
Luminance0.5124 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BBC638 #4338C6
analogous
#C68A38 #BBC638 #74C638
triadic
#BBC638 #38BBC6 #C638BB
tetradic
#BBC638 #38C68A #4338C6 #C63874
square
#BBC638 #38C68A #4338C6 #C63874
split-complementary
#BBC638 #3874C6 #8A38C6
monochromatic
#61671D #8E962B #BBC638 #CCD467 #DCE297

Accessibility & contrast

On white

1.87
#BBC638 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.25
#BBC638 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BBC638
11.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BBC638#FFFFFF#000000##000000
##BBC6381.001.8711.2511.25
#FFFFFF1.871.0021.0021.00
#00000011.2521.001.001.00
##00000011.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BC1D
Deuteranopia (green-blind)
#D4BF43
Tritanopia (blue-blind)
#C7BAAB
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #bbc638;
/* rgb */ color: rgb(187, 198, 56);
/* oklch */ color: oklch(79.3% 0.159 113.9);
Tailwind
colors: {
  custom: {
    50: '#d3d778',
    500: '#bbc638',
    950: '#000000',
  },
}
SCSS
$custom: #bbc638;
$custom-light: #d3d778;
$custom-dark: #000000;
JSON
{
  "hex": "#bbc638",
  "rgb": {
    "r": 187,
    "g": 198,
    "b": 56
  },
  "hsl": {
    "h": 64.648,
    "s": 55.906,
    "l": 49.804
  },
  "oklch": {
    "l": 0.79297,
    "c": 0.15916,
    "h": 113.9
  },
  "luminance": 0.51238
}

Semantic roles & 50–950 ramp

primary
#BBC638
secondary
#363171
accent
#49DF54
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#15140A
muted
#84837D

Preview Lab

Preview with #BBC638

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

Preview Lab → · Contrast checker → · Palette generator →

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