#BFAF3C#BFAF3C

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

Color values

HEX#BFAF3C
RGBrgb(191, 175, 60)
HSLhsl(53, 52%, 49%)
HSVhsv(53, 69%, 75%)
CMYKcmyk(0%, 8.4%, 68.6%, 25.1%)
CIE-LABlab(70.92, -7.48, 58.40)
CIE-LCHlch(70.92, 58.88, 97.30°)
OKLaboklab(74.67% -0.0261 0.1308)
OKLCHoklch(74.67% 0.133 101.3)
XYZxyz(37.6331, 42.0642, 10.4110)
Luminance0.4206 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BFAF3C #3C4CBF
analogous
#BF6E3C #BFAF3C #8EBF3C
triadic
#BFAF3C #3CBFAF #AF3CBF
tetradic
#BFAF3C #3CBF6E #3C4CBF #BF3C8E
square
#BFAF3C #3CBF6E #3C4CBF #BF3C8E
split-complementary
#BFAF3C #3C8EBF #6E3CBF
monochromatic
#625A1F #90842D #BFAF3C #D0C368 #DED697

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BFAF3C#FFFFFF#000000##000000
##BFAF3C1.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)
#BFAA2C
Deuteranopia (green-blind)
#C4B043
Tritanopia (blue-blind)
#CDA398
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #bfaf3c;
/* rgb */ color: rgb(191, 175, 60);
/* oklch */ color: oklch(74.7% 0.133 101.3);
Tailwind
colors: {
  custom: {
    50: '#d6c678',
    500: '#bfaf3c',
    950: '#000000',
  },
}
SCSS
$custom: #bfaf3c;
$custom-light: #d6c678;
$custom-dark: #000000;
JSON
{
  "hex": "#bfaf3c",
  "rgb": {
    "r": 191,
    "g": 175,
    "b": 60
  },
  "hsl": {
    "h": 52.672,
    "s": 52.191,
    "l": 49.216
  },
  "oklch": {
    "l": 0.74672,
    "c": 0.13337,
    "h": 101.3
  },
  "luminance": 0.42063
}

Semantic roles & 50–950 ramp

primary
#BFAF3C
secondary
#8D94CA
accent
#5EDC4C
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#151309
muted
#83827B

Preview Lab

Preview with #BFAF3C

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

Preview Lab → · Contrast checker → · Palette generator →

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