#BFA638#BFA638

#BFA638 is a light, vivid yellow. Relative luminance 0.386; OKLCH L 72.7% C 0.129 H 96.1°. Best body text is #000000 at 8.73:1 contrast (WCAG AA passes).

Color values

HEX#BFA638
RGBrgb(191, 166, 56)
HSLhsl(49, 55%, 48%)
HSVhsv(49, 71%, 75%)
CMYKcmyk(0%, 13.1%, 70.7%, 25.1%)
CIE-LABlab(68.49, -2.95, 57.56)
CIE-LCHlch(68.49, 57.63, 92.93°)
OKLaboklab(72.74% -0.0136 0.1283)
OKLCHoklch(72.74% 0.129 96.1)
XYZxyz(35.8377, 38.6362, 9.3105)
Luminance0.3863 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BFA638 #3851BF
analogous
#BF6238 #BFA638 #94BF38
triadic
#BFA638 #38BFA6 #A638BF
tetradic
#BFA638 #38BF62 #3851BF #BF3894
square
#BFA638 #38BF62 #3851BF #BF3894
split-complementary
#BFA638 #3894BF #6238BF
monochromatic
#60541C #907D2A #BFA638 #D1BD63 #DFD192

Accessibility & contrast

On white

2.41
#BFA638 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.73
#BFA638 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BFA638
8.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BFA638#FFFFFF#000000##000000
##BFA6381.002.418.738.73
#FFFFFF2.411.0021.0021.00
#0000008.7321.001.001.00
##0000008.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A228
Deuteranopia (green-blind)
#BDAA3E
Tritanopia (blue-blind)
#CE9990
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #bfa638;
/* rgb */ color: rgb(191, 166, 56);
/* oklch */ color: oklch(72.7% 0.129 96.1);
Tailwind
colors: {
  custom: {
    50: '#d6c075',
    500: '#bfa638',
    950: '#000000',
  },
}
SCSS
$custom: #bfa638;
$custom-light: #d6c075;
$custom-dark: #000000;
JSON
{
  "hex": "#bfa638",
  "rgb": {
    "r": 191,
    "g": 166,
    "b": 56
  },
  "hsl": {
    "h": 48.889,
    "s": 54.656,
    "l": 48.431
  },
  "oklch": {
    "l": 0.72738,
    "c": 0.12903,
    "h": 96.1
  },
  "luminance": 0.38634
}

Semantic roles & 50–950 ramp

primary
#BFA638
secondary
#8995CA
accent
#65DE4A
background
#FDFBF7
surface
#FBF7ED
border
#D4D0C8
text
#151209
muted
#83817B

Preview Lab

Preview with #BFA638

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

Preview Lab → · Contrast checker → · Palette generator →

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