#BFAC3E#BFAC3E

#BFAC3E is a light, vivid yellow. Relative luminance 0.409; OKLCH L 74.1% C 0.129 H 99.4°. Best body text is #000000 at 9.19:1 contrast (WCAG AA passes).

Color values

HEX#BFAC3E
RGBrgb(191, 172, 62)
HSLhsl(51, 51%, 50%)
HSVhsv(51, 68%, 75%)
CMYKcmyk(0%, 9.9%, 67.5%, 25.1%)
CIE-LABlab(70.13, -5.80, 56.77)
CIE-LCHlch(70.13, 57.07, 95.83°)
OKLaboklab(74.05% -0.0211 0.1277)
OKLCHoklch(74.05% 0.129 99.4)
XYZxyz(37.1095, 40.9309, 10.5023)
Luminance0.4093 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BFAC3E #3E51BF
analogous
#BF6C3E #BFAC3E #91BF3E
triadic
#BFAC3E #3EBFAC #AC3EBF
tetradic
#BFAC3E #3EBF6C #3E51BF #BF3E91
square
#BFAC3E #3EBF6C #3E51BF #BF3E91
split-complementary
#BFAC3E #3E91BF #6C3EBF
monochromatic
#635920 #91822F #BFAC3E #CFC06B #DED499

Accessibility & contrast

On white

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

On black

9.19
#BFAC3E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BFAC3E
9.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BFAC3E#FFFFFF#000000##000000
##BFAC3E1.002.299.199.19
#FFFFFF2.291.0021.0021.00
#0000009.1921.001.001.00
##0000009.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA72F
Deuteranopia (green-blind)
#C1AE44
Tritanopia (blue-blind)
#CEA095
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #bfac3e;
/* rgb */ color: rgb(191, 172, 62);
/* oklch */ color: oklch(74.1% 0.129 99.4);
Tailwind
colors: {
  custom: {
    50: '#d6c479',
    500: '#bfac3e',
    950: '#000000',
  },
}
SCSS
$custom: #bfac3e;
$custom-light: #d6c479;
$custom-dark: #000000;
JSON
{
  "hex": "#bfac3e",
  "rgb": {
    "r": 191,
    "g": 172,
    "b": 62
  },
  "hsl": {
    "h": 51.163,
    "s": 50.988,
    "l": 49.608
  },
  "oklch": {
    "l": 0.74052,
    "c": 0.12942,
    "h": 99.4
  },
  "luminance": 0.40929
}

Semantic roles & 50–950 ramp

primary
#BFAC3E
secondary
#8F98CA
accent
#62DA4D
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#151209
muted
#83817B

Preview Lab

Preview with #BFAC3E

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

Preview Lab → · Contrast checker → · Palette generator →

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