#BFAF43#BFAF43

#BFAF43 is a light, vivid yellow. Relative luminance 0.421; OKLCH L 74.7% C 0.128 H 100.8°. Best body text is #000000 at 9.43:1 contrast (WCAG AA passes).

Color values

HEX#BFAF43
RGBrgb(191, 175, 67)
HSLhsl(52, 49%, 51%)
HSVhsv(52, 65%, 75%)
CMYKcmyk(0%, 8.4%, 64.9%, 25.1%)
CIE-LABlab(70.97, -7.07, 55.54)
CIE-LCHlch(70.97, 55.99, 97.26°)
OKLaboklab(74.73% -0.0241 0.1259)
OKLCHoklch(74.73% 0.128 100.8)
XYZxyz(37.8305, 42.1432, 11.4508)
Luminance0.4214 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BFAF43 #4353BF
analogous
#BF7143 #BFAF43 #91BF43
triadic
#BFAF43 #43BFAF #AF43BF
tetradic
#BFAF43 #43BF71 #4353BF #BF4391
square
#BFAF43 #43BF71 #4353BF #BF4391
split-complementary
#BFAF43 #4391BF #7143BF
monochromatic
#655D22 #938632 #BFAF43 #CFC271 #DED69E

Accessibility & contrast

On white

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

On black

9.43
#BFAF43 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BFAF43
9.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BFAF43#FFFFFF#000000##000000
##BFAF431.002.239.439.43
#FFFFFF2.231.0021.0021.00
#0000009.4321.001.001.00
##0000009.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFAA36
Deuteranopia (green-blind)
#C3B049
Tritanopia (blue-blind)
#CDA398
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #bfaf43;
/* rgb */ color: rgb(191, 175, 67);
/* oklch */ color: oklch(74.7% 0.128 100.8);
Tailwind
colors: {
  custom: {
    50: '#d5c67c',
    500: '#bfaf43',
    950: '#000000',
  },
}
SCSS
$custom: #bfaf43;
$custom-light: #d5c67c;
$custom-dark: #000000;
JSON
{
  "hex": "#bfaf43",
  "rgb": {
    "r": 191,
    "g": 175,
    "b": 67
  },
  "hsl": {
    "h": 52.258,
    "s": 49.206,
    "l": 50.588
  },
  "oklch": {
    "l": 0.74732,
    "c": 0.1282,
    "h": 100.8
  },
  "luminance": 0.42142
}

Semantic roles & 50–950 ramp

primary
#BFAF43
secondary
#939ACA
accent
#61D94F
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#15130A
muted
#83827C

Preview Lab

Preview with #BFAF43

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

Preview Lab → · Contrast checker → · Palette generator →

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