#BFB245#BFB245

#BFB245 is a light, vivid yellow. Relative luminance 0.433; OKLCH L 75.4% C 0.129 H 102.5°. Best body text is #000000 at 9.67:1 contrast (WCAG AA passes).

Color values

HEX#BFB245
RGBrgb(191, 178, 69)
HSLhsl(54, 49%, 51%)
HSVhsv(54, 64%, 75%)
CMYKcmyk(0%, 6.8%, 63.9%, 25.1%)
CIE-LABlab(71.79, -8.52, 55.56)
CIE-LCHlch(71.79, 56.21, 98.71°)
OKLaboklab(75.39% -0.028 0.1262)
OKLCHoklch(75.39% 0.129 102.5)
XYZxyz(38.4819, 43.3483, 11.9691)
Luminance0.4335 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BFB245 #4552BF
analogous
#BF7545 #BFB245 #8FBF45
triadic
#BFB245 #45BFB2 #B245BF
tetradic
#BFB245 #45BF75 #4552BF #BF458F
square
#BFB245 #45BF75 #4552BF #BF458F
split-complementary
#BFB245 #458FBF #7545BF
monochromatic
#665F23 #948A33 #BFB245 #CFC573 #DED8A0

Accessibility & contrast

On white

2.17
#BFB245 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.67
#BFB245 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BFB245
9.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BFB245#FFFFFF#000000##000000
##BFB2451.002.179.679.67
#FFFFFF2.171.0021.0021.00
#0000009.6721.001.001.00
##0000009.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AD38
Deuteranopia (green-blind)
#C5B34B
Tritanopia (blue-blind)
#CDA69B
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #bfb245;
/* rgb */ color: rgb(191, 178, 69);
/* oklch */ color: oklch(75.4% 0.129 102.5);
Tailwind
colors: {
  custom: {
    50: '#d5c87e',
    500: '#bfb245',
    950: '#000000',
  },
}
SCSS
$custom: #bfb245;
$custom-light: #d5c87e;
$custom-dark: #000000;
JSON
{
  "hex": "#bfb245",
  "rgb": {
    "r": 191,
    "g": 178,
    "b": 69
  },
  "hsl": {
    "h": 53.607,
    "s": 48.8,
    "l": 50.98
  },
  "oklch": {
    "l": 0.7539,
    "c": 0.12931,
    "h": 102.5
  },
  "luminance": 0.43347
}

Semantic roles & 50–950 ramp

primary
#BFB245
secondary
#959BCB
accent
#5ED84F
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#15130A
muted
#83827C

Preview Lab

Preview with #BFB245

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

Preview Lab → · Contrast checker → · Palette generator →

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