#BCB52F#BCB52F

#BCB52F is a light, vivid yellow. Relative luminance 0.439; OKLCH L 75.6% C 0.147 H 106.4°. Best body text is #000000 at 9.79:1 contrast (WCAG AA passes).

Color values

HEX#BCB52F
RGBrgb(188, 181, 47)
HSLhsl(57, 60%, 46%)
HSVhsv(57, 75%, 74%)
CMYKcmyk(0%, 3.7%, 75%, 26.3%)
CIE-LABlab(72.19, -12.52, 64.35)
CIE-LCHlch(72.19, 65.56, 101.01°)
OKLaboklab(75.6% -0.0414 0.1412)
OKLCHoklch(75.6% 0.147 106.4)
XYZxyz(37.7776, 43.9457, 9.1812)
Luminance0.4394 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BCB52F #2F36BC
analogous
#BC6E2F #BCB52F #7CBC2F
triadic
#BCB52F #2FBCB5 #B52FBC
tetradic
#BCB52F #2FBC6E #2F36BC #BC2F7C
square
#BCB52F #2FBC6E #2F36BC #BC2F7C
split-complementary
#BCB52F #2F7CBC #6E2FBC
monochromatic
#5A5717 #8B8623 #BCB52F #D4CE54 #E0DC85

Accessibility & contrast

On white

2.15
#BCB52F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.79
#BCB52F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BCB52F
9.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BCB52F#FFFFFF#000000##000000
##BCB52F1.002.159.799.79
#FFFFFF2.151.0021.0021.00
#0000009.7921.001.001.00
##0000009.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5AE11
Deuteranopia (green-blind)
#C8B339
Tritanopia (blue-blind)
#CAA99C
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #bcb52f;
/* rgb */ color: rgb(188, 181, 47);
/* oklch */ color: oklch(75.6% 0.147 106.4);
Tailwind
colors: {
  custom: {
    50: '#d4ca72',
    500: '#bcb52f',
    950: '#000000',
  },
}
SCSS
$custom: #bcb52f;
$custom-light: #d4ca72;
$custom-dark: #000000;
JSON
{
  "hex": "#bcb52f",
  "rgb": {
    "r": 188,
    "g": 181,
    "b": 47
  },
  "hsl": {
    "h": 57.021,
    "s": 60,
    "l": 46.078
  },
  "oklch": {
    "l": 0.75599,
    "c": 0.14711,
    "h": 106.4
  },
  "luminance": 0.43944
}

Semantic roles & 50–950 ramp

primary
#BCB52F
secondary
#7D81CA
accent
#4DE345
background
#FDFCF7
surface
#FBF8ED
border
#D4D1C8
text
#151308
muted
#83827B

Preview Lab

Preview with #BCB52F

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

Preview Lab → · Contrast checker → · Palette generator →

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