#BCAF22#BCAF22

#BCAF22 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#BCAF22
RGBrgb(188, 175, 34)
HSLhsl(55, 69%, 44%)
HSVhsv(55, 82%, 74%)
CMYKcmyk(0%, 6.9%, 81.9%, 26.3%)
CIE-LABlab(70.50, -9.89, 66.79)
CIE-LCHlch(70.50, 67.52, 98.43°)
OKLaboklab(74.23% -0.0352 0.1439)
OKLCHoklch(74.23% 0.148 103.7)
XYZxyz(36.3595, 41.4684, 7.6021)
Luminance0.4147 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BCAF22 #222FBC
analogous
#BC6222 #BCAF22 #7CBC22
triadic
#BCAF22 #22BCAF #AF22BC
tetradic
#BCAF22 #22BC62 #222FBC #BC227C
square
#BCAF22 #22BC62 #222FBC #BC227C
split-complementary
#BCAF22 #227CBC #6222BC
monochromatic
#544F0F #887F19 #BCAF22 #DCCF3F #E6DC73

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BCAF22#FFFFFF#000000##000000
##BCAF221.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: #bcaf22;
/* rgb */ color: rgb(188, 175, 34);
/* oklch */ color: oklch(74.2% 0.148 103.7);
Tailwind
colors: {
  custom: {
    50: '#d4c66c',
    500: '#bcaf22',
    950: '#000000',
  },
}
SCSS
$custom: #bcaf22;
$custom-light: #d4c66c;
$custom-dark: #000000;
JSON
{
  "hex": "#bcaf22",
  "rgb": {
    "r": 188,
    "g": 175,
    "b": 34
  },
  "hsl": {
    "h": 54.935,
    "s": 69.369,
    "l": 43.529
  },
  "oklch": {
    "l": 0.74234,
    "c": 0.14815,
    "h": 103.7
  },
  "luminance": 0.41467
}

Semantic roles & 50–950 ramp

primary
#BCAF22
secondary
#6D75CD
accent
#4BEC3C
background
#FDFCF6
surface
#FBF8EC
border
#D4D1C7
text
#151208
muted
#83817B

Preview Lab

Preview with #BCAF22

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

Preview Lab → · Contrast checker → · Palette generator →

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