#BFAF37#BFAF37

#BFAF37 is a light, vivid yellow. Relative luminance 0.420; OKLCH L 74.6% C 0.137 H 101.5°. Best body text is #000000 at 9.40:1 contrast (WCAG AA passes).

Color values

HEX#BFAF37
RGBrgb(191, 175, 55)
HSLhsl(53, 55%, 48%)
HSVhsv(53, 71%, 75%)
CMYKcmyk(0%, 8.4%, 71.2%, 25.1%)
CIE-LABlab(70.88, -7.74, 60.32)
CIE-LCHlch(70.88, 60.82, 97.31°)
OKLaboklab(74.63% -0.0273 0.134)
OKLCHoklch(74.63% 0.137 101.5)
XYZxyz(37.5071, 42.0138, 9.7475)
Luminance0.4201 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BFAF37 #3747BF
analogous
#BF6B37 #BFAF37 #8BBF37
triadic
#BFAF37 #37BFAF #AF37BF
tetradic
#BFAF37 #37BF6B #3747BF #BF378B
square
#BFAF37 #37BF6B #3747BF #BF378B
split-complementary
#BFAF37 #378BBF #6B37BF
monochromatic
#60581C #8F8329 #BFAF37 #D2C462 #DFD691

Accessibility & contrast

On white

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

On black

9.40
#BFAF37 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BFAF37
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BFAF37#FFFFFF#000000##000000
##BFAF371.002.239.409.40
#FFFFFF2.231.0021.0021.00
#0000009.4021.001.001.00
##0000009.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFAA24
Deuteranopia (green-blind)
#C4B03F
Tritanopia (blue-blind)
#CEA397
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #bfaf37;
/* rgb */ color: rgb(191, 175, 55);
/* oklch */ color: oklch(74.6% 0.137 101.5);
Tailwind
colors: {
  custom: {
    50: '#d6c676',
    500: '#bfaf37',
    950: '#000000',
  },
}
SCSS
$custom: #bfaf37;
$custom-light: #d6c676;
$custom-dark: #000000;
JSON
{
  "hex": "#bfaf37",
  "rgb": {
    "r": 191,
    "g": 175,
    "b": 55
  },
  "hsl": {
    "h": 52.941,
    "s": 55.285,
    "l": 48.235
  },
  "oklch": {
    "l": 0.74633,
    "c": 0.13674,
    "h": 101.5
  },
  "luminance": 0.42012
}

Semantic roles & 50–950 ramp

primary
#BFAF37
secondary
#888FCA
accent
#5BDF49
background
#FDFCF7
surface
#FBF8ED
border
#D4D1C8
text
#151309
muted
#83827B

Preview Lab

Preview with #BFAF37

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

Preview Lab → · Contrast checker → · Palette generator →

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