#BFAE4F#BFAE4F

#BFAE4F is a light, moderate yellow. Relative luminance 0.419; OKLCH L 74.6% C 0.117 H 99.3°. Best body text is #000000 at 9.38:1 contrast (WCAG AA passes).

Color values

HEX#BFAE4F
RGBrgb(191, 174, 79)
HSLhsl(51, 47%, 53%)
HSVhsv(51, 59%, 75%)
CMYKcmyk(0%, 8.9%, 58.6%, 25.1%)
CIE-LABlab(70.81, -5.74, 49.99)
CIE-LCHlch(70.81, 50.32, 96.55°)
OKLaboklab(74.64% -0.0189 0.1158)
OKLCHoklch(74.64% 0.117 99.3)
XYZxyz(38.0346, 41.9146, 13.4825)
Luminance0.4191 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BFAE4F #4F60BF
analogous
#BF764F #BFAE4F #98BF4F
triadic
#BFAE4F #4FBFAE #AE4FBF
tetradic
#BFAE4F #4FBF76 #4F60BF #BF4F98
square
#BFAE4F #4FBF76 #4F60BF #BF4F98
split-complementary
#BFAE4F #4F98BF #764FBF
monochromatic
#6C6227 #998A38 #BFAE4F #CFC37C #E0D7A9

Accessibility & contrast

On white

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

On black

9.38
#BFAE4F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BFAE4F
9.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BFAE4F#FFFFFF#000000##000000
##BFAE4F1.002.249.389.38
#FFFFFF2.241.0021.0021.00
#0000009.3821.001.001.00
##0000009.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDAA45
Deuteranopia (green-blind)
#C2B054
Tritanopia (blue-blind)
#CDA399
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #bfae4f;
/* rgb */ color: rgb(191, 174, 79);
/* oklch */ color: oklch(74.6% 0.117 99.3);
Tailwind
colors: {
  custom: {
    50: '#d5c584',
    500: '#bfae4f',
    950: '#000000',
  },
}
SCSS
$custom: #bfae4f;
$custom-light: #d5c584;
$custom-dark: #000000;
JSON
{
  "hex": "#bfae4f",
  "rgb": {
    "r": 191,
    "g": 174,
    "b": 79
  },
  "hsl": {
    "h": 50.893,
    "s": 46.667,
    "l": 52.941
  },
  "oklch": {
    "l": 0.74643,
    "c": 0.11729,
    "h": 99.3
  },
  "luminance": 0.41913
}

Semantic roles & 50–950 ramp

primary
#BFAE4F
secondary
#9DA4CD
accent
#66D651
background
#FDFCF8
surface
#FAF8EF
border
#D3D1CA
text
#15120B
muted
#83817C

Preview Lab

Preview with #BFAE4F

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

Preview Lab → · Contrast checker → · Palette generator →

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