#BBC238#BBC238

#BBC238 is a light, vivid yellow. Relative luminance 0.494; OKLCH L 78.4% C 0.155 H 112.4°. Best body text is #000000 at 10.89:1 contrast (WCAG AA passes).

Color values

HEX#BBC238
RGBrgb(187, 194, 56)
HSLhsl(63, 55%, 49%)
HSVhsv(63, 71%, 76%)
CMYKcmyk(3.6%, 0%, 71.1%, 23.9%)
CIE-LABlab(75.72, -19.10, 64.57)
CIE-LCHlch(75.72, 67.34, 106.48°)
OKLaboklab(78.41% -0.0589 0.1433)
OKLCHoklch(78.41% 0.155 112.4)
XYZxyz(40.5004, 49.4348, 11.1490)
Luminance0.4943 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BBC238 #3F38C2
analogous
#C28438 #BBC238 #76C238
triadic
#BBC238 #38BBC2 #C238BB
tetradic
#BBC238 #38C284 #3F38C2 #C23876
square
#BBC238 #38C284 #3F38C2 #C23876
split-complementary
#BBC238 #3876C2 #8438C2
monochromatic
#5F631D #8D932A #BBC238 #CDD265 #DCE094

Accessibility & contrast

On white

1.93
#BBC238 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.89
#BBC238 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BBC238
10.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BBC238#FFFFFF#000000##000000
##BBC2381.001.9310.8910.89
#FFFFFF1.931.0021.0021.00
#00000010.8921.001.001.00
##00000010.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1B91F
Deuteranopia (green-blind)
#D1BC43
Tritanopia (blue-blind)
#C8B6A7
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #bbc238;
/* rgb */ color: rgb(187, 194, 56);
/* oklch */ color: oklch(78.4% 0.155 112.4);
Tailwind
colors: {
  custom: {
    50: '#d3d478',
    500: '#bbc238',
    950: '#000000',
  },
}
SCSS
$custom: #bbc238;
$custom-light: #d3d478;
$custom-dark: #000000;
JSON
{
  "hex": "#bbc238",
  "rgb": {
    "r": 187,
    "g": 194,
    "b": 56
  },
  "hsl": {
    "h": 63.043,
    "s": 55.2,
    "l": 49.02
  },
  "oklch": {
    "l": 0.78414,
    "c": 0.15492,
    "h": 112.4
  },
  "luminance": 0.49434
}

Semantic roles & 50–950 ramp

primary
#BBC238
secondary
#8E8ACB
accent
#49DF51
background
#FDFCF7
surface
#FAF9EE
border
#D3D2C9
text
#151409
muted
#83827B

Preview Lab

Preview with #BBC238

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

Preview Lab → · Contrast checker → · Palette generator →

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