#BCB238#BCB238

#BCB238 is a light, vivid yellow. Relative luminance 0.428; OKLCH L 75.0% C 0.139 H 104.6°. Best body text is #000000 at 9.56:1 contrast (WCAG AA passes).

Color values

HEX#BCB238
RGBrgb(188, 178, 56)
HSLhsl(55, 54%, 48%)
HSVhsv(55, 70%, 74%)
CMYKcmyk(0%, 5.3%, 70.2%, 26.3%)
CIE-LABlab(71.43, -10.55, 60.40)
CIE-LCHlch(71.43, 61.31, 99.91°)
OKLaboklab(75.01% -0.035 0.1344)
OKLCHoklch(75.01% 0.139 104.6)
XYZxyz(37.3748, 42.8191, 10.0368)
Luminance0.4282 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BCB238 #3842BC
analogous
#BC7038 #BCB238 #84BC38
triadic
#BCB238 #38BCB2 #B238BC
tetradic
#BCB238 #38BC70 #3842BC #BC3884
square
#BCB238 #38BC70 #3842BC #BC3884
split-complementary
#BCB238 #3884BC #7038BC
monochromatic
#5E591C #8D852A #BCB238 #D0C861 #DED890

Accessibility & contrast

On white

2.20
#BCB238 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.56
#BCB238 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BCB238
9.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BCB238#FFFFFF#000000##000000
##BCB2381.002.209.569.56
#FFFFFF2.201.0021.0021.00
#0000009.5621.001.001.00
##0000009.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AC25
Deuteranopia (green-blind)
#C5B140
Tritanopia (blue-blind)
#CAA69A
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #bcb238;
/* rgb */ color: rgb(188, 178, 56);
/* oklch */ color: oklch(75.0% 0.139 104.6);
Tailwind
colors: {
  custom: {
    50: '#d4c876',
    500: '#bcb238',
    950: '#000000',
  },
}
SCSS
$custom: #bcb238;
$custom-light: #d4c876;
$custom-dark: #000000;
JSON
{
  "hex": "#bcb238",
  "rgb": {
    "r": 188,
    "g": 178,
    "b": 56
  },
  "hsl": {
    "h": 55.455,
    "s": 54.098,
    "l": 47.843
  },
  "oklch": {
    "l": 0.75011,
    "c": 0.13891,
    "h": 104.6
  },
  "luminance": 0.42818
}

Semantic roles & 50–950 ramp

primary
#BCB238
secondary
#878CC9
accent
#55DD4A
background
#FDFCF7
surface
#FBF8ED
border
#D4D1C8
text
#151309
muted
#83827B

Preview Lab

Preview with #BCB238

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

Preview Lab → · Contrast checker → · Palette generator →

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