#BFA538#BFA538

#BFA538 is a light, vivid yellow. Relative luminance 0.383; OKLCH L 72.5% C 0.128 H 95.4°. Best body text is #000000 at 8.65:1 contrast (WCAG AA passes).

Color values

HEX#BFA538
RGBrgb(191, 165, 56)
HSLhsl(48, 55%, 48%)
HSVhsv(48, 71%, 75%)
CMYKcmyk(0%, 13.6%, 70.7%, 25.1%)
CIE-LABlab(68.22, -2.42, 57.29)
CIE-LCHlch(68.22, 57.34, 92.42°)
OKLaboklab(72.53% -0.0121 0.1278)
OKLCHoklch(72.53% 0.128 95.4)
XYZxyz(35.6566, 38.2741, 9.2501)
Luminance0.3827 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BFA538 #3852BF
analogous
#BF6138 #BFA538 #95BF38
triadic
#BFA538 #38BFA5 #A538BF
tetradic
#BFA538 #38BF61 #3852BF #BF3895
square
#BFA538 #38BF61 #3852BF #BF3895
split-complementary
#BFA538 #3895BF #6138BF
monochromatic
#60531C #907C2A #BFA538 #D1BC63 #DFD092

Accessibility & contrast

On white

2.43
#BFA538 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.65
#BFA538 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BFA538
8.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BFA538#FFFFFF#000000##000000
##BFA5381.002.438.658.65
#FFFFFF2.431.0021.0021.00
#0000008.6521.001.001.00
##0000008.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A228
Deuteranopia (green-blind)
#BDAA3E
Tritanopia (blue-blind)
#CE988F
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #bfa538;
/* rgb */ color: rgb(191, 165, 56);
/* oklch */ color: oklch(72.5% 0.128 95.4);
Tailwind
colors: {
  custom: {
    50: '#d6bf75',
    500: '#bfa538',
    950: '#000000',
  },
}
SCSS
$custom: #bfa538;
$custom-light: #d6bf75;
$custom-dark: #000000;
JSON
{
  "hex": "#bfa538",
  "rgb": {
    "r": 191,
    "g": 165,
    "b": 56
  },
  "hsl": {
    "h": 48.444,
    "s": 54.656,
    "l": 48.431
  },
  "oklch": {
    "l": 0.72528,
    "c": 0.12832,
    "h": 95.4
  },
  "luminance": 0.38272
}

Semantic roles & 50–950 ramp

primary
#BFA538
secondary
#8995CA
accent
#66DE4A
background
#FDFBF7
surface
#FBF6ED
border
#D4D0C8
text
#151209
muted
#83817B

Preview Lab

Preview with #BFA538

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

Preview Lab → · Contrast checker → · Palette generator →

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