#BFAF3B#BFAF3B

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

Color values

HEX#BFAF3B
RGBrgb(191, 175, 59)
HSLhsl(53, 53%, 49%)
HSVhsv(53, 69%, 75%)
CMYKcmyk(0%, 8.4%, 69.1%, 25.1%)
CIE-LABlab(70.91, -7.54, 58.79)
CIE-LCHlch(70.91, 59.27, 97.30°)
OKLaboklab(74.66% -0.0263 0.1315)
OKLCHoklch(74.66% 0.134 101.3)
XYZxyz(37.6069, 42.0537, 10.2731)
Luminance0.4205 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BFAF3B #3B4BBF
analogous
#BF6D3B #BFAF3B #8DBF3B
triadic
#BFAF3B #3BBFAF #AF3BBF
tetradic
#BFAF3B #3BBF6D #3B4BBF #BF3B8D
square
#BFAF3B #3BBF6D #3B4BBF #BF3B8D
split-complementary
#BFAF3B #3B8DBF #6D3BBF
monochromatic
#61591E #90842D #BFAF3B #D0C367 #DFD696

Accessibility & contrast

On white

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

On black

9.41
#BFAF3B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BFAF3B
9.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BFAF3B#FFFFFF#000000##000000
##BFAF3B1.002.239.419.41
#FFFFFF2.231.0021.0021.00
#0000009.4121.001.001.00
##0000009.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFAA2A
Deuteranopia (green-blind)
#C4B042
Tritanopia (blue-blind)
#CDA398
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #bfaf3b;
/* rgb */ color: rgb(191, 175, 59);
/* oklch */ color: oklch(74.7% 0.134 101.3);
Tailwind
colors: {
  custom: {
    50: '#d6c678',
    500: '#bfaf3b',
    950: '#000000',
  },
}
SCSS
$custom: #bfaf3b;
$custom-light: #d6c678;
$custom-dark: #000000;
JSON
{
  "hex": "#bfaf3b",
  "rgb": {
    "r": 191,
    "g": 175,
    "b": 59
  },
  "hsl": {
    "h": 52.727,
    "s": 52.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.74664,
    "c": 0.13406,
    "h": 101.3
  },
  "luminance": 0.42052
}

Semantic roles & 50–950 ramp

primary
#BFAF3B
secondary
#8C93CA
accent
#5DDC4C
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#151309
muted
#83827B

Preview Lab

Preview with #BFAF3B

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

Preview Lab → · Contrast checker → · Palette generator →

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