#BCAF3A#BCAF3A

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

Color values

HEX#BCAF3A
RGBrgb(188, 175, 58)
HSLhsl(54, 53%, 48%)
HSVhsv(54, 69%, 74%)
CMYKcmyk(0%, 6.9%, 69.1%, 26.3%)
CIE-LABlab(70.63, -8.89, 58.83)
CIE-LCHlch(70.63, 59.49, 98.59°)
OKLaboklab(74.38% -0.0301 0.1315)
OKLCHoklch(74.38% 0.135 102.9)
XYZxyz(36.8343, 41.6583, 10.1028)
Luminance0.4166 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BCAF3A #3A47BC
analogous
#BC6E3A #BCAF3A #88BC3A
triadic
#BCAF3A #3ABCAF #AF3ABC
tetradic
#BCAF3A #3ABC6E #3A47BC #BC3A88
square
#BCAF3A #3ABC6E #3A47BC #BC3A88
split-complementary
#BCAF3A #3A88BC #6E3ABC
monochromatic
#5E581D #8D832C #BCAF3A #CFC464 #DED693

Accessibility & contrast

On white

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

On black

9.33
#BCAF3A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BCAF3A
9.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BCAF3A#FFFFFF#000000##000000
##BCAF3A1.002.259.339.33
#FFFFFF2.251.0021.0021.00
#0000009.3321.001.001.00
##0000009.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFA929
Deuteranopia (green-blind)
#C3AF41
Tritanopia (blue-blind)
#CAA397
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #bcaf3a;
/* rgb */ color: rgb(188, 175, 58);
/* oklch */ color: oklch(74.4% 0.135 102.9);
Tailwind
colors: {
  custom: {
    50: '#d4c677',
    500: '#bcaf3a',
    950: '#000000',
  },
}
SCSS
$custom: #bcaf3a;
$custom-light: #d4c677;
$custom-dark: #000000;
JSON
{
  "hex": "#bcaf3a",
  "rgb": {
    "r": 188,
    "g": 175,
    "b": 58
  },
  "hsl": {
    "h": 54,
    "s": 52.846,
    "l": 48.235
  },
  "oklch": {
    "l": 0.74381,
    "c": 0.13485,
    "h": 102.9
  },
  "luminance": 0.41657
}

Semantic roles & 50–950 ramp

primary
#BCAF3A
secondary
#898FC9
accent
#5ADC4C
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#151309
muted
#83827B

Preview Lab

Preview with #BCAF3A

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

Preview Lab → · Contrast checker → · Palette generator →

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