#BFB23C#BFB23C

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

Color values

HEX#BFB23C
RGBrgb(191, 178, 60)
HSLhsl(54, 52%, 49%)
HSVhsv(54, 69%, 75%)
CMYKcmyk(0%, 6.8%, 68.6%, 25.1%)
CIE-LABlab(71.72, -9.04, 59.22)
CIE-LCHlch(71.72, 59.90, 98.68°)
OKLaboklab(75.31% -0.0305 0.1325)
OKLCHoklch(75.31% 0.136 103)
XYZxyz(38.2235, 43.2450, 10.6078)
Luminance0.4324 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BFB23C #3C49BF
analogous
#BF713C #BFB23C #8BBF3C
triadic
#BFB23C #3CBFB2 #B23CBF
tetradic
#BFB23C #3CBF71 #3C49BF #BF3C8B
square
#BFB23C #3CBF71 #3C49BF #BF3C8B
split-complementary
#BFB23C #3C8BBF #713CBF
monochromatic
#625B1F #90872D #BFB23C #D0C568 #DED797

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #bfb23c;
/* rgb */ color: rgb(191, 178, 60);
/* oklch */ color: oklch(75.3% 0.136 103.0);
Tailwind
colors: {
  custom: {
    50: '#d6c879',
    500: '#bfb23c',
    950: '#000000',
  },
}
SCSS
$custom: #bfb23c;
$custom-light: #d6c879;
$custom-dark: #000000;
JSON
{
  "hex": "#bfb23c",
  "rgb": {
    "r": 191,
    "g": 178,
    "b": 60
  },
  "hsl": {
    "h": 54.046,
    "s": 52.191,
    "l": 49.216
  },
  "oklch": {
    "l": 0.75312,
    "c": 0.13599,
    "h": 103
  },
  "luminance": 0.43243
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BFB23C

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

Preview Lab → · Contrast checker → · Palette generator →

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