#BCAF3B#BCAF3B

#BCAF3B is a light, vivid yellow. Relative luminance 0.417; OKLCH L 74.4% C 0.134 H 102.9°. Best body text is #000000 at 9.33:1 contrast (WCAG AA passes).

Color values

HEX#BCAF3B
RGBrgb(188, 175, 59)
HSLhsl(54, 52%, 48%)
HSVhsv(54, 69%, 74%)
CMYKcmyk(0%, 6.9%, 68.6%, 26.3%)
CIE-LABlab(70.64, -8.83, 58.44)
CIE-LCHlch(70.64, 59.10, 98.60°)
OKLaboklab(74.39% -0.0298 0.1308)
OKLCHoklch(74.39% 0.134 102.9)
XYZxyz(36.8600, 41.6686, 10.2381)
Luminance0.4167 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BCAF3B #3B48BC
analogous
#BC6E3B #BCAF3B #89BC3B
triadic
#BCAF3B #3BBCAF #AF3BBC
tetradic
#BCAF3B #3BBC6E #3B48BC #BC3B89
square
#BCAF3B #3BBC6E #3B48BC #BC3B89
split-complementary
#BCAF3B #3B89BC #6E3BBC
monochromatic
#5F581E #8D842C #BCAF3B #CFC465 #DDD694

Accessibility & contrast

On white

2.25
#BCAF3B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.33
#BCAF3B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BCAF3B
9.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BCAF3B#FFFFFF#000000##000000
##BCAF3B1.002.259.339.33
#FFFFFF2.251.0021.0021.00
#0000009.3321.001.001.00
##0000009.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFA92A
Deuteranopia (green-blind)
#C3AF42
Tritanopia (blue-blind)
#CAA398
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #bcaf3b;
/* rgb */ color: rgb(188, 175, 59);
/* oklch */ color: oklch(74.4% 0.134 102.9);
Tailwind
colors: {
  custom: {
    50: '#d4c678',
    500: '#bcaf3b',
    950: '#000000',
  },
}
SCSS
$custom: #bcaf3b;
$custom-light: #d4c678;
$custom-dark: #000000;
JSON
{
  "hex": "#bcaf3b",
  "rgb": {
    "r": 188,
    "g": 175,
    "b": 59
  },
  "hsl": {
    "h": 53.953,
    "s": 52.227,
    "l": 48.431
  },
  "oklch": {
    "l": 0.74389,
    "c": 0.13416,
    "h": 102.9
  },
  "luminance": 0.41667
}

Semantic roles & 50–950 ramp

primary
#BCAF3B
secondary
#8A90C9
accent
#5BDC4C
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#151309
muted
#83827B

Preview Lab

Preview with #BCAF3B

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

Preview Lab → · Contrast checker → · Palette generator →

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