#BCAB2F#BCAB2F

#BCAB2F is a light, vivid yellow. Relative luminance 0.400; OKLCH L 73.4% C 0.138 H 101.2°. Best body text is #000000 at 9.00:1 contrast (WCAG AA passes).

Color values

HEX#BCAB2F
RGBrgb(188, 171, 47)
HSLhsl(53, 60%, 46%)
HSVhsv(53, 75%, 74%)
CMYKcmyk(0%, 9%, 75%, 26.3%)
CIE-LABlab(69.49, -7.33, 61.82)
CIE-LCHlch(69.49, 62.25, 96.76°)
OKLaboklab(73.45% -0.0268 0.1358)
OKLCHoklch(73.45% 0.138 101.2)
XYZxyz(35.8167, 40.0241, 8.5276)
Luminance0.4002 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BCAB2F #2F40BC
analogous
#BC642F #BCAB2F #86BC2F
triadic
#BCAB2F #2FBCAB #AB2FBC
tetradic
#BCAB2F #2FBC64 #2F40BC #BC2F86
square
#BCAB2F #2FBC64 #2F40BC #BC2F86
split-complementary
#BCAB2F #2F86BC #642FBC
monochromatic
#5A5217 #8B7E23 #BCAB2F #D4C554 #E0D585

Accessibility & contrast

On white

2.33
#BCAB2F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.00
#BCAB2F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BCAB2F
9.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BCAB2F#FFFFFF#000000##000000
##BCAB2F1.002.339.009.00
#FFFFFF2.331.0021.0021.00
#0000009.0021.001.001.00
##0000009.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA617
Deuteranopia (green-blind)
#C0AD38
Tritanopia (blue-blind)
#CB9E93
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #bcab2f;
/* rgb */ color: rgb(188, 171, 47);
/* oklch */ color: oklch(73.4% 0.138 101.2);
Tailwind
colors: {
  custom: {
    50: '#d4c371',
    500: '#bcab2f',
    950: '#000000',
  },
}
SCSS
$custom: #bcab2f;
$custom-light: #d4c371;
$custom-dark: #000000;
JSON
{
  "hex": "#bcab2f",
  "rgb": {
    "r": 188,
    "g": 171,
    "b": 47
  },
  "hsl": {
    "h": 52.766,
    "s": 60,
    "l": 46.078
  },
  "oklch": {
    "l": 0.73446,
    "c": 0.13841,
    "h": 101.2
  },
  "luminance": 0.40022
}

Semantic roles & 50–950 ramp

primary
#BCAB2F
secondary
#7D86CA
accent
#58E345
background
#FDFBF7
surface
#FBF7ED
border
#D4D0C8
text
#151208
muted
#83817B

Preview Lab

Preview with #BCAB2F

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

Preview Lab → · Contrast checker → · Palette generator →

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