#BFAF3A#BFAF3A

#BFAF3A is a light, vivid yellow. Relative luminance 0.420; OKLCH L 74.7% C 0.135 H 101.4°. Best body text is #000000 at 9.41:1 contrast (WCAG AA passes).

Color values

HEX#BFAF3A
RGBrgb(191, 175, 58)
HSLhsl(53, 53%, 49%)
HSVhsv(53, 70%, 75%)
CMYKcmyk(0%, 8.4%, 69.6%, 25.1%)
CIE-LABlab(70.90, -7.59, 59.18)
CIE-LCHlch(70.90, 59.67, 97.31°)
OKLaboklab(74.66% -0.0266 0.1321)
OKLCHoklch(74.66% 0.135 101.4)
XYZxyz(37.5812, 42.0434, 10.1378)
Luminance0.4204 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BFAF3A #3A4ABF
analogous
#BF6D3A #BFAF3A #8DBF3A
triadic
#BFAF3A #3ABFAF #AF3ABF
tetradic
#BFAF3A #3ABF6D #3A4ABF #BF3A8D
square
#BFAF3A #3ABF6D #3A4ABF #BF3A8D
split-complementary
#BFAF3A #3A8DBF #6D3ABF
monochromatic
#61591D #90842C #BFAF3A #D0C466 #DFD695

Accessibility & contrast

On white

2.23
#BFAF3A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.41
#BFAF3A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BFAF3A
9.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BFAF3A#FFFFFF#000000##000000
##BFAF3A1.002.239.419.41
#FFFFFF2.231.0021.0021.00
#0000009.4121.001.001.00
##0000009.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFAA29
Deuteranopia (green-blind)
#C4B041
Tritanopia (blue-blind)
#CDA397
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #bfaf3a;
/* rgb */ color: rgb(191, 175, 58);
/* oklch */ color: oklch(74.7% 0.135 101.4);
Tailwind
colors: {
  custom: {
    50: '#d6c677',
    500: '#bfaf3a',
    950: '#000000',
  },
}
SCSS
$custom: #bfaf3a;
$custom-light: #d6c677;
$custom-dark: #000000;
JSON
{
  "hex": "#bfaf3a",
  "rgb": {
    "r": 191,
    "g": 175,
    "b": 58
  },
  "hsl": {
    "h": 52.782,
    "s": 53.414,
    "l": 48.824
  },
  "oklch": {
    "l": 0.74656,
    "c": 0.13475,
    "h": 101.4
  },
  "luminance": 0.42042
}

Semantic roles & 50–950 ramp

primary
#BFAF3A
secondary
#8B92CA
accent
#5DDD4B
background
#FDFCF7
surface
#FBF8ED
border
#D4D1C8
text
#151309
muted
#83827B

Preview Lab

Preview with #BFAF3A

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

Preview Lab → · Contrast checker → · Palette generator →

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