#BCA238#BCA238

#BCA238 is a light, vivid yellow. Relative luminance 0.368; OKLCH L 71.6% C 0.126 H 95.1°. Best body text is #000000 at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#BCA238
RGBrgb(188, 162, 56)
HSLhsl(48, 54%, 48%)
HSVhsv(48, 70%, 74%)
CMYKcmyk(0%, 13.8%, 70.2%, 26.3%)
CIE-LABlab(67.14, -2.13, 56.11)
CIE-LCHlch(67.14, 56.15, 92.18°)
OKLaboklab(71.61% -0.0111 0.1254)
OKLCHoklch(71.61% 0.126 95.1)
XYZxyz(34.3749, 36.8194, 9.0369)
Luminance0.3682 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BCA238 #3852BC
analogous
#BC6038 #BCA238 #94BC38
triadic
#BCA238 #38BCA2 #A238BC
tetradic
#BCA238 #38BC60 #3852BC #BC3894
square
#BCA238 #38BC60 #3852BC #BC3894
split-complementary
#BCA238 #3894BC #6038BC
monochromatic
#5E511C #8D792A #BCA238 #D0BA61 #DECF90

Accessibility & contrast

On white

2.51
#BCA238 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.36
#BCA238 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BCA238
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BCA238#FFFFFF#000000##000000
##BCA2381.002.518.368.36
#FFFFFF2.511.0021.0021.00
#0000008.3621.001.001.00
##0000008.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B39F29
Deuteranopia (green-blind)
#B9A73E
Tritanopia (blue-blind)
#CB958C
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #bca238;
/* rgb */ color: rgb(188, 162, 56);
/* oklch */ color: oklch(71.6% 0.126 95.1);
Tailwind
colors: {
  custom: {
    50: '#d4bd75',
    500: '#bca238',
    950: '#000000',
  },
}
SCSS
$custom: #bca238;
$custom-light: #d4bd75;
$custom-dark: #000000;
JSON
{
  "hex": "#bca238",
  "rgb": {
    "r": 188,
    "g": 162,
    "b": 56
  },
  "hsl": {
    "h": 48.182,
    "s": 54.098,
    "l": 47.843
  },
  "oklch": {
    "l": 0.71606,
    "c": 0.12584,
    "h": 95.1
  },
  "luminance": 0.36818
}

Semantic roles & 50–950 ramp

primary
#BCA238
secondary
#8794C9
accent
#67DD4A
background
#FDFBF7
surface
#FBF6ED
border
#D4D0C8
text
#151209
muted
#83817B

Preview Lab

Preview with #BCA238

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

Preview Lab → · Contrast checker → · Palette generator →

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