#BFAE42#BFAE42

#BFAE42 is a light, vivid yellow. Relative luminance 0.417; OKLCH L 74.5% C 0.128 H 100.3°. Best body text is #000000 at 9.35:1 contrast (WCAG AA passes).

Color values

HEX#BFAE42
RGBrgb(191, 174, 66)
HSLhsl(52, 49%, 50%)
HSVhsv(52, 65%, 75%)
CMYKcmyk(0%, 8.9%, 65.4%, 25.1%)
CIE-LABlab(70.69, -6.61, 55.68)
CIE-LCHlch(70.69, 56.07, 96.77°)
OKLaboklab(74.51% -0.0229 0.126)
OKLCHoklch(74.51% 0.128 100.3)
XYZxyz(37.6069, 41.7435, 11.2296)
Luminance0.4174 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BFAE42 #4253BF
analogous
#BF6F42 #BFAE42 #91BF42
triadic
#BFAE42 #42BFAE #AE42BF
tetradic
#BFAE42 #42BF6F #4253BF #BF4291
square
#BFAE42 #42BF6F #4253BF #BF4291
split-complementary
#BFAE42 #4291BF #6F42BF
monochromatic
#655C22 #928532 #BFAE42 #CEC270 #DED59D

Accessibility & contrast

On white

2.25
#BFAE42 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.35
#BFAE42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BFAE42
9.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BFAE42#FFFFFF#000000##000000
##BFAE421.002.259.359.35
#FFFFFF2.251.0021.0021.00
#0000009.3521.001.001.00
##0000009.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEA934
Deuteranopia (green-blind)
#C3B048
Tritanopia (blue-blind)
#CDA297
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #bfae42;
/* rgb */ color: rgb(191, 174, 66);
/* oklch */ color: oklch(74.5% 0.128 100.3);
Tailwind
colors: {
  custom: {
    50: '#d5c57c',
    500: '#bfae42',
    950: '#000000',
  },
}
SCSS
$custom: #bfae42;
$custom-light: #d5c57c;
$custom-dark: #000000;
JSON
{
  "hex": "#bfae42",
  "rgb": {
    "r": 191,
    "g": 174,
    "b": 66
  },
  "hsl": {
    "h": 51.84,
    "s": 49.407,
    "l": 50.392
  },
  "oklch": {
    "l": 0.74511,
    "c": 0.12811,
    "h": 100.3
  },
  "luminance": 0.41742
}

Semantic roles & 50–950 ramp

primary
#BFAE42
secondary
#939ACA
accent
#62D94F
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#15120A
muted
#83817C

Preview Lab

Preview with #BFAE42

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

Preview Lab → · Contrast checker → · Palette generator →

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