#BFAF39#BFAF39

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

Color values

HEX#BFAF39
RGBrgb(191, 175, 57)
HSLhsl(53, 54%, 49%)
HSVhsv(53, 70%, 75%)
CMYKcmyk(0%, 8.4%, 70.2%, 25.1%)
CIE-LABlab(70.89, -7.64, 59.57)
CIE-LCHlch(70.89, 60.05, 97.31°)
OKLaboklab(74.65% -0.0268 0.1327)
OKLCHoklch(74.65% 0.135 101.4)
XYZxyz(37.5560, 42.0334, 10.0051)
Luminance0.4203 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BFAF39 #3949BF
analogous
#BF6C39 #BFAF39 #8CBF39
triadic
#BFAF39 #39BFAF #AF39BF
tetradic
#BFAF39 #39BF6C #3949BF #BF398C
square
#BFAF39 #39BF6C #3949BF #BF398C
split-complementary
#BFAF39 #398CBF #6C39BF
monochromatic
#61591D #90842B #BFAF39 #D1C464 #DFD693

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BFAF39#FFFFFF#000000##000000
##BFAF391.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)
#BFAA27
Deuteranopia (green-blind)
#C4B040
Tritanopia (blue-blind)
#CEA397
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #bfaf39;
/* rgb */ color: rgb(191, 175, 57);
/* oklch */ color: oklch(74.6% 0.135 101.4);
Tailwind
colors: {
  custom: {
    50: '#d6c677',
    500: '#bfaf39',
    950: '#000000',
  },
}
SCSS
$custom: #bfaf39;
$custom-light: #d6c677;
$custom-dark: #000000;
JSON
{
  "hex": "#bfaf39",
  "rgb": {
    "r": 191,
    "g": 175,
    "b": 57
  },
  "hsl": {
    "h": 52.836,
    "s": 54.032,
    "l": 48.627
  },
  "oklch": {
    "l": 0.74648,
    "c": 0.13543,
    "h": 101.4
  },
  "luminance": 0.42032
}

Semantic roles & 50–950 ramp

primary
#BFAF39
secondary
#8A91CA
accent
#5CDD4A
background
#FDFCF7
surface
#FBF8ED
border
#D4D1C8
text
#151309
muted
#83827B

Preview Lab

Preview with #BFAF39

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

Preview Lab → · Contrast checker → · Palette generator →

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