#BCA72F#BCA72F

#BCA72F is a light, vivid yellow. Relative luminance 0.385; OKLCH L 72.6% C 0.135 H 98.9°. Best body text is #000000 at 8.71:1 contrast (WCAG AA passes).

Color values

HEX#BCA72F
RGBrgb(188, 167, 47)
HSLhsl(51, 60%, 46%)
HSVhsv(51, 75%, 74%)
CMYKcmyk(0%, 11.2%, 75%, 26.3%)
CIE-LABlab(68.41, -5.22, 60.81)
CIE-LCHlch(68.41, 61.03, 94.91°)
OKLaboklab(72.6% -0.0209 0.1336)
OKLCHoklch(72.6% 0.135 98.9)
XYZxyz(35.0726, 38.5358, 8.2795)
Luminance0.3853 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BCA72F #2F44BC
analogous
#BC602F #BCA72F #8ABC2F
triadic
#BCA72F #2FBCA7 #A72FBC
tetradic
#BCA72F #2FBC60 #2F44BC #BC2F8A
square
#BCA72F #2FBC60 #2F44BC #BC2F8A
split-complementary
#BCA72F #2F8ABC #602FBC
monochromatic
#5A5017 #8B7C23 #BCA72F #D4C154 #E0D385

Accessibility & contrast

On white

2.41
#BCA72F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.71
#BCA72F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BCA72F
8.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BCA72F#FFFFFF#000000##000000
##BCA72F1.002.418.718.71
#FFFFFF2.411.0021.0021.00
#0000008.7121.001.001.00
##0000008.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A318
Deuteranopia (green-blind)
#BDAA37
Tritanopia (blue-blind)
#CB9A90
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #bca72f;
/* rgb */ color: rgb(188, 167, 47);
/* oklch */ color: oklch(72.6% 0.135 98.9);
Tailwind
colors: {
  custom: {
    50: '#d4c070',
    500: '#bca72f',
    950: '#000000',
  },
}
SCSS
$custom: #bca72f;
$custom-light: #d4c070;
$custom-dark: #000000;
JSON
{
  "hex": "#bca72f",
  "rgb": {
    "r": 188,
    "g": 167,
    "b": 47
  },
  "hsl": {
    "h": 51.064,
    "s": 60,
    "l": 46.078
  },
  "oklch": {
    "l": 0.72595,
    "c": 0.13525,
    "h": 98.9
  },
  "luminance": 0.38534
}

Semantic roles & 50–950 ramp

primary
#BCA72F
secondary
#7D88CA
accent
#5CE345
background
#FDFBF7
surface
#FBF7ED
border
#D4D0C8
text
#151208
muted
#83817B

Preview Lab

Preview with #BCA72F

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

Preview Lab → · Contrast checker → · Palette generator →

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