#BCCB38#BCCB38

#BCCB38 is a light, vivid yellow. Relative luminance 0.537; OKLCH L 80.5% C 0.164 H 115.3°. Best body text is #000000 at 11.74:1 contrast (WCAG AA passes).

Color values

HEX#BCCB38
RGBrgb(188, 203, 56)
HSLhsl(66, 59%, 51%)
HSVhsv(66, 72%, 80%)
CMYKcmyk(7.4%, 0%, 72.4%, 20.4%)
CIE-LABlab(78.28, -23.11, 67.07)
CIE-LCHlch(78.28, 70.94, 109.01°)
OKLaboklab(80.48% -0.0702 0.1485)
OKLCHoklch(80.48% 0.164 115.3)
XYZxyz(42.8099, 53.6895, 11.8485)
Luminance0.5369 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BCCB38 #4738CB
analogous
#CB9038 #BCCB38 #73CB38
triadic
#BCCB38 #38BCCB #CB38BC
tetradic
#BCCB38 #38CB90 #4738CB #CB3873
square
#BCCB38 #38CB90 #4738CB #CB3873
split-complementary
#BCCB38 #3873CB #9038CB
monochromatic
#646C1C #919D29 #BCCB38 #CCD869 #DDE499

Accessibility & contrast

On white

1.79
#BCCB38 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.74
#BCCB38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BCCB38
11.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BCCB38#FFFFFF#000000##000000
##BCCB381.001.7911.7411.74
#FFFFFF1.791.0021.0021.00
#00000011.7421.001.001.00
##00000011.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C11B
Deuteranopia (green-blind)
#D8C344
Tritanopia (blue-blind)
#C8BFAF
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #bccb38;
/* rgb */ color: rgb(188, 203, 56);
/* oklch */ color: oklch(80.5% 0.164 115.3);
Tailwind
colors: {
  custom: {
    50: '#d4da79',
    500: '#bccb38',
    950: '#000000',
  },
}
SCSS
$custom: #bccb38;
$custom-light: #d4da79;
$custom-dark: #000000;
JSON
{
  "hex": "#bccb38",
  "rgb": {
    "r": 188,
    "g": 203,
    "b": 56
  },
  "hsl": {
    "h": 66.122,
    "s": 58.566,
    "l": 50.784
  },
  "oklch": {
    "l": 0.80484,
    "c": 0.16424,
    "h": 115.3
  },
  "luminance": 0.53689
}

Semantic roles & 50–950 ramp

primary
#BCCB38
secondary
#383176
accent
#46E256
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#15140A
muted
#84837D

Preview Lab

Preview with #BCCB38

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

Preview Lab → · Contrast checker → · Palette generator →

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