#BC9E28#BC9E28

#BC9E28 is a light, vivid yellow. Relative luminance 0.353; OKLCH L 70.7% C 0.133 H 93.8°. Best body text is #000000 at 8.06:1 contrast (WCAG AA passes).

Color values

HEX#BC9E28
RGBrgb(188, 158, 40)
HSLhsl(48, 65%, 45%)
HSVhsv(48, 79%, 74%)
CMYKcmyk(0%, 16%, 78.7%, 26.3%)
CIE-LABlab(65.98, -0.71, 60.98)
CIE-LCHlch(65.98, 60.99, 90.66°)
OKLaboklab(70.66% -0.0088 0.1326)
OKLCHoklch(70.66% 0.133 93.8)
XYZxyz(33.3508, 35.3003, 7.0641)
Luminance0.3530 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BC9E28 #2846BC
analogous
#BC5428 #BC9E28 #90BC28
triadic
#BC9E28 #28BC9E #9E28BC
tetradic
#BC9E28 #28BC54 #2846BC #BC2890
square
#BC9E28 #28BC54 #2846BC #BC2890
split-complementary
#BC9E28 #2890BC #5428BC
monochromatic
#574913 #8A741D #BC9E28 #D8BB49 #E3CE7B

Accessibility & contrast

On white

2.61
#BC9E28 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.06
#BC9E28 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BC9E28
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BC9E28#FFFFFF#000000##000000
##BC9E281.002.618.068.06
#FFFFFF2.611.0021.0021.00
#0000008.0621.001.001.00
##0000008.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09B0D
Deuteranopia (green-blind)
#B7A430
Tritanopia (blue-blind)
#CC9188
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #bc9e28;
/* rgb */ color: rgb(188, 158, 40);
/* oklch */ color: oklch(70.7% 0.133 93.8);
Tailwind
colors: {
  custom: {
    50: '#d5ba6c',
    500: '#bc9e28',
    950: '#000000',
  },
}
SCSS
$custom: #bc9e28;
$custom-light: #d5ba6c;
$custom-dark: #000000;
JSON
{
  "hex": "#bc9e28",
  "rgb": {
    "r": 188,
    "g": 158,
    "b": 40
  },
  "hsl": {
    "h": 47.838,
    "s": 64.912,
    "l": 44.706
  },
  "oklch": {
    "l": 0.70658,
    "c": 0.13288,
    "h": 93.8
  },
  "luminance": 0.35298
}

Semantic roles & 50–950 ramp

primary
#BC9E28
secondary
#7586CB
accent
#62E840
background
#FDFBF6
surface
#FBF6EC
border
#D4D0C7
text
#151107
muted
#83807A

Preview Lab

Preview with #BC9E28

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

Preview Lab → · Contrast checker → · Palette generator →

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