#BCA838#BCA838

#BCA838 is a light, vivid yellow. Relative luminance 0.390; OKLCH L 72.9% C 0.130 H 98.9°. Best body text is #000000 at 8.80:1 contrast (WCAG AA passes).

Color values

HEX#BCA838
RGBrgb(188, 168, 56)
HSLhsl(51, 54%, 48%)
HSVhsv(51, 70%, 74%)
CMYKcmyk(0%, 10.6%, 70.2%, 26.3%)
CIE-LABlab(68.74, -5.32, 57.72)
CIE-LCHlch(68.74, 57.96, 95.27°)
OKLaboklab(72.87% -0.0202 0.1288)
OKLCHoklch(72.87% 0.13 98.9)
XYZxyz(35.4571, 38.9838, 9.3976)
Luminance0.3898 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BCA838 #384CBC
analogous
#BC6638 #BCA838 #8EBC38
triadic
#BCA838 #38BCA8 #A838BC
tetradic
#BCA838 #38BC66 #384CBC #BC388E
square
#BCA838 #38BC66 #384CBC #BC388E
split-complementary
#BCA838 #388EBC #6638BC
monochromatic
#5E541C #8D7E2A #BCA838 #D0BF61 #DED290

Accessibility & contrast

On white

2.39
#BCA838 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.80
#BCA838 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BCA838
8.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BCA838#FFFFFF#000000##000000
##BCA8381.002.398.808.80
#FFFFFF2.391.0021.0021.00
#0000008.8021.001.001.00
##0000008.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A428
Deuteranopia (green-blind)
#BEAB3F
Tritanopia (blue-blind)
#CB9C91
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #bca838;
/* rgb */ color: rgb(188, 168, 56);
/* oklch */ color: oklch(72.9% 0.130 98.9);
Tailwind
colors: {
  custom: {
    50: '#d4c175',
    500: '#bca838',
    950: '#000000',
  },
}
SCSS
$custom: #bca838;
$custom-light: #d4c175;
$custom-dark: #000000;
JSON
{
  "hex": "#bca838",
  "rgb": {
    "r": 188,
    "g": 168,
    "b": 56
  },
  "hsl": {
    "h": 50.909,
    "s": 54.098,
    "l": 47.843
  },
  "oklch": {
    "l": 0.72872,
    "c": 0.13033,
    "h": 98.9
  },
  "luminance": 0.38982
}

Semantic roles & 50–950 ramp

primary
#BCA838
secondary
#8791C9
accent
#61DD4A
background
#FDFBF7
surface
#FBF7ED
border
#D4D0C8
text
#151209
muted
#83817B

Preview Lab

Preview with #BCA838

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

Preview Lab → · Contrast checker → · Palette generator →

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