#BFAE2F#BFAE2F

#BFAE2F is a light, vivid yellow. Relative luminance 0.416; OKLCH L 74.4% C 0.141 H 101.4°. Best body text is #000000 at 9.31:1 contrast (WCAG AA passes).

Color values

HEX#BFAE2F
RGBrgb(191, 174, 47)
HSLhsl(53, 61%, 47%)
HSVhsv(53, 75%, 75%)
CMYKcmyk(0%, 8.9%, 75.4%, 25.1%)
CIE-LABlab(70.56, -7.59, 62.93)
CIE-LCHlch(70.56, 63.38, 96.87°)
OKLaboklab(74.37% -0.0277 0.138)
OKLCHoklch(74.37% 0.141 101.4)
XYZxyz(37.1367, 41.5554, 8.7536)
Luminance0.4155 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BFAE2F #2F40BF
analogous
#BF662F #BFAE2F #88BF2F
triadic
#BFAE2F #2FBFAE #AE2FBF
tetradic
#BFAE2F #2FBF66 #2F40BF #BF2F88
square
#BFAE2F #2FBF66 #2F40BF #BF2F88
split-complementary
#BFAE2F #2F88BF #662FBF
monochromatic
#5D5517 #8E8123 #BFAE2F #D5C656 #E1D787

Accessibility & contrast

On white

2.26
#BFAE2F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.31
#BFAE2F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BFAE2F
9.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BFAE2F#FFFFFF#000000##000000
##BFAE2F1.002.269.319.31
#FFFFFF2.261.0021.0021.00
#0000009.3121.001.001.00
##0000009.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFA915
Deuteranopia (green-blind)
#C4B038
Tritanopia (blue-blind)
#CEA196
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #bfae2f;
/* rgb */ color: rgb(191, 174, 47);
/* oklch */ color: oklch(74.4% 0.141 101.4);
Tailwind
colors: {
  custom: {
    50: '#d6c571',
    500: '#bfae2f',
    950: '#000000',
  },
}
SCSS
$custom: #bfae2f;
$custom-light: #d6c571;
$custom-dark: #000000;
JSON
{
  "hex": "#bfae2f",
  "rgb": {
    "r": 191,
    "g": 174,
    "b": 47
  },
  "hsl": {
    "h": 52.917,
    "s": 60.504,
    "l": 46.667
  },
  "oklch": {
    "l": 0.74366,
    "c": 0.14077,
    "h": 101.4
  },
  "luminance": 0.41554
}

Semantic roles & 50–950 ramp

primary
#BFAE2F
secondary
#7F88CB
accent
#57E444
background
#FDFCF7
surface
#FBF8ED
border
#D4D1C8
text
#151208
muted
#83817B

Preview Lab

Preview with #BFAE2F

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

Preview Lab → · Contrast checker → · Palette generator →

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