#BBC938#BBC938

#BBC938 is a light, vivid yellow. Relative luminance 0.526; OKLCH L 80.0% C 0.162 H 115.0°. Best body text is #000000 at 11.52:1 contrast (WCAG AA passes).

Color values

HEX#BBC938
RGBrgb(187, 201, 56)
HSLhsl(66, 57%, 50%)
HSVhsv(66, 72%, 79%)
CMYKcmyk(7%, 0%, 72.1%, 21.2%)
CIE-LABlab(77.65, -22.55, 66.44)
CIE-LCHlch(77.65, 70.16, 108.75°)
OKLaboklab(79.96% -0.0685 0.1472)
OKLCHoklch(79.96% 0.162 115)
XYZxyz(42.0951, 52.6243, 11.6806)
Luminance0.5262 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BBC938 #4638C9
analogous
#C98E38 #BBC938 #72C938
triadic
#BBC938 #38BBC9 #C938BB
tetradic
#BBC938 #38C98E #4638C9 #C93872
square
#BBC938 #38C98E #4638C9 #C93872
split-complementary
#BBC938 #3872C9 #8E38C9
monochromatic
#626A1D #8F9A2A #BBC938 #CBD668 #DCE398

Accessibility & contrast

On white

1.82
#BBC938 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.52
#BBC938 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BBC938
11.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BBC938#FFFFFF#000000##000000
##BBC9381.001.8211.5211.52
#FFFFFF1.821.0021.0021.00
#00000011.5221.001.001.00
##00000011.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7BF1C
Deuteranopia (green-blind)
#D7C144
Tritanopia (blue-blind)
#C7BDAD
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #bbc938;
/* rgb */ color: rgb(187, 201, 56);
/* oklch */ color: oklch(80.0% 0.162 115.0);
Tailwind
colors: {
  custom: {
    50: '#d3d979',
    500: '#bbc938',
    950: '#000000',
  },
}
SCSS
$custom: #bbc938;
$custom-light: #d3d979;
$custom-dark: #000000;
JSON
{
  "hex": "#bbc938",
  "rgb": {
    "r": 187,
    "g": 201,
    "b": 56
  },
  "hsl": {
    "h": 65.793,
    "s": 57.312,
    "l": 50.392
  },
  "oklch": {
    "l": 0.79962,
    "c": 0.16238,
    "h": 115
  },
  "luminance": 0.52624
}

Semantic roles & 50–950 ramp

primary
#BBC938
secondary
#383174
accent
#47E156
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#15140A
muted
#84837D

Preview Lab

Preview with #BBC938

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

Preview Lab → · Contrast checker → · Palette generator →

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