#BFAB2E#BFAB2E

#BFAB2E is a light, vivid yellow. Relative luminance 0.404; OKLCH L 73.7% C 0.139 H 99.7°. Best body text is #000000 at 9.08:1 contrast (WCAG AA passes).

Color values

HEX#BFAB2E
RGBrgb(191, 171, 46)
HSLhsl(52, 61%, 46%)
HSVhsv(52, 76%, 75%)
CMYKcmyk(0%, 10.5%, 75.9%, 25.1%)
CIE-LABlab(69.75, -6.06, 62.52)
CIE-LCHlch(69.75, 62.81, 95.53°)
OKLaboklab(73.72% -0.0235 0.1369)
OKLCHoklch(73.72% 0.139 99.7)
XYZxyz(36.5437, 40.4012, 8.4576)
Luminance0.4040 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BFAB2E #2E42BF
analogous
#BF632E #BFAB2E #8BBF2E
triadic
#BFAB2E #2EBFAB #AB2EBF
tetradic
#BFAB2E #2EBF63 #2E42BF #BF2E8B
square
#BFAB2E #2EBF63 #2E42BF #BF2E8B
split-complementary
#BFAB2E #2E8BBF #632EBF
monochromatic
#5C5316 #8E7F22 #BFAB2E #D6C454 #E2D586

Accessibility & contrast

On white

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

On black

9.08
#BFAB2E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BFAB2E
9.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BFAB2E#FFFFFF#000000##000000
##BFAB2E1.002.319.089.08
#FFFFFF2.311.0021.0021.00
#0000009.0821.001.001.00
##0000009.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA614
Deuteranopia (green-blind)
#C1AE37
Tritanopia (blue-blind)
#CE9E93
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #bfab2e;
/* rgb */ color: rgb(191, 171, 46);
/* oklch */ color: oklch(73.7% 0.139 99.7);
Tailwind
colors: {
  custom: {
    50: '#d6c370',
    500: '#bfab2e',
    950: '#000000',
  },
}
SCSS
$custom: #bfab2e;
$custom-light: #d6c370;
$custom-dark: #000000;
JSON
{
  "hex": "#bfab2e",
  "rgb": {
    "r": 191,
    "g": 171,
    "b": 46
  },
  "hsl": {
    "h": 51.724,
    "s": 61.181,
    "l": 46.471
  },
  "oklch": {
    "l": 0.73722,
    "c": 0.13894,
    "h": 99.7
  },
  "luminance": 0.40399
}

Semantic roles & 50–950 ramp

primary
#BFAB2E
secondary
#7E88CB
accent
#5AE444
background
#FDFBF7
surface
#FBF7ED
border
#D4D0C8
text
#151208
muted
#83817B

Preview Lab

Preview with #BFAB2E

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

Preview Lab → · Contrast checker → · Palette generator →

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