#BFAF42#BFAF42

#BFAF42 is a light, vivid yellow. Relative luminance 0.421; OKLCH L 74.7% C 0.129 H 100.9°. Best body text is #000000 at 9.43:1 contrast (WCAG AA passes).

Color values

HEX#BFAF42
RGBrgb(191, 175, 66)
HSLhsl(52, 49%, 50%)
HSVhsv(52, 65%, 75%)
CMYKcmyk(0%, 8.4%, 65.4%, 25.1%)
CIE-LABlab(70.96, -7.14, 55.96)
CIE-LCHlch(70.96, 56.42, 97.27°)
OKLaboklab(74.72% -0.0244 0.1266)
OKLCHoklch(74.72% 0.129 100.9)
XYZxyz(37.8008, 42.1313, 11.2942)
Luminance0.4213 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BFAF42 #4252BF
analogous
#BF7042 #BFAF42 #90BF42
triadic
#BFAF42 #42BFAF #AF42BF
tetradic
#BFAF42 #42BF70 #4252BF #BF4290
square
#BFAF42 #42BF70 #4252BF #BF4290
split-complementary
#BFAF42 #4290BF #7042BF
monochromatic
#655C22 #928632 #BFAF42 #CEC270 #DED69D

Accessibility & contrast

On white

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

On black

9.43
#BFAF42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BFAF42
9.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BFAF42#FFFFFF#000000##000000
##BFAF421.002.239.439.43
#FFFFFF2.231.0021.0021.00
#0000009.4321.001.001.00
##0000009.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFAA34
Deuteranopia (green-blind)
#C3B048
Tritanopia (blue-blind)
#CDA398
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #bfaf42;
/* rgb */ color: rgb(191, 175, 66);
/* oklch */ color: oklch(74.7% 0.129 100.9);
Tailwind
colors: {
  custom: {
    50: '#d5c67c',
    500: '#bfaf42',
    950: '#000000',
  },
}
SCSS
$custom: #bfaf42;
$custom-light: #d5c67c;
$custom-dark: #000000;
JSON
{
  "hex": "#bfaf42",
  "rgb": {
    "r": 191,
    "g": 175,
    "b": 66
  },
  "hsl": {
    "h": 52.32,
    "s": 49.407,
    "l": 50.392
  },
  "oklch": {
    "l": 0.74723,
    "c": 0.12896,
    "h": 100.9
  },
  "luminance": 0.4213
}

Semantic roles & 50–950 ramp

primary
#BFAF42
secondary
#939ACA
accent
#61D94F
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#15130A
muted
#83827C

Preview Lab

Preview with #BFAF42

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

Preview Lab → · Contrast checker → · Palette generator →

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