#BFA42D#BFA42D

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

Color values

HEX#BFA42D
RGBrgb(191, 164, 45)
HSLhsl(49, 62%, 46%)
HSVhsv(49, 76%, 75%)
CMYKcmyk(0%, 14.1%, 76.4%, 25.1%)
CIE-LABlab(67.89, -2.39, 61.12)
CIE-LCHlch(67.89, 61.17, 92.24°)
OKLaboklab(72.24% -0.0132 0.1338)
OKLCHoklch(72.24% 0.134 95.6)
XYZxyz(35.2369, 37.8187, 7.9259)
Luminance0.3782 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BFA42D #2D48BF
analogous
#BF5B2D #BFA42D #91BF2D
triadic
#BFA42D #2DBFA4 #A42DBF
tetradic
#BFA42D #2DBF5B #2D48BF #BF2D91
square
#BFA42D #2DBF5B #2D48BF #BF2D91
split-complementary
#BFA42D #2D91BF #5B2DBF
monochromatic
#5C4F16 #8D7921 #BFA42D #D6BE53 #E2D184

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BFA42D#FFFFFF#000000##000000
##BFA42D1.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)
#B5A115
Deuteranopia (green-blind)
#BCA935
Tritanopia (blue-blind)
#CF978D
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #bfa42d;
/* rgb */ color: rgb(191, 164, 45);
/* oklch */ color: oklch(72.2% 0.134 95.6);
Tailwind
colors: {
  custom: {
    50: '#d6be6f',
    500: '#bfa42d',
    950: '#000000',
  },
}
SCSS
$custom: #bfa42d;
$custom-light: #d6be6f;
$custom-dark: #000000;
JSON
{
  "hex": "#bfa42d",
  "rgb": {
    "r": 191,
    "g": 164,
    "b": 45
  },
  "hsl": {
    "h": 48.904,
    "s": 61.864,
    "l": 46.275
  },
  "oklch": {
    "l": 0.7224,
    "c": 0.13442,
    "h": 95.6
  },
  "luminance": 0.37817
}

Semantic roles & 50–950 ramp

primary
#BFA42D
secondary
#7C8BCB
accent
#61E543
background
#FDFBF7
surface
#FBF6ED
border
#D4D0C8
text
#151208
muted
#83817B

Preview Lab

Preview with #BFA42D

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

Preview Lab → · Contrast checker → · Palette generator →

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