#BFAB3E#BFAB3E

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

Color values

HEX#BFAB3E
RGBrgb(191, 171, 62)
HSLhsl(51, 51%, 50%)
HSVhsv(51, 68%, 75%)
CMYKcmyk(0%, 10.5%, 67.5%, 25.1%)
CIE-LABlab(69.86, -5.27, 56.50)
CIE-LCHlch(69.86, 56.74, 95.33°)
OKLaboklab(73.84% -0.0196 0.1271)
OKLCHoklch(73.84% 0.129 98.7)
XYZxyz(36.9199, 40.5517, 10.4391)
Luminance0.4055 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BFAB3E #3E52BF
analogous
#BF6B3E #BFAB3E #92BF3E
triadic
#BFAB3E #3EBFAB #AB3EBF
tetradic
#BFAB3E #3EBF6B #3E52BF #BF3E92
square
#BFAB3E #3EBF6B #3E52BF #BF3E92
split-complementary
#BFAB3E #3E92BF #6B3EBF
monochromatic
#635820 #91822F #BFAB3E #CFC06B #DED399

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BFAB3E#FFFFFF#000000##000000
##BFAB3E1.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)
#BBA730
Deuteranopia (green-blind)
#C1AE44
Tritanopia (blue-blind)
#CE9F95
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #bfab3e;
/* rgb */ color: rgb(191, 171, 62);
/* oklch */ color: oklch(73.8% 0.129 98.7);
Tailwind
colors: {
  custom: {
    50: '#d6c379',
    500: '#bfab3e',
    950: '#000000',
  },
}
SCSS
$custom: #bfab3e;
$custom-light: #d6c379;
$custom-dark: #000000;
JSON
{
  "hex": "#bfab3e",
  "rgb": {
    "r": 191,
    "g": 171,
    "b": 62
  },
  "hsl": {
    "h": 50.698,
    "s": 50.988,
    "l": 49.608
  },
  "oklch": {
    "l": 0.7384,
    "c": 0.12862,
    "h": 98.7
  },
  "luminance": 0.4055
}

Semantic roles & 50–950 ramp

primary
#BFAB3E
secondary
#8F98CA
accent
#63DA4D
background
#FDFBF7
surface
#FBF7EE
border
#D4D0C9
text
#151209
muted
#83817B

Preview Lab

Preview with #BFAB3E

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

Preview Lab → · Contrast checker → · Palette generator →

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