#BFAD40#BFAD40

#BFAD40 is a light, vivid yellow. Relative luminance 0.413; OKLCH L 74.3% C 0.129 H 99.8°. Best body text is #000000 at 9.27:1 contrast (WCAG AA passes).

Color values

HEX#BFAD40
RGBrgb(191, 173, 64)
HSLhsl(51, 50%, 50%)
HSVhsv(51, 66%, 75%)
CMYKcmyk(0%, 9.4%, 66.5%, 25.1%)
CIE-LABlab(70.41, -6.21, 56.23)
CIE-LCHlch(70.41, 56.57, 96.30°)
OKLaboklab(74.28% -0.022 0.1269)
OKLCHoklch(74.28% 0.129 99.8)
XYZxyz(37.3565, 41.3353, 10.8603)
Luminance0.4133 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BFAD40 #4052BF
analogous
#BF6D40 #BFAD40 #92BF40
triadic
#BFAD40 #40BFAD #AD40BF
tetradic
#BFAD40 #40BF6D #4052BF #BF4092
square
#BFAD40 #40BF6D #4052BF #BF4092
split-complementary
#BFAD40 #4092BF #6D40BF
monochromatic
#635A21 #918331 #BFAD40 #CEC16E #DED49C

Accessibility & contrast

On white

2.27
#BFAD40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.27
#BFAD40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BFAD40
9.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BFAD40#FFFFFF#000000##000000
##BFAD401.002.279.279.27
#FFFFFF2.271.0021.0021.00
#0000009.2721.001.001.00
##0000009.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA832
Deuteranopia (green-blind)
#C2AF46
Tritanopia (blue-blind)
#CDA196
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #bfad40;
/* rgb */ color: rgb(191, 173, 64);
/* oklch */ color: oklch(74.3% 0.129 99.8);
Tailwind
colors: {
  custom: {
    50: '#d6c57a',
    500: '#bfad40',
    950: '#000000',
  },
}
SCSS
$custom: #bfad40;
$custom-light: #d6c57a;
$custom-dark: #000000;
JSON
{
  "hex": "#bfad40",
  "rgb": {
    "r": 191,
    "g": 173,
    "b": 64
  },
  "hsl": {
    "h": 51.496,
    "s": 49.804,
    "l": 50
  },
  "oklch": {
    "l": 0.74281,
    "c": 0.12877,
    "h": 99.8
  },
  "luminance": 0.41334
}

Semantic roles & 50–950 ramp

primary
#BFAD40
secondary
#9199CA
accent
#62D94E
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#15120A
muted
#83817C

Preview Lab

Preview with #BFAD40

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

Preview Lab → · Contrast checker → · Palette generator →

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