#BFA438#BFA438

#BFA438 is a light, vivid yellow. Relative luminance 0.379; OKLCH L 72.3% C 0.128 H 94.8°. Best body text is #000000 at 8.58:1 contrast (WCAG AA passes).

Color values

HEX#BFA438
RGBrgb(191, 164, 56)
HSLhsl(48, 55%, 48%)
HSVhsv(48, 71%, 75%)
CMYKcmyk(0%, 14.1%, 70.7%, 25.1%)
CIE-LABlab(67.96, -1.88, 57.02)
CIE-LCHlch(67.96, 57.05, 91.89°)
OKLaboklab(72.32% -0.0106 0.1272)
OKLCHoklch(72.32% 0.128 94.8)
XYZxyz(35.4769, 37.9147, 9.1902)
Luminance0.3791 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BFA438 #3853BF
analogous
#BF6038 #BFA438 #96BF38
triadic
#BFA438 #38BFA4 #A438BF
tetradic
#BFA438 #38BF60 #3853BF #BF3896
square
#BFA438 #38BF60 #3853BF #BF3896
split-complementary
#BFA438 #3896BF #6038BF
monochromatic
#60531C #907B2A #BFA438 #D1BB63 #DFD092

Accessibility & contrast

On white

2.45
#BFA438 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.58
#BFA438 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BFA438
8.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BFA438#FFFFFF#000000##000000
##BFA4381.002.458.588.58
#FFFFFF2.451.0021.0021.00
#0000008.5821.001.001.00
##0000008.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A129
Deuteranopia (green-blind)
#BCA93E
Tritanopia (blue-blind)
#CE978E
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #bfa438;
/* rgb */ color: rgb(191, 164, 56);
/* oklch */ color: oklch(72.3% 0.128 94.8);
Tailwind
colors: {
  custom: {
    50: '#d6be75',
    500: '#bfa438',
    950: '#000000',
  },
}
SCSS
$custom: #bfa438;
$custom-light: #d6be75;
$custom-dark: #000000;
JSON
{
  "hex": "#bfa438",
  "rgb": {
    "r": 191,
    "g": 164,
    "b": 56
  },
  "hsl": {
    "h": 48,
    "s": 54.656,
    "l": 48.431
  },
  "oklch": {
    "l": 0.72319,
    "c": 0.12763,
    "h": 94.8
  },
  "luminance": 0.37913
}

Semantic roles & 50–950 ramp

primary
#BFA438
secondary
#8996CA
accent
#67DE4A
background
#FDFBF7
surface
#FBF6ED
border
#D4D0C8
text
#151209
muted
#83817B

Preview Lab

Preview with #BFA438

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

Preview Lab → · Contrast checker → · Palette generator →

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