#BFB23D#BFB23D

#BFB23D is a light, vivid yellow. Relative luminance 0.433; OKLCH L 75.3% C 0.135 H 102.9°. Best body text is #000000 at 9.65:1 contrast (WCAG AA passes).

Color values

HEX#BFB23D
RGBrgb(191, 178, 61)
HSLhsl(54, 52%, 49%)
HSVhsv(54, 68%, 75%)
CMYKcmyk(0%, 6.8%, 68.1%, 25.1%)
CIE-LABlab(71.73, -8.99, 58.82)
CIE-LCHlch(71.73, 59.51, 98.69°)
OKLaboklab(75.32% -0.0302 0.1319)
OKLCHoklch(75.32% 0.135 102.9)
XYZxyz(38.2501, 43.2556, 10.7483)
Luminance0.4325 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BFB23D #3D4ABF
analogous
#BF713D #BFB23D #8BBF3D
triadic
#BFB23D #3DBFB2 #B23DBF
tetradic
#BFB23D #3DBF71 #3D4ABF #BF3D8B
square
#BFB23D #3DBF71 #3D4ABF #BF3D8B
split-complementary
#BFB23D #3D8BBF #713DBF
monochromatic
#625C1F #91872E #BFB23D #CFC56A #DED798

Accessibility & contrast

On white

2.18
#BFB23D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.65
#BFB23D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BFB23D
9.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BFB23D#FFFFFF#000000##000000
##BFB23D1.002.189.659.65
#FFFFFF2.181.0021.0021.00
#0000009.6521.001.001.00
##0000009.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AC2C
Deuteranopia (green-blind)
#C6B244
Tritanopia (blue-blind)
#CDA69A
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #bfb23d;
/* rgb */ color: rgb(191, 178, 61);
/* oklch */ color: oklch(75.3% 0.135 102.9);
Tailwind
colors: {
  custom: {
    50: '#d6c879',
    500: '#bfb23d',
    950: '#000000',
  },
}
SCSS
$custom: #bfb23d;
$custom-light: #d6c879;
$custom-dark: #000000;
JSON
{
  "hex": "#bfb23d",
  "rgb": {
    "r": 191,
    "g": 178,
    "b": 61
  },
  "hsl": {
    "h": 54,
    "s": 51.587,
    "l": 49.412
  },
  "oklch": {
    "l": 0.7532,
    "c": 0.13529,
    "h": 102.9
  },
  "luminance": 0.43254
}

Semantic roles & 50–950 ramp

primary
#BFB23D
secondary
#8E94CA
accent
#5BDB4D
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#151309
muted
#83827B

Preview Lab

Preview with #BFB23D

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

Preview Lab → · Contrast checker → · Palette generator →

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