#BFB831#BFB831

#BFB831 is a light, vivid yellow. Relative luminance 0.456; OKLCH L 76.5% C 0.148 H 106.4°. Best body text is #000000 at 10.12:1 contrast (WCAG AA passes).

Color values

HEX#BFB831
RGBrgb(191, 184, 49)
HSLhsl(57, 59%, 47%)
HSVhsv(57, 74%, 75%)
CMYKcmyk(0%, 3.7%, 74.3%, 25.1%)
CIE-LABlab(73.27, -12.67, 64.78)
CIE-LCHlch(73.27, 66.01, 101.07°)
OKLaboklab(76.53% -0.0418 0.1423)
OKLCHoklch(76.53% 0.148 106.4)
XYZxyz(39.1823, 45.5805, 9.6391)
Luminance0.4558 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BFB831 #3138BF
analogous
#BF7131 #BFB831 #7FBF31
triadic
#BFB831 #31BFB8 #B831BF
tetradic
#BFB831 #31BF71 #3138BF #BF317F
square
#BFB831 #31BF71 #3138BF #BF317F
split-complementary
#BFB831 #317FBF #7131BF
monochromatic
#5E5A18 #8E8925 #BFB831 #D4CE59 #E1DD8A

Accessibility & contrast

On white

2.08
#BFB831 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.12
#BFB831 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BFB831
10.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BFB831#FFFFFF#000000##000000
##BFB8311.002.0810.1210.12
#FFFFFF2.081.0021.0021.00
#00000010.1221.001.001.00
##00000010.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B114
Deuteranopia (green-blind)
#CBB63B
Tritanopia (blue-blind)
#CDAB9E
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #bfb831;
/* rgb */ color: rgb(191, 184, 49);
/* oklch */ color: oklch(76.5% 0.148 106.4);
Tailwind
colors: {
  custom: {
    50: '#d6cd73',
    500: '#bfb831',
    950: '#000000',
  },
}
SCSS
$custom: #bfb831;
$custom-light: #d6cd73;
$custom-dark: #000000;
JSON
{
  "hex": "#bfb831",
  "rgb": {
    "r": 191,
    "g": 184,
    "b": 49
  },
  "hsl": {
    "h": 57.042,
    "s": 59.167,
    "l": 47.059
  },
  "oklch": {
    "l": 0.76525,
    "c": 0.14834,
    "h": 106.4
  },
  "luminance": 0.45579
}

Semantic roles & 50–950 ramp

primary
#BFB831
secondary
#8185CB
accent
#4DE245
background
#FDFCF7
surface
#FBF8ED
border
#D4D1C8
text
#151309
muted
#83827B

Preview Lab

Preview with #BFB831

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

Preview Lab → · Contrast checker → · Palette generator →

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