#BFB23B#BFB23B

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

Color values

HEX#BFB23B
RGBrgb(191, 178, 59)
HSLhsl(54, 53%, 49%)
HSVhsv(54, 69%, 75%)
CMYKcmyk(0%, 6.8%, 69.1%, 25.1%)
CIE-LABlab(71.71, -9.10, 59.60)
CIE-LCHlch(71.71, 60.29, 98.68°)
OKLaboklab(75.3% -0.0308 0.1332)
OKLCHoklch(75.3% 0.137 103)
XYZxyz(38.1973, 43.2345, 10.4699)
Luminance0.4323 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BFB23B #3B48BF
analogous
#BF703B #BFB23B #8ABF3B
triadic
#BFB23B #3BBFB2 #B23BBF
tetradic
#BFB23B #3BBF70 #3B48BF #BF3B8A
square
#BFB23B #3BBF70 #3B48BF #BF3B8A
split-complementary
#BFB23B #3B8ABF #703BBF
monochromatic
#615B1E #90862D #BFB23B #D0C667 #DFD796

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BFB23B#FFFFFF#000000##000000
##BFB23B1.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)
#C2AC29
Deuteranopia (green-blind)
#C6B243
Tritanopia (blue-blind)
#CDA69A
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #bfb23b;
/* rgb */ color: rgb(191, 178, 59);
/* oklch */ color: oklch(75.3% 0.137 103.0);
Tailwind
colors: {
  custom: {
    50: '#d6c878',
    500: '#bfb23b',
    950: '#000000',
  },
}
SCSS
$custom: #bfb23b;
$custom-light: #d6c878;
$custom-dark: #000000;
JSON
{
  "hex": "#bfb23b",
  "rgb": {
    "r": 191,
    "g": 178,
    "b": 59
  },
  "hsl": {
    "h": 54.091,
    "s": 52.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.75304,
    "c": 0.13668,
    "h": 103
  },
  "luminance": 0.43233
}

Semantic roles & 50–950 ramp

primary
#BFB23B
secondary
#8C92CA
accent
#5ADC4C
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#151309
muted
#83827B

Preview Lab

Preview with #BFB23B

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

Preview Lab → · Contrast checker → · Palette generator →

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