#BFA23B#BFA23B

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

Color values

HEX#BFA23B
RGBrgb(191, 162, 59)
HSLhsl(47, 53%, 49%)
HSVhsv(47, 69%, 75%)
CMYKcmyk(0%, 15.2%, 69.1%, 25.1%)
CIE-LABlab(67.45, -0.66, 55.27)
CIE-LCHlch(67.45, 55.28, 90.68°)
OKLaboklab(71.93% -0.0067 0.124)
OKLCHoklch(71.93% 0.124 93.1)
XYZxyz(35.1974, 37.2348, 9.4699)
Luminance0.3723 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BFA23B #3B58BF
analogous
#BF603B #BFA23B #9ABF3B
triadic
#BFA23B #3BBFA2 #A23BBF
tetradic
#BFA23B #3BBF60 #3B58BF #BF3B9A
square
#BFA23B #3BBF60 #3B58BF #BF3B9A
split-complementary
#BFA23B #3B9ABF #603BBF
monochromatic
#61531E #907A2D #BFA23B #D0B967 #DFCF96

Accessibility & contrast

On white

2.49
#BFA23B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##BFA23B#FFFFFF#000000##000000
##BFA23B1.002.498.458.45
#FFFFFF2.491.0021.0021.00
#0000008.4521.001.001.00
##0000008.4521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #bfa23b;
/* rgb */ color: rgb(191, 162, 59);
/* oklch */ color: oklch(71.9% 0.124 93.1);
Tailwind
colors: {
  custom: {
    50: '#d6bd77',
    500: '#bfa23b',
    950: '#000000',
  },
}
SCSS
$custom: #bfa23b;
$custom-light: #d6bd77;
$custom-dark: #000000;
JSON
{
  "hex": "#bfa23b",
  "rgb": {
    "r": 191,
    "g": 162,
    "b": 59
  },
  "hsl": {
    "h": 46.818,
    "s": 52.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.71927,
    "c": 0.12419,
    "h": 93.1
  },
  "luminance": 0.37233
}

Semantic roles & 50–950 ramp

primary
#BFA23B
secondary
#8C99CA
accent
#6BDC4C
background
#FDFBF7
surface
#FBF6ED
border
#D4D0C8
text
#151209
muted
#83817B

Preview Lab

Preview with #BFA23B

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

Preview Lab → · Contrast checker → · Palette generator →

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