#BCAF23#BCAF23

#BCAF23 is a light, vivid yellow. Relative luminance 0.415; OKLCH L 74.2% C 0.148 H 103.7°. Best body text is #000000 at 9.29:1 contrast (WCAG AA passes).

Color values

HEX#BCAF23
RGBrgb(188, 175, 35)
HSLhsl(55, 69%, 44%)
HSVhsv(55, 81%, 74%)
CMYKcmyk(0%, 6.9%, 81.4%, 26.3%)
CIE-LABlab(70.51, -9.86, 66.52)
CIE-LCHlch(70.51, 67.25, 98.43°)
OKLaboklab(74.24% -0.035 0.1435)
OKLCHoklch(74.24% 0.148 103.7)
XYZxyz(36.3741, 41.4742, 7.6791)
Luminance0.4147 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BCAF23 #2330BC
analogous
#BC6223 #BCAF23 #7CBC23
triadic
#BCAF23 #23BCAF #AF23BC
tetradic
#BCAF23 #23BC62 #2330BC #BC237C
square
#BCAF23 #23BC62 #2330BC #BC237C
split-complementary
#BCAF23 #237CBC #6223BC
monochromatic
#554F10 #887F19 #BCAF23 #DCCE41 #E5DC74

Accessibility & contrast

On white

2.26
#BCAF23 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.29
#BCAF23 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BCAF23
9.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BCAF23#FFFFFF#000000##000000
##BCAF231.002.269.299.29
#FFFFFF2.261.0021.0021.00
#0000009.2921.001.001.00
##0000009.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0A900
Deuteranopia (green-blind)
#C4AF2F
Tritanopia (blue-blind)
#CBA296
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #bcaf23;
/* rgb */ color: rgb(188, 175, 35);
/* oklch */ color: oklch(74.2% 0.148 103.7);
Tailwind
colors: {
  custom: {
    50: '#d4c66c',
    500: '#bcaf23',
    950: '#000000',
  },
}
SCSS
$custom: #bcaf23;
$custom-light: #d4c66c;
$custom-dark: #000000;
JSON
{
  "hex": "#bcaf23",
  "rgb": {
    "r": 188,
    "g": 175,
    "b": 35
  },
  "hsl": {
    "h": 54.902,
    "s": 68.61,
    "l": 43.725
  },
  "oklch": {
    "l": 0.74239,
    "c": 0.14773,
    "h": 103.7
  },
  "luminance": 0.41473
}

Semantic roles & 50–950 ramp

primary
#BCAF23
secondary
#6F76CC
accent
#4BEB3C
background
#FDFCF6
surface
#FBF8EC
border
#D4D1C7
text
#151208
muted
#83817B

Preview Lab

Preview with #BCAF23

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

Preview Lab → · Contrast checker → · Palette generator →

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