#BCAF40#BCAF40

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

Color values

HEX#BCAF40
RGBrgb(188, 175, 64)
HSLhsl(54, 49%, 49%)
HSVhsv(54, 66%, 74%)
CMYKcmyk(0%, 6.9%, 66%, 26.3%)
CIE-LABlab(70.68, -8.55, 56.43)
CIE-LCHlch(70.68, 57.07, 98.62°)
OKLaboklab(74.43% -0.0285 0.1274)
OKLCHoklch(74.43% 0.131 102.6)
XYZxyz(36.9959, 41.7230, 10.9541)
Luminance0.4172 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BCAF40 #404DBC
analogous
#BC7140 #BCAF40 #8BBC40
triadic
#BCAF40 #40BCAF #AF40BC
tetradic
#BCAF40 #40BC71 #404DBC #BC408B
square
#BCAF40 #40BC71 #404DBC #BC408B
split-complementary
#BCAF40 #408BBC #7140BC
monochromatic
#615A21 #8E8530 #BCAF40 #CDC36C #DDD69A

Accessibility & contrast

On white

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

On black

9.34
#BCAF40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BCAF40
9.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BCAF40#FFFFFF#000000##000000
##BCAF401.002.259.349.34
#FFFFFF2.251.0021.0021.00
#0000009.3421.001.001.00
##0000009.3421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #bcaf40;
/* rgb */ color: rgb(188, 175, 64);
/* oklch */ color: oklch(74.4% 0.131 102.6);
Tailwind
colors: {
  custom: {
    50: '#d3c67a',
    500: '#bcaf40',
    950: '#000000',
  },
}
SCSS
$custom: #bcaf40;
$custom-light: #d3c67a;
$custom-dark: #000000;
JSON
{
  "hex": "#bcaf40",
  "rgb": {
    "r": 188,
    "g": 175,
    "b": 64
  },
  "hsl": {
    "h": 53.71,
    "s": 49.206,
    "l": 49.412
  },
  "oklch": {
    "l": 0.74431,
    "c": 0.13054,
    "h": 102.6
  },
  "luminance": 0.41721
}

Semantic roles & 50–950 ramp

primary
#BCAF40
secondary
#8F95C9
accent
#5DD94F
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#15130A
muted
#83827C

Preview Lab

Preview with #BCAF40

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

Preview Lab → · Contrast checker → · Palette generator →

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