#BFAE38#BFAE38

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

Color values

HEX#BFAE38
RGBrgb(191, 174, 56)
HSLhsl(52, 55%, 48%)
HSVhsv(52, 71%, 75%)
CMYKcmyk(0%, 8.9%, 70.7%, 25.1%)
CIE-LABlab(70.62, -7.17, 59.68)
CIE-LCHlch(70.62, 60.11, 96.85°)
OKLaboklab(74.43% -0.0256 0.1328)
OKLCHoklch(74.43% 0.135 100.9)
XYZxyz(37.3374, 41.6357, 9.8104)
Luminance0.4163 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BFAE38 #3849BF
analogous
#BF6A38 #BFAE38 #8CBF38
triadic
#BFAE38 #38BFAE #AE38BF
tetradic
#BFAE38 #38BF6A #3849BF #BF388C
square
#BFAE38 #38BF6A #3849BF #BF388C
split-complementary
#BFAE38 #388CBF #6A38BF
monochromatic
#60581C #90832A #BFAE38 #D1C363 #DFD592

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BFAE38#FFFFFF#000000##000000
##BFAE381.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)
#BEA926
Deuteranopia (green-blind)
#C3B03F
Tritanopia (blue-blind)
#CEA296
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #bfae38;
/* rgb */ color: rgb(191, 174, 56);
/* oklch */ color: oklch(74.4% 0.135 100.9);
Tailwind
colors: {
  custom: {
    50: '#d6c576',
    500: '#bfae38',
    950: '#000000',
  },
}
SCSS
$custom: #bfae38;
$custom-light: #d6c576;
$custom-dark: #000000;
JSON
{
  "hex": "#bfae38",
  "rgb": {
    "r": 191,
    "g": 174,
    "b": 56
  },
  "hsl": {
    "h": 52.444,
    "s": 54.656,
    "l": 48.431
  },
  "oklch": {
    "l": 0.74428,
    "c": 0.13526,
    "h": 100.9
  },
  "luminance": 0.41634
}

Semantic roles & 50–950 ramp

primary
#BFAE38
secondary
#8991CA
accent
#5CDE4A
background
#FDFCF7
surface
#FBF8ED
border
#D4D1C8
text
#151209
muted
#83817B

Preview Lab

Preview with #BFAE38

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

Preview Lab → · Contrast checker → · Palette generator →

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