#BFB23F#BFB23F

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

Color values

HEX#BFB23F
RGBrgb(191, 178, 63)
HSLhsl(54, 50%, 50%)
HSVhsv(54, 67%, 75%)
CMYKcmyk(0%, 6.8%, 67%, 25.1%)
CIE-LABlab(71.74, -8.88, 58.03)
CIE-LCHlch(71.74, 58.70, 98.70°)
OKLaboklab(75.34% -0.0297 0.1305)
OKLCHoklch(75.34% 0.134 102.8)
XYZxyz(38.3050, 43.2776, 11.0374)
Luminance0.4328 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BFB23F #3F4CBF
analogous
#BF723F #BFB23F #8CBF3F
triadic
#BFB23F #3FBFB2 #B23FBF
tetradic
#BFB23F #3FBF72 #3F4CBF #BF3F8C
square
#BFB23F #3FBF72 #3F4CBF #BF3F8C
split-complementary
#BFB23F #3F8CBF #723FBF
monochromatic
#635C21 #918730 #BFB23F #CFC56D #DED79B

Accessibility & contrast

On white

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

On black

9.66
#BFB23F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BFB23F
9.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BFB23F#FFFFFF#000000##000000
##BFB23F1.002.179.669.66
#FFFFFF2.171.0021.0021.00
#0000009.6621.001.001.00
##0000009.6621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #bfb23f;
/* rgb */ color: rgb(191, 178, 63);
/* oklch */ color: oklch(75.3% 0.134 102.8);
Tailwind
colors: {
  custom: {
    50: '#d6c87a',
    500: '#bfb23f',
    950: '#000000',
  },
}
SCSS
$custom: #bfb23f;
$custom-light: #d6c87a;
$custom-dark: #000000;
JSON
{
  "hex": "#bfb23f",
  "rgb": {
    "r": 191,
    "g": 178,
    "b": 63
  },
  "hsl": {
    "h": 53.906,
    "s": 50.394,
    "l": 49.804
  },
  "oklch": {
    "l": 0.75336,
    "c": 0.13386,
    "h": 102.8
  },
  "luminance": 0.43276
}

Semantic roles & 50–950 ramp

primary
#BFB23F
secondary
#9096CA
accent
#5CDA4E
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#15130A
muted
#83827C

Preview Lab

Preview with #BFB23F

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

Preview Lab → · Contrast checker → · Palette generator →

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