#BFAE45#BFAE45

#BFAE45 is a light, vivid yellow. Relative luminance 0.418; OKLCH L 74.5% C 0.126 H 100.1°. Best body text is #000000 at 9.36:1 contrast (WCAG AA passes).

Color values

HEX#BFAE45
RGBrgb(191, 174, 69)
HSLhsl(52, 49%, 51%)
HSVhsv(52, 64%, 75%)
CMYKcmyk(0%, 8.9%, 63.9%, 25.1%)
CIE-LABlab(70.72, -6.43, 54.41)
CIE-LCHlch(70.72, 54.79, 96.73°)
OKLaboklab(74.54% -0.022 0.1238)
OKLCHoklch(74.54% 0.126 100.1)
XYZxyz(37.6976, 41.7798, 11.7077)
Luminance0.4178 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BFAE45 #4556BF
analogous
#BF7145 #BFAE45 #93BF45
triadic
#BFAE45 #45BFAE #AE45BF
tetradic
#BFAE45 #45BF71 #4556BF #BF4593
square
#BFAE45 #45BF71 #4556BF #BF4593
split-complementary
#BFAE45 #4593BF #7145BF
monochromatic
#665D23 #948633 #BFAE45 #CFC273 #DED6A0

Accessibility & contrast

On white

2.24
#BFAE45 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.36
#BFAE45 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BFAE45
9.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BFAE45#FFFFFF#000000##000000
##BFAE451.002.249.369.36
#FFFFFF2.241.0021.0021.00
#0000009.3621.001.001.00
##0000009.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEA938
Deuteranopia (green-blind)
#C2B04B
Tritanopia (blue-blind)
#CDA298
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #bfae45;
/* rgb */ color: rgb(191, 174, 69);
/* oklch */ color: oklch(74.5% 0.126 100.1);
Tailwind
colors: {
  custom: {
    50: '#d5c57d',
    500: '#bfae45',
    950: '#000000',
  },
}
SCSS
$custom: #bfae45;
$custom-light: #d5c57d;
$custom-dark: #000000;
JSON
{
  "hex": "#bfae45",
  "rgb": {
    "r": 191,
    "g": 174,
    "b": 69
  },
  "hsl": {
    "h": 51.639,
    "s": 48.8,
    "l": 50.98
  },
  "oklch": {
    "l": 0.74539,
    "c": 0.12576,
    "h": 100.1
  },
  "luminance": 0.41778
}

Semantic roles & 50–950 ramp

primary
#BFAE45
secondary
#959CCB
accent
#63D84F
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#15120A
muted
#83817C

Preview Lab

Preview with #BFAE45

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

Preview Lab → · Contrast checker → · Palette generator →

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