#BFA42C#BFA42C

#BFA42C is a light, vivid yellow. Relative luminance 0.378; OKLCH L 72.2% C 0.135 H 95.7°. Best body text is #000000 at 8.56:1 contrast (WCAG AA passes).

Color values

HEX#BFA42C
RGBrgb(191, 164, 44)
HSLhsl(49, 63%, 46%)
HSVhsv(49, 77%, 75%)
CMYKcmyk(0%, 14.1%, 77%, 25.1%)
CIE-LABlab(67.88, -2.43, 61.47)
CIE-LCHlch(67.88, 61.52, 92.27°)
OKLaboklab(72.23% -0.0134 0.1343)
OKLCHoklch(72.23% 0.135 95.7)
XYZxyz(35.2178, 37.8111, 7.8257)
Luminance0.3781 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BFA42C #2C47BF
analogous
#BF5B2C #BFA42C #90BF2C
triadic
#BFA42C #2CBFA4 #A42CBF
tetradic
#BFA42C #2CBF5B #2C47BF #BF2C90
square
#BFA42C #2CBF5B #2C47BF #BF2C90
split-complementary
#BFA42C #2C90BF #5B2CBF
monochromatic
#5C4F15 #8D7921 #BFA42C #D7BE51 #E2D183

Accessibility & contrast

On white

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

On black

8.56
#BFA42C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BFA42C
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BFA42C#FFFFFF#000000##000000
##BFA42C1.002.458.568.56
#FFFFFF2.451.0021.0021.00
#0000008.5621.001.001.00
##0000008.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A113
Deuteranopia (green-blind)
#BCA934
Tritanopia (blue-blind)
#CF978D
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #bfa42c;
/* rgb */ color: rgb(191, 164, 44);
/* oklch */ color: oklch(72.2% 0.135 95.7);
Tailwind
colors: {
  custom: {
    50: '#d6be6f',
    500: '#bfa42c',
    950: '#000000',
  },
}
SCSS
$custom: #bfa42c;
$custom-light: #d6be6f;
$custom-dark: #000000;
JSON
{
  "hex": "#bfa42c",
  "rgb": {
    "r": 191,
    "g": 164,
    "b": 44
  },
  "hsl": {
    "h": 48.98,
    "s": 62.553,
    "l": 46.078
  },
  "oklch": {
    "l": 0.72234,
    "c": 0.13498,
    "h": 95.7
  },
  "luminance": 0.37809
}

Semantic roles & 50–950 ramp

primary
#BFA42C
secondary
#7B8ACC
accent
#60E642
background
#FDFBF7
surface
#FBF6ED
border
#D4D0C8
text
#151208
muted
#83817B

Preview Lab

Preview with #BFA42C

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

Preview Lab → · Contrast checker → · Palette generator →

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