#BCC938#BCC938

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

Color values

HEX#BCC938
RGBrgb(188, 201, 56)
HSLhsl(65, 57%, 50%)
HSVhsv(65, 72%, 79%)
CMYKcmyk(6.5%, 0%, 72.1%, 21.2%)
CIE-LABlab(77.73, -22.13, 66.54)
CIE-LCHlch(77.73, 70.12, 108.40°)
OKLaboklab(80.04% -0.0674 0.1474)
OKLCHoklch(80.04% 0.162 114.6)
XYZxyz(42.3407, 52.7510, 11.6921)
Luminance0.5275 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BCC938 #4538C9
analogous
#C98D38 #BCC938 #74C938
triadic
#BCC938 #38BCC9 #C938BC
tetradic
#BCC938 #38C98D #4538C9 #C93874
square
#BCC938 #38C98D #4538C9 #C93874
split-complementary
#BCC938 #3874C9 #8D38C9
monochromatic
#636A1D #909A2A #BCC938 #CCD668 #DCE398

Accessibility & contrast

On white

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

On black

11.55
#BCC938 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BCC938
11.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BCC938#FFFFFF#000000##000000
##BCC9381.001.8211.5511.55
#FFFFFF1.821.0021.0021.00
#00000011.5521.001.001.00
##00000011.5521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #bcc938;
/* rgb */ color: rgb(188, 201, 56);
/* oklch */ color: oklch(80.0% 0.162 114.6);
Tailwind
colors: {
  custom: {
    50: '#d4d979',
    500: '#bcc938',
    950: '#000000',
  },
}
SCSS
$custom: #bcc938;
$custom-light: #d4d979;
$custom-dark: #000000;
JSON
{
  "hex": "#bcc938",
  "rgb": {
    "r": 188,
    "g": 201,
    "b": 56
  },
  "hsl": {
    "h": 65.379,
    "s": 57.312,
    "l": 50.392
  },
  "oklch": {
    "l": 0.80041,
    "c": 0.16208,
    "h": 114.6
  },
  "luminance": 0.5275
}

Semantic roles & 50–950 ramp

primary
#BCC938
secondary
#373174
accent
#47E155
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#15140A
muted
#84837D

Preview Lab

Preview with #BCC938

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

Preview Lab → · Contrast checker → · Palette generator →

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