#BCB138#BCB138

#BCB138 is a light, vivid yellow. Relative luminance 0.424; OKLCH L 74.8% C 0.138 H 104.1°. Best body text is #000000 at 9.48:1 contrast (WCAG AA passes).

Color values

HEX#BCB138
RGBrgb(188, 177, 56)
HSLhsl(55, 54%, 48%)
HSVhsv(55, 70%, 74%)
CMYKcmyk(0%, 5.9%, 70.2%, 26.3%)
CIE-LABlab(71.16, -10.03, 60.13)
CIE-LCHlch(71.16, 60.96, 99.47°)
OKLaboklab(74.8% -0.0336 0.1339)
OKLCHoklch(74.8% 0.138 104.1)
XYZxyz(37.1765, 42.4226, 9.9707)
Luminance0.4242 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BCB138 #3843BC
analogous
#BC6F38 #BCB138 #85BC38
triadic
#BCB138 #38BCB1 #B138BC
tetradic
#BCB138 #38BC6F #3843BC #BC3885
square
#BCB138 #38BC6F #3843BC #BC3885
split-complementary
#BCB138 #3885BC #6F38BC
monochromatic
#5E581C #8D852A #BCB138 #D0C761 #DED890

Accessibility & contrast

On white

2.21
#BCB138 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.48
#BCB138 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BCB138
9.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BCB138#FFFFFF#000000##000000
##BCB1381.002.219.489.48
#FFFFFF2.211.0021.0021.00
#0000009.4821.001.001.00
##0000009.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AB25
Deuteranopia (green-blind)
#C4B140
Tritanopia (blue-blind)
#CAA599
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #bcb138;
/* rgb */ color: rgb(188, 177, 56);
/* oklch */ color: oklch(74.8% 0.138 104.1);
Tailwind
colors: {
  custom: {
    50: '#d4c876',
    500: '#bcb138',
    950: '#000000',
  },
}
SCSS
$custom: #bcb138;
$custom-light: #d4c876;
$custom-dark: #000000;
JSON
{
  "hex": "#bcb138",
  "rgb": {
    "r": 188,
    "g": 177,
    "b": 56
  },
  "hsl": {
    "h": 55,
    "s": 54.098,
    "l": 47.843
  },
  "oklch": {
    "l": 0.74795,
    "c": 0.138,
    "h": 104.1
  },
  "luminance": 0.42421
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BCB138

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

Preview Lab → · Contrast checker → · Palette generator →

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