#BCA338#BCA338

#BCA338 is a light, vivid yellow. Relative luminance 0.372; OKLCH L 71.8% C 0.127 H 95.7°. Best body text is #000000 at 8.43:1 contrast (WCAG AA passes).

Color values

HEX#BCA338
RGBrgb(188, 163, 56)
HSLhsl(49, 54%, 48%)
HSVhsv(49, 70%, 74%)
CMYKcmyk(0%, 13.3%, 70.2%, 26.3%)
CIE-LABlab(67.41, -2.67, 56.38)
CIE-LCHlch(67.41, 56.44, 92.71°)
OKLaboklab(71.82% -0.0126 0.1259)
OKLCHoklch(71.82% 0.127 95.7)
XYZxyz(34.5518, 37.1731, 9.0958)
Luminance0.3717 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BCA338 #3851BC
analogous
#BC6138 #BCA338 #93BC38
triadic
#BCA338 #38BCA3 #A338BC
tetradic
#BCA338 #38BC61 #3851BC #BC3893
square
#BCA338 #38BC61 #3851BC #BC3893
split-complementary
#BCA338 #3893BC #6138BC
monochromatic
#5E511C #8D7A2A #BCA338 #D0BB61 #DECF90

Accessibility & contrast

On white

2.49
#BCA338 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.43
#BCA338 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BCA338
8.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BCA338#FFFFFF#000000##000000
##BCA3381.002.498.438.43
#FFFFFF2.491.0021.0021.00
#0000008.4321.001.001.00
##0000008.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B4A029
Deuteranopia (green-blind)
#BAA83E
Tritanopia (blue-blind)
#CB978D
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #bca338;
/* rgb */ color: rgb(188, 163, 56);
/* oklch */ color: oklch(71.8% 0.127 95.7);
Tailwind
colors: {
  custom: {
    50: '#d4bd75',
    500: '#bca338',
    950: '#000000',
  },
}
SCSS
$custom: #bca338;
$custom-light: #d4bd75;
$custom-dark: #000000;
JSON
{
  "hex": "#bca338",
  "rgb": {
    "r": 188,
    "g": 163,
    "b": 56
  },
  "hsl": {
    "h": 48.636,
    "s": 54.098,
    "l": 47.843
  },
  "oklch": {
    "l": 0.71816,
    "c": 0.12655,
    "h": 95.7
  },
  "luminance": 0.37171
}

Semantic roles & 50–950 ramp

primary
#BCA338
secondary
#8793C9
accent
#66DD4A
background
#FDFBF7
surface
#FBF6ED
border
#D4D0C8
text
#151209
muted
#83817B

Preview Lab

Preview with #BCA338

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

Preview Lab → · Contrast checker → · Palette generator →

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