#BCB945#BCB945

#BCB945 is a light, vivid yellow. Relative luminance 0.458; OKLCH L 76.6% C 0.136 H 107.8°. Best body text is #000000 at 10.16:1 contrast (WCAG AA passes).

Color values

HEX#BCB945
RGBrgb(188, 185, 69)
HSLhsl(58, 47%, 50%)
HSVhsv(58, 63%, 74%)
CMYKcmyk(0%, 1.6%, 63.3%, 26.3%)
CIE-LABlab(73.43, -13.40, 57.22)
CIE-LCHlch(73.43, 58.77, 103.19°)
OKLaboklab(76.63% -0.0417 0.1298)
OKLCHoklch(76.63% 0.136 107.8)
XYZxyz(39.1635, 45.8202, 12.4103)
Luminance0.4582 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BCB945 #4548BC
analogous
#BC7D45 #BCB945 #84BC45
triadic
#BCB945 #45BCB9 #B945BC
tetradic
#BCB945 #45BC7D #4548BC #BC4584
square
#BCB945 #45BC7D #4548BC #BC4584
split-complementary
#BCB945 #4584BC #7D45BC
monochromatic
#636124 #908E34 #BCB945 #CCCA72 #DCDB9F

Accessibility & contrast

On white

2.07
#BCB945 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.16
#BCB945 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BCB945
10.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BCB945#FFFFFF#000000##000000
##BCB9451.002.0710.1610.16
#FFFFFF2.071.0021.0021.00
#00000010.1621.001.001.00
##00000010.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B236
Deuteranopia (green-blind)
#CAB64C
Tritanopia (blue-blind)
#C9AEA1
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #bcb945;
/* rgb */ color: rgb(188, 185, 69);
/* oklch */ color: oklch(76.6% 0.136 107.8);
Tailwind
colors: {
  custom: {
    50: '#d3cd7e',
    500: '#bcb945',
    950: '#000000',
  },
}
SCSS
$custom: #bcb945;
$custom-light: #d3cd7e;
$custom-dark: #000000;
JSON
{
  "hex": "#bcb945",
  "rgb": {
    "r": 188,
    "g": 185,
    "b": 69
  },
  "hsl": {
    "h": 58.487,
    "s": 47.036,
    "l": 50.392
  },
  "oklch": {
    "l": 0.76632,
    "c": 0.13636,
    "h": 107.8
  },
  "luminance": 0.45819
}

Semantic roles & 50–950 ramp

primary
#BCB945
secondary
#9495C9
accent
#55D751
background
#FDFCF7
surface
#FAF9EE
border
#D3D2C9
text
#15130A
muted
#83827C

Preview Lab

Preview with #BCB945

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

Preview Lab → · Contrast checker → · Palette generator →

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