#BFAC2E#BFAC2E

#BFAC2E is a light, vivid yellow. Relative luminance 0.408; OKLCH L 73.9% C 0.140 H 100.3°. Best body text is #000000 at 9.16:1 contrast (WCAG AA passes).

Color values

HEX#BFAC2E
RGBrgb(191, 172, 46)
HSLhsl(52, 61%, 46%)
HSVhsv(52, 76%, 75%)
CMYKcmyk(0%, 9.9%, 75.9%, 25.1%)
CIE-LABlab(70.02, -6.58, 62.77)
CIE-LCHlch(70.02, 63.11, 95.98°)
OKLaboklab(73.93% -0.025 0.1375)
OKLCHoklch(73.93% 0.14 100.3)
XYZxyz(36.7333, 40.7804, 8.5208)
Luminance0.4078 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BFAC2E #2E41BF
analogous
#BF642E #BFAC2E #8ABF2E
triadic
#BFAC2E #2EBFAC #AC2EBF
tetradic
#BFAC2E #2EBF64 #2E41BF #BF2E8A
square
#BFAC2E #2EBF64 #2E41BF #BF2E8A
split-complementary
#BFAC2E #2E8ABF #642EBF
monochromatic
#5C5316 #8E8022 #BFAC2E #D6C554 #E2D686

Accessibility & contrast

On white

2.29
#BFAC2E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.16
#BFAC2E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BFAC2E
9.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BFAC2E#FFFFFF#000000##000000
##BFAC2E1.002.299.169.16
#FFFFFF2.291.0021.0021.00
#0000009.1621.001.001.00
##0000009.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA714
Deuteranopia (green-blind)
#C2AE37
Tritanopia (blue-blind)
#CE9F94
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #bfac2e;
/* rgb */ color: rgb(191, 172, 46);
/* oklch */ color: oklch(73.9% 0.140 100.3);
Tailwind
colors: {
  custom: {
    50: '#d6c471',
    500: '#bfac2e',
    950: '#000000',
  },
}
SCSS
$custom: #bfac2e;
$custom-light: #d6c471;
$custom-dark: #000000;
JSON
{
  "hex": "#bfac2e",
  "rgb": {
    "r": 191,
    "g": 172,
    "b": 46
  },
  "hsl": {
    "h": 52.138,
    "s": 61.181,
    "l": 46.471
  },
  "oklch": {
    "l": 0.73934,
    "c": 0.13972,
    "h": 100.3
  },
  "luminance": 0.40779
}

Semantic roles & 50–950 ramp

primary
#BFAC2E
secondary
#7E88CB
accent
#59E444
background
#FDFCF7
surface
#FBF8ED
border
#D4D1C8
text
#151208
muted
#83817B

Preview Lab

Preview with #BFAC2E

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

Preview Lab → · Contrast checker → · Palette generator →

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