#BCAF2F#BCAF2F

#BCAF2F is a light, vivid yellow. Relative luminance 0.416; OKLCH L 74.3% C 0.142 H 103.3°. Best body text is #000000 at 9.31:1 contrast (WCAG AA passes).

Color values

HEX#BCAF2F
RGBrgb(188, 175, 47)
HSLhsl(54, 60%, 46%)
HSVhsv(54, 75%, 74%)
CMYKcmyk(0%, 6.9%, 75%, 26.3%)
CIE-LABlab(70.57, -9.42, 62.83)
CIE-LCHlch(70.57, 63.54, 98.52°)
OKLaboklab(74.3% -0.0327 0.1379)
OKLCHoklch(74.3% 0.142 103.3)
XYZxyz(36.5837, 41.5581, 8.7833)
Luminance0.4156 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BCAF2F #2F3CBC
analogous
#BC682F #BCAF2F #82BC2F
triadic
#BCAF2F #2FBCAF #AF2FBC
tetradic
#BCAF2F #2FBC68 #2F3CBC #BC2F82
square
#BCAF2F #2FBC68 #2F3CBC #BC2F82
split-complementary
#BCAF2F #2F82BC #682FBC
monochromatic
#5A5417 #8B8123 #BCAF2F #D4C854 #E0D885

Accessibility & contrast

On white

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

On black

9.31
#BCAF2F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BCAF2F
9.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BCAF2F#FFFFFF#000000##000000
##BCAF2F1.002.269.319.31
#FFFFFF2.261.0021.0021.00
#0000009.3121.001.001.00
##0000009.3121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #bcaf2f;
/* rgb */ color: rgb(188, 175, 47);
/* oklch */ color: oklch(74.3% 0.142 103.3);
Tailwind
colors: {
  custom: {
    50: '#d4c671',
    500: '#bcaf2f',
    950: '#000000',
  },
}
SCSS
$custom: #bcaf2f;
$custom-light: #d4c671;
$custom-dark: #000000;
JSON
{
  "hex": "#bcaf2f",
  "rgb": {
    "r": 188,
    "g": 175,
    "b": 47
  },
  "hsl": {
    "h": 54.468,
    "s": 60,
    "l": 46.078
  },
  "oklch": {
    "l": 0.74303,
    "c": 0.14176,
    "h": 103.3
  },
  "luminance": 0.41557
}

Semantic roles & 50–950 ramp

primary
#BCAF2F
secondary
#7D84CA
accent
#53E345
background
#FDFCF7
surface
#FBF8ED
border
#D4D1C8
text
#151308
muted
#83827B

Preview Lab

Preview with #BCAF2F

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

Preview Lab → · Contrast checker → · Palette generator →

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