#BFAF30#BFAF30

#BFAF30 is a light, vivid yellow. Relative luminance 0.419; OKLCH L 74.6% C 0.141 H 101.9°. Best body text is #000000 at 9.39:1 contrast (WCAG AA passes).

Color values

HEX#BFAF30
RGBrgb(191, 175, 48)
HSLhsl(53, 60%, 47%)
HSVhsv(53, 75%, 75%)
CMYKcmyk(0%, 8.4%, 74.9%, 25.1%)
CIE-LABlab(70.84, -8.07, 62.84)
CIE-LCHlch(70.84, 63.35, 97.31°)
OKLaboklab(74.59% -0.029 0.138)
OKLCHoklch(74.59% 0.141 101.9)
XYZxyz(37.3511, 41.9514, 8.9257)
Luminance0.4195 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BFAF30 #3040BF
analogous
#BF6830 #BFAF30 #88BF30
triadic
#BFAF30 #30BFAF #AF30BF
tetradic
#BFAF30 #30BF68 #3040BF #BF3088
square
#BFAF30 #30BF68 #3040BF #BF3088
split-complementary
#BFAF30 #3088BF #6830BF
monochromatic
#5D5517 #8E8224 #BFAF30 #D5C757 #E1D788

Accessibility & contrast

On white

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

On black

9.39
#BFAF30 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BFAF30
9.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BFAF30#FFFFFF#000000##000000
##BFAF301.002.249.399.39
#FFFFFF2.241.0021.0021.00
#0000009.3921.001.001.00
##0000009.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AA17
Deuteranopia (green-blind)
#C4B039
Tritanopia (blue-blind)
#CEA297
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #bfaf30;
/* rgb */ color: rgb(191, 175, 48);
/* oklch */ color: oklch(74.6% 0.141 101.9);
Tailwind
colors: {
  custom: {
    50: '#d6c672',
    500: '#bfaf30',
    950: '#000000',
  },
}
SCSS
$custom: #bfaf30;
$custom-light: #d6c672;
$custom-dark: #000000;
JSON
{
  "hex": "#bfaf30",
  "rgb": {
    "r": 191,
    "g": 175,
    "b": 48
  },
  "hsl": {
    "h": 53.287,
    "s": 59.833,
    "l": 46.863
  },
  "oklch": {
    "l": 0.74585,
    "c": 0.14102,
    "h": 101.9
  },
  "luminance": 0.4195
}

Semantic roles & 50–950 ramp

primary
#BFAF30
secondary
#8088CB
accent
#57E345
background
#FDFCF7
surface
#FBF8ED
border
#D4D1C8
text
#151308
muted
#83827B

Preview Lab

Preview with #BFAF30

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

Preview Lab → · Contrast checker → · Palette generator →

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