#BCAF4F#BCAF4F

#BCAF4F is a light, moderate yellow. Relative luminance 0.419; OKLCH L 74.6% C 0.118 H 101.7°. Best body text is #000000 at 9.38:1 contrast (WCAG AA passes).

Color values

HEX#BCAF4F
RGBrgb(188, 175, 79)
HSLhsl(53, 45%, 52%)
HSVhsv(53, 58%, 74%)
CMYKcmyk(0%, 6.9%, 58%, 26.3%)
CIE-LABlab(70.81, -7.54, 49.92)
CIE-LCHlch(70.81, 50.49, 98.59°)
OKLaboklab(74.58% -0.0239 0.1157)
OKLCHoklch(74.58% 0.118 101.7)
XYZxyz(37.4816, 41.9172, 13.5121)
Luminance0.4192 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BCAF4F #4F5CBC
analogous
#BC794F #BCAF4F #93BC4F
triadic
#BCAF4F #4FBCAF #AF4FBC
tetradic
#BCAF4F #4FBC79 #4F5CBC #BC4F93
square
#BCAF4F #4FBC79 #4F5CBC #BC4F93
split-complementary
#BCAF4F #4F93BC #794FBC
monochromatic
#696128 #958A39 #BCAF4F #CDC37B #DED7A8

Accessibility & contrast

On white

2.24
#BCAF4F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.38
#BCAF4F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BCAF4F
9.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BCAF4F#FFFFFF#000000##000000
##BCAF4F1.002.249.389.38
#FFFFFF2.241.0021.0021.00
#0000009.3821.001.001.00
##0000009.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDAA45
Deuteranopia (green-blind)
#C1B054
Tritanopia (blue-blind)
#C9A49A
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #bcaf4f;
/* rgb */ color: rgb(188, 175, 79);
/* oklch */ color: oklch(74.6% 0.118 101.7);
Tailwind
colors: {
  custom: {
    50: '#d3c684',
    500: '#bcaf4f',
    950: '#000000',
  },
}
SCSS
$custom: #bcaf4f;
$custom-light: #d3c684;
$custom-dark: #000000;
JSON
{
  "hex": "#bcaf4f",
  "rgb": {
    "r": 188,
    "g": 175,
    "b": 79
  },
  "hsl": {
    "h": 52.844,
    "s": 44.856,
    "l": 52.353
  },
  "oklch": {
    "l": 0.74581,
    "c": 0.11812,
    "h": 101.7
  },
  "luminance": 0.41916
}

Semantic roles & 50–950 ramp

primary
#BCAF4F
secondary
#9CA1CB
accent
#63D553
background
#FDFCF8
surface
#FAF8EF
border
#D3D1CA
text
#14130B
muted
#83827C

Preview Lab

Preview with #BCAF4F

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

Preview Lab → · Contrast checker → · Palette generator →

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