#BCAF38#BCAF38

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

Color values

HEX#BCAF38
RGBrgb(188, 175, 56)
HSLhsl(54, 54%, 48%)
HSVhsv(54, 70%, 74%)
CMYKcmyk(0%, 6.9%, 70.2%, 26.3%)
CIE-LABlab(70.62, -8.99, 59.59)
CIE-LCHlch(70.62, 60.27, 98.58°)
OKLaboklab(74.37% -0.0306 0.1327)
OKLCHoklch(74.37% 0.136 103)
XYZxyz(36.7844, 41.6384, 9.8400)
Luminance0.4164 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BCAF38 #3845BC
analogous
#BC6D38 #BCAF38 #87BC38
triadic
#BCAF38 #38BCAF #AF38BC
tetradic
#BCAF38 #38BC6D #3845BC #BC3887
square
#BCAF38 #38BC6D #3845BC #BC3887
split-complementary
#BCAF38 #3887BC #6D38BC
monochromatic
#5E571C #8D832A #BCAF38 #D0C561 #DED690

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BCAF38#FFFFFF#000000##000000
##BCAF381.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)
#BFA926
Deuteranopia (green-blind)
#C3AF40
Tritanopia (blue-blind)
#CAA397
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #bcaf38;
/* rgb */ color: rgb(188, 175, 56);
/* oklch */ color: oklch(74.4% 0.136 103.0);
Tailwind
colors: {
  custom: {
    50: '#d4c676',
    500: '#bcaf38',
    950: '#000000',
  },
}
SCSS
$custom: #bcaf38;
$custom-light: #d4c676;
$custom-dark: #000000;
JSON
{
  "hex": "#bcaf38",
  "rgb": {
    "r": 188,
    "g": 175,
    "b": 56
  },
  "hsl": {
    "h": 54.091,
    "s": 54.098,
    "l": 47.843
  },
  "oklch": {
    "l": 0.74365,
    "c": 0.13622,
    "h": 103
  },
  "luminance": 0.41637
}

Semantic roles & 50–950 ramp

primary
#BCAF38
secondary
#878DC9
accent
#59DD4A
background
#FDFCF7
surface
#FBF8ED
border
#D4D1C8
text
#151309
muted
#83827B

Preview Lab

Preview with #BCAF38

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

Preview Lab → · Contrast checker → · Palette generator →

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