#BFA038#BFA038

#BFA038 is a light, vivid yellow. Relative luminance 0.365; OKLCH L 71.5% C 0.125 H 92.0°. Best body text is #000000 at 8.30:1 contrast (WCAG AA passes).

Color values

HEX#BFA038
RGBrgb(191, 160, 56)
HSLhsl(46, 55%, 48%)
HSVhsv(46, 71%, 75%)
CMYKcmyk(0%, 16.2%, 70.7%, 25.1%)
CIE-LABlab(66.90, 0.26, 55.96)
CIE-LCHlch(66.90, 55.96, 89.74°)
OKLaboklab(71.49% -0.0044 0.1249)
OKLCHoklch(71.49% 0.125 92)
XYZxyz(34.7723, 36.5055, 8.9554)
Luminance0.3650 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BFA038 #3857BF
analogous
#BF5C38 #BFA038 #9ABF38
triadic
#BFA038 #38BFA0 #A038BF
tetradic
#BFA038 #38BF5C #3857BF #BF389A
square
#BFA038 #38BF5C #3857BF #BF389A
split-complementary
#BFA038 #389ABF #5C38BF
monochromatic
#60511C #90782A #BFA038 #D1B863 #DFCD92

Accessibility & contrast

On white

2.53
#BFA038 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.30
#BFA038 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BFA038
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BFA038#FFFFFF#000000##000000
##BFA0381.002.538.308.30
#FFFFFF2.531.0021.0021.00
#0000008.3021.001.001.00
##0000008.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19E2A
Deuteranopia (green-blind)
#B9A73D
Tritanopia (blue-blind)
#CE938B
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #bfa038;
/* rgb */ color: rgb(191, 160, 56);
/* oklch */ color: oklch(71.5% 0.125 92.0);
Tailwind
colors: {
  custom: {
    50: '#d6bb75',
    500: '#bfa038',
    950: '#000000',
  },
}
SCSS
$custom: #bfa038;
$custom-light: #d6bb75;
$custom-dark: #000000;
JSON
{
  "hex": "#bfa038",
  "rgb": {
    "r": 191,
    "g": 160,
    "b": 56
  },
  "hsl": {
    "h": 46.222,
    "s": 54.656,
    "l": 48.431
  },
  "oklch": {
    "l": 0.71487,
    "c": 0.12502,
    "h": 92
  },
  "luminance": 0.36504
}

Semantic roles & 50–950 ramp

primary
#BFA038
secondary
#8998CA
accent
#6CDE4A
background
#FDFBF7
surface
#FBF6ED
border
#D4D0C8
text
#151109
muted
#83807B

Preview Lab

Preview with #BFA038

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

Preview Lab → · Contrast checker → · Palette generator →

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