#BFAF46#BFAF46

#BFAF46 is a light, vivid yellow. Relative luminance 0.422; OKLCH L 74.8% C 0.126 H 100.6°. Best body text is #000000 at 9.44:1 contrast (WCAG AA passes).

Color values

HEX#BFAF46
RGBrgb(191, 175, 70)
HSLhsl(52, 49%, 51%)
HSVhsv(52, 63%, 75%)
CMYKcmyk(0%, 8.4%, 63.4%, 25.1%)
CIE-LABlab(70.99, -6.88, 54.27)
CIE-LCHlch(70.99, 54.70, 97.23°)
OKLaboklab(74.76% -0.0232 0.1237)
OKLCHoklch(74.76% 0.126 100.6)
XYZxyz(37.9229, 42.1801, 11.9372)
Luminance0.4218 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BFAF46 #4656BF
analogous
#BF7246 #BFAF46 #92BF46
triadic
#BFAF46 #46BFAF #AF46BF
tetradic
#BFAF46 #46BF72 #4656BF #BF4692
square
#BFAF46 #46BF72 #4656BF #BF4692
split-complementary
#BFAF46 #4692BF #7246BF
monochromatic
#675E24 #948833 #BFAF46 #CFC373 #DED6A1

Accessibility & contrast

On white

2.23
#BFAF46 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.44
#BFAF46 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BFAF46
9.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BFAF46#FFFFFF#000000##000000
##BFAF461.002.239.449.44
#FFFFFF2.231.0021.0021.00
#0000009.4421.001.001.00
##0000009.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFAA3A
Deuteranopia (green-blind)
#C3B14C
Tritanopia (blue-blind)
#CDA399
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #bfaf46;
/* rgb */ color: rgb(191, 175, 70);
/* oklch */ color: oklch(74.8% 0.126 100.6);
Tailwind
colors: {
  custom: {
    50: '#d5c67e',
    500: '#bfaf46',
    950: '#000000',
  },
}
SCSS
$custom: #bfaf46;
$custom-light: #d5c67e;
$custom-dark: #000000;
JSON
{
  "hex": "#bfaf46",
  "rgb": {
    "r": 191,
    "g": 175,
    "b": 70
  },
  "hsl": {
    "h": 52.066,
    "s": 48.594,
    "l": 51.176
  },
  "oklch": {
    "l": 0.74761,
    "c": 0.12582,
    "h": 100.6
  },
  "luminance": 0.42179
}

Semantic roles & 50–950 ramp

primary
#BFAF46
secondary
#969DCB
accent
#62D850
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#15130A
muted
#83827C

Preview Lab

Preview with #BFAF46

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

Preview Lab → · Contrast checker → · Palette generator →

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