#BFA23D#BFA23D

#BFA23D is a light, vivid yellow. Relative luminance 0.373; OKLCH L 71.9% C 0.123 H 92.9°. Best body text is #000000 at 8.45:1 contrast (WCAG AA passes).

Color values

HEX#BFA23D
RGBrgb(191, 162, 61)
HSLhsl(47, 52%, 49%)
HSVhsv(47, 68%, 75%)
CMYKcmyk(0%, 15.2%, 68.1%, 25.1%)
CIE-LABlab(67.47, -0.54, 54.44)
CIE-LCHlch(67.47, 54.44, 90.57°)
OKLaboklab(71.95% -0.0061 0.1226)
OKLCHoklch(71.95% 0.123 92.9)
XYZxyz(35.2503, 37.2559, 9.7484)
Luminance0.3725 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BFA23D #3D5ABF
analogous
#BF613D #BFA23D #9BBF3D
triadic
#BFA23D #3DBFA2 #A23DBF
tetradic
#BFA23D #3DBF61 #3D5ABF #BF3D9B
square
#BFA23D #3DBF61 #3D5ABF #BF3D9B
split-complementary
#BFA23D #3D9BBF #613DBF
monochromatic
#62531F #917B2E #BFA23D #CFB96A #DECF98

Accessibility & contrast

On white

2.48
#BFA23D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.45
#BFA23D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BFA23D
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BFA23D#FFFFFF#000000##000000
##BFA23D1.002.488.458.45
#FFFFFF2.481.0021.0021.00
#0000008.4521.001.001.00
##0000008.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B39F30
Deuteranopia (green-blind)
#BAA842
Tritanopia (blue-blind)
#CE958D
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #bfa23d;
/* rgb */ color: rgb(191, 162, 61);
/* oklch */ color: oklch(71.9% 0.123 92.9);
Tailwind
colors: {
  custom: {
    50: '#d6bd78',
    500: '#bfa23d',
    950: '#000000',
  },
}
SCSS
$custom: #bfa23d;
$custom-light: #d6bd78;
$custom-dark: #000000;
JSON
{
  "hex": "#bfa23d",
  "rgb": {
    "r": 191,
    "g": 162,
    "b": 61
  },
  "hsl": {
    "h": 46.615,
    "s": 51.587,
    "l": 49.412
  },
  "oklch": {
    "l": 0.71945,
    "c": 0.12275,
    "h": 92.9
  },
  "luminance": 0.37254
}

Semantic roles & 50–950 ramp

primary
#BFA23D
secondary
#8E9BCA
accent
#6CDB4D
background
#FDFBF7
surface
#FBF6ED
border
#D4D0C8
text
#151209
muted
#83817B

Preview Lab

Preview with #BFA23D

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

Preview Lab → · Contrast checker → · Palette generator →

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