#BFA738#BFA738

#BFA738 is a light, vivid yellow. Relative luminance 0.390; OKLCH L 72.9% C 0.130 H 96.7°. Best body text is #000000 at 8.80:1 contrast (WCAG AA passes).

Color values

HEX#BFA738
RGBrgb(191, 167, 56)
HSLhsl(49, 55%, 48%)
HSVhsv(49, 71%, 75%)
CMYKcmyk(0%, 12.6%, 70.7%, 25.1%)
CIE-LABlab(68.75, -3.48, 57.82)
CIE-LCHlch(68.75, 57.93, 93.44°)
OKLaboklab(72.95% -0.0151 0.1289)
OKLCHoklch(72.95% 0.13 96.7)
XYZxyz(36.0202, 39.0012, 9.3713)
Luminance0.3900 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BFA738 #3850BF
analogous
#BF6338 #BFA738 #93BF38
triadic
#BFA738 #38BFA7 #A738BF
tetradic
#BFA738 #38BF63 #3850BF #BF3893
square
#BFA738 #38BF63 #3850BF #BF3893
split-complementary
#BFA738 #3893BF #6338BF
monochromatic
#60541C #907E2A #BFA738 #D1BE63 #DFD192

Accessibility & contrast

On white

2.39
#BFA738 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.80
#BFA738 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BFA738
8.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BFA738#FFFFFF#000000##000000
##BFA7381.002.398.808.80
#FFFFFF2.391.0021.0021.00
#0000008.8021.001.001.00
##0000008.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A328
Deuteranopia (green-blind)
#BEAB3E
Tritanopia (blue-blind)
#CE9A91
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #bfa738;
/* rgb */ color: rgb(191, 167, 56);
/* oklch */ color: oklch(72.9% 0.130 96.7);
Tailwind
colors: {
  custom: {
    50: '#d6c075',
    500: '#bfa738',
    950: '#000000',
  },
}
SCSS
$custom: #bfa738;
$custom-light: #d6c075;
$custom-dark: #000000;
JSON
{
  "hex": "#bfa738",
  "rgb": {
    "r": 191,
    "g": 167,
    "b": 56
  },
  "hsl": {
    "h": 49.333,
    "s": 54.656,
    "l": 48.431
  },
  "oklch": {
    "l": 0.72948,
    "c": 0.12976,
    "h": 96.7
  },
  "luminance": 0.38999
}

Semantic roles & 50–950 ramp

primary
#BFA738
secondary
#8994CA
accent
#64DE4A
background
#FDFBF7
surface
#FBF7ED
border
#D4D0C8
text
#151209
muted
#83817B

Preview Lab

Preview with #BFA738

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

Preview Lab → · Contrast checker → · Palette generator →

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