#BFAF2E#BFAF2E

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

Color values

HEX#BFAF2E
RGBrgb(191, 175, 46)
HSLhsl(53, 61%, 46%)
HSVhsv(53, 76%, 75%)
CMYKcmyk(0%, 8.4%, 75.9%, 25.1%)
CIE-LABlab(70.83, -8.15, 63.51)
CIE-LCHlch(70.83, 64.03, 97.31°)
OKLaboklab(74.57% -0.0294 0.1391)
OKLCHoklch(74.57% 0.142 101.9)
XYZxyz(37.3107, 41.9352, 8.7133)
Luminance0.4193 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BFAF2E #2E3EBF
analogous
#BF672E #BFAF2E #87BF2E
triadic
#BFAF2E #2EBFAF #AF2EBF
tetradic
#BFAF2E #2EBF67 #2E3EBF #BF2E87
square
#BFAF2E #2EBF67 #2E3EBF #BF2E87
split-complementary
#BFAF2E #2E87BF #672EBF
monochromatic
#5C5516 #8E8222 #BFAF2E #D6C854 #E2D886

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BFAF2E#FFFFFF#000000##000000
##BFAF2E1.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)
#C0AA12
Deuteranopia (green-blind)
#C4B037
Tritanopia (blue-blind)
#CEA296
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #bfaf2e;
/* rgb */ color: rgb(191, 175, 46);
/* oklch */ color: oklch(74.6% 0.142 101.9);
Tailwind
colors: {
  custom: {
    50: '#d6c671',
    500: '#bfaf2e',
    950: '#000000',
  },
}
SCSS
$custom: #bfaf2e;
$custom-light: #d6c671;
$custom-dark: #000000;
JSON
{
  "hex": "#bfaf2e",
  "rgb": {
    "r": 191,
    "g": 175,
    "b": 46
  },
  "hsl": {
    "h": 53.379,
    "s": 61.181,
    "l": 46.471
  },
  "oklch": {
    "l": 0.74573,
    "c": 0.14213,
    "h": 101.9
  },
  "luminance": 0.41934
}

Semantic roles & 50–950 ramp

primary
#BFAF2E
secondary
#7E86CB
accent
#55E444
background
#FDFCF7
surface
#FBF8ED
border
#D4D1C8
text
#151308
muted
#83827B

Preview Lab

Preview with #BFAF2E

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

Preview Lab → · Contrast checker → · Palette generator →

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