#BFAF45#BFAF45

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

Color values

HEX#BFAF45
RGBrgb(191, 175, 69)
HSLhsl(52, 49%, 51%)
HSVhsv(52, 64%, 75%)
CMYKcmyk(0%, 8.4%, 63.9%, 25.1%)
CIE-LABlab(70.99, -6.95, 54.70)
CIE-LCHlch(70.99, 55.14, 97.24°)
OKLaboklab(74.75% -0.0235 0.1244)
OKLCHoklch(74.75% 0.127 100.7)
XYZxyz(37.8915, 42.1676, 11.7723)
Luminance0.4217 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BFAF45 #4555BF
analogous
#BF7245 #BFAF45 #92BF45
triadic
#BFAF45 #45BFAF #AF45BF
tetradic
#BFAF45 #45BF72 #4555BF #BF4592
square
#BFAF45 #45BF72 #4555BF #BF4592
split-complementary
#BFAF45 #4592BF #7245BF
monochromatic
#665E23 #948733 #BFAF45 #CFC373 #DED6A0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BFAF45#FFFFFF#000000##000000
##BFAF451.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)
#BFAA38
Deuteranopia (green-blind)
#C3B14B
Tritanopia (blue-blind)
#CDA399
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #bfaf45;
/* rgb */ color: rgb(191, 175, 69);
/* oklch */ color: oklch(74.8% 0.127 100.7);
Tailwind
colors: {
  custom: {
    50: '#d5c67d',
    500: '#bfaf45',
    950: '#000000',
  },
}
SCSS
$custom: #bfaf45;
$custom-light: #d5c67d;
$custom-dark: #000000;
JSON
{
  "hex": "#bfaf45",
  "rgb": {
    "r": 191,
    "g": 175,
    "b": 69
  },
  "hsl": {
    "h": 52.131,
    "s": 48.8,
    "l": 50.98
  },
  "oklch": {
    "l": 0.74751,
    "c": 0.12663,
    "h": 100.7
  },
  "luminance": 0.42166
}

Semantic roles & 50–950 ramp

primary
#BFAF45
secondary
#959CCB
accent
#61D84F
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#15130A
muted
#83827C

Preview Lab

Preview with #BFAF45

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

Preview Lab → · Contrast checker → · Palette generator →

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