#BFB231#BFB231

#BFB231 is a light, vivid yellow. Relative luminance 0.431; OKLCH L 75.2% C 0.143 H 103.4°. Best body text is #000000 at 9.63:1 contrast (WCAG AA passes).

Color values

HEX#BFB231
RGBrgb(191, 178, 49)
HSLhsl(55, 59%, 47%)
HSVhsv(55, 74%, 75%)
CMYKcmyk(0%, 6.8%, 74.3%, 25.1%)
CIE-LABlab(71.65, -9.58, 63.26)
CIE-LCHlch(71.65, 63.98, 98.61°)
OKLaboklab(75.23% -0.0331 0.1391)
OKLCHoklch(75.23% 0.143 103.4)
XYZxyz(37.9623, 43.1405, 9.2324)
Luminance0.4314 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BFB231 #313EBF
analogous
#BF6B31 #BFB231 #85BF31
triadic
#BFB231 #31BFB2 #B231BF
tetradic
#BFB231 #31BF6B #313EBF #BF3185
square
#BFB231 #31BF6B #313EBF #BF3185
split-complementary
#BFB231 #3185BF #6B31BF
monochromatic
#5E5718 #8E8525 #BFB231 #D4C959 #E1D98A

Accessibility & contrast

On white

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

On black

9.63
#BFB231 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BFB231
9.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BFB231#FFFFFF#000000##000000
##BFB2311.002.189.639.63
#FFFFFF2.181.0021.0021.00
#0000009.6321.001.001.00
##0000009.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AC18
Deuteranopia (green-blind)
#C6B23A
Tritanopia (blue-blind)
#CEA599
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #bfb231;
/* rgb */ color: rgb(191, 178, 49);
/* oklch */ color: oklch(75.2% 0.143 103.4);
Tailwind
colors: {
  custom: {
    50: '#d6c873',
    500: '#bfb231',
    950: '#000000',
  },
}
SCSS
$custom: #bfb231;
$custom-light: #d6c873;
$custom-dark: #000000;
JSON
{
  "hex": "#bfb231",
  "rgb": {
    "r": 191,
    "g": 178,
    "b": 49
  },
  "hsl": {
    "h": 54.507,
    "s": 59.167,
    "l": 47.059
  },
  "oklch": {
    "l": 0.75233,
    "c": 0.14299,
    "h": 103.4
  },
  "luminance": 0.43139
}

Semantic roles & 50–950 ramp

primary
#BFB231
secondary
#8188CB
accent
#54E245
background
#FDFCF7
surface
#FBF8ED
border
#D4D1C8
text
#151309
muted
#83827B

Preview Lab

Preview with #BFB231

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

Preview Lab → · Contrast checker → · Palette generator →

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