#BFAE3B#BFAE3B

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

Color values

HEX#BFAE3B
RGBrgb(191, 174, 59)
HSLhsl(52, 53%, 49%)
HSVhsv(52, 69%, 75%)
CMYKcmyk(0%, 8.9%, 69.1%, 25.1%)
CIE-LABlab(70.64, -7.01, 58.52)
CIE-LCHlch(70.64, 58.94, 96.83°)
OKLaboklab(74.45% -0.0248 0.1309)
OKLCHoklch(74.45% 0.133 100.8)
XYZxyz(37.4130, 41.6659, 10.2085)
Luminance0.4166 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BFAE3B #3B4CBF
analogous
#BF6C3B #BFAE3B #8EBF3B
triadic
#BFAE3B #3BBFAE #AE3BBF
tetradic
#BFAE3B #3BBF6C #3B4CBF #BF3B8E
square
#BFAE3B #3BBF6C #3B4CBF #BF3B8E
split-complementary
#BFAE3B #3B8EBF #6C3BBF
monochromatic
#61591E #90832D #BFAE3B #D0C367 #DFD596

Accessibility & contrast

On white

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

On black

9.33
#BFAE3B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BFAE3B
9.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BFAE3B#FFFFFF#000000##000000
##BFAE3B1.002.259.339.33
#FFFFFF2.251.0021.0021.00
#0000009.3321.001.001.00
##0000009.3321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #bfae3b;
/* rgb */ color: rgb(191, 174, 59);
/* oklch */ color: oklch(74.5% 0.133 100.8);
Tailwind
colors: {
  custom: {
    50: '#d6c578',
    500: '#bfae3b',
    950: '#000000',
  },
}
SCSS
$custom: #bfae3b;
$custom-light: #d6c578;
$custom-dark: #000000;
JSON
{
  "hex": "#bfae3b",
  "rgb": {
    "r": 191,
    "g": 174,
    "b": 59
  },
  "hsl": {
    "h": 52.273,
    "s": 52.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.74451,
    "c": 0.13322,
    "h": 100.8
  },
  "luminance": 0.41664
}

Semantic roles & 50–950 ramp

primary
#BFAE3B
secondary
#8C94CA
accent
#5EDC4C
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#151209
muted
#83817B

Preview Lab

Preview with #BFAE3B

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

Preview Lab → · Contrast checker → · Palette generator →

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