#BFAB3C#BFAB3C

#BFAB3C is a light, vivid yellow. Relative luminance 0.405; OKLCH L 73.8% C 0.130 H 98.9°. Best body text is #000000 at 9.11:1 contrast (WCAG AA passes).

Color values

HEX#BFAB3C
RGBrgb(191, 171, 60)
HSLhsl(51, 52%, 49%)
HSVhsv(51, 69%, 75%)
CMYKcmyk(0%, 10.5%, 68.6%, 25.1%)
CIE-LABlab(69.85, -5.38, 57.31)
CIE-LCHlch(69.85, 57.56, 95.37°)
OKLaboklab(73.82% -0.0201 0.1285)
OKLCHoklch(73.82% 0.13 98.9)
XYZxyz(36.8661, 40.5302, 10.1553)
Luminance0.4053 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BFAB3C #3C50BF
analogous
#BF6A3C #BFAB3C #92BF3C
triadic
#BFAB3C #3CBFAB #AB3CBF
tetradic
#BFAB3C #3CBF6A #3C50BF #BF3C92
square
#BFAB3C #3CBF6A #3C50BF #BF3C92
split-complementary
#BFAB3C #3C92BF #6A3CBF
monochromatic
#62581F #90812D #BFAB3C #D0C068 #DED397

Accessibility & contrast

On white

2.31
#BFAB3C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.11
#BFAB3C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BFAB3C
9.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BFAB3C#FFFFFF#000000##000000
##BFAB3C1.002.319.119.11
#FFFFFF2.311.0021.0021.00
#0000009.1121.001.001.00
##0000009.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA72D
Deuteranopia (green-blind)
#C1AE42
Tritanopia (blue-blind)
#CE9F94
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #bfab3c;
/* rgb */ color: rgb(191, 171, 60);
/* oklch */ color: oklch(73.8% 0.130 98.9);
Tailwind
colors: {
  custom: {
    50: '#d6c378',
    500: '#bfab3c',
    950: '#000000',
  },
}
SCSS
$custom: #bfab3c;
$custom-light: #d6c378;
$custom-dark: #000000;
JSON
{
  "hex": "#bfab3c",
  "rgb": {
    "r": 191,
    "g": 171,
    "b": 60
  },
  "hsl": {
    "h": 50.84,
    "s": 52.191,
    "l": 49.216
  },
  "oklch": {
    "l": 0.73823,
    "c": 0.13006,
    "h": 98.9
  },
  "luminance": 0.40528
}

Semantic roles & 50–950 ramp

primary
#BFAB3C
secondary
#8D96CA
accent
#62DC4C
background
#FDFBF7
surface
#FBF7EE
border
#D4D0C9
text
#151209
muted
#83817B

Preview Lab

Preview with #BFAB3C

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

Preview Lab → · Contrast checker → · Palette generator →

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