#BCAF42#BCAF42

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

Color values

HEX#BCAF42
RGBrgb(188, 175, 66)
HSLhsl(54, 48%, 50%)
HSVhsv(54, 65%, 74%)
CMYKcmyk(0%, 6.9%, 64.9%, 26.3%)
CIE-LABlab(70.70, -8.43, 55.60)
CIE-LCHlch(70.70, 56.24, 98.62°)
OKLaboklab(74.45% -0.0279 0.126)
OKLCHoklch(74.45% 0.129 102.5)
XYZxyz(37.0538, 41.7461, 11.2592)
Luminance0.4174 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BCAF42 #424FBC
analogous
#BC7242 #BCAF42 #8CBC42
triadic
#BCAF42 #42BCAF #AF42BC
tetradic
#BCAF42 #42BC72 #424FBC #BC428C
square
#BCAF42 #42BC72 #424FBC #BC428C
split-complementary
#BCAF42 #428CBC #7242BC
monochromatic
#615B22 #8F8532 #BCAF42 #CCC26F #DCD59C

Accessibility & contrast

On white

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

On black

9.35
#BCAF42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BCAF42
9.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BCAF42#FFFFFF#000000##000000
##BCAF421.002.259.359.35
#FFFFFF2.251.0021.0021.00
#0000009.3521.001.001.00
##0000009.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEAA34
Deuteranopia (green-blind)
#C2B048
Tritanopia (blue-blind)
#CAA398
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #bcaf42;
/* rgb */ color: rgb(188, 175, 66);
/* oklch */ color: oklch(74.4% 0.129 102.5);
Tailwind
colors: {
  custom: {
    50: '#d3c67c',
    500: '#bcaf42',
    950: '#000000',
  },
}
SCSS
$custom: #bcaf42;
$custom-light: #d3c67c;
$custom-dark: #000000;
JSON
{
  "hex": "#bcaf42",
  "rgb": {
    "r": 188,
    "g": 175,
    "b": 66
  },
  "hsl": {
    "h": 53.607,
    "s": 48.031,
    "l": 49.804
  },
  "oklch": {
    "l": 0.74449,
    "c": 0.12902,
    "h": 102.5
  },
  "luminance": 0.41745
}

Semantic roles & 50–950 ramp

primary
#BCAF42
secondary
#9197C9
accent
#5FD850
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#15130A
muted
#83827C

Preview Lab

Preview with #BCAF42

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

Preview Lab → · Contrast checker → · Palette generator →

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