#BFB22E#BFB22E

#BFB22E is a light, vivid yellow. Relative luminance 0.431; OKLCH L 75.2% C 0.145 H 103.5°. Best body text is #000000 at 9.62:1 contrast (WCAG AA passes).

Color values

HEX#BFB22E
RGBrgb(191, 178, 46)
HSLhsl(55, 61%, 46%)
HSVhsv(55, 76%, 75%)
CMYKcmyk(0%, 6.8%, 75.9%, 25.1%)
CIE-LABlab(71.63, -9.71, 64.26)
CIE-LCHlch(71.63, 64.99, 98.59°)
OKLaboklab(75.22% -0.0338 0.1407)
OKLCHoklch(75.22% 0.145 103.5)
XYZxyz(37.9011, 43.1160, 8.9100)
Luminance0.4311 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BFB22E #2E3BBF
analogous
#BF6A2E #BFB22E #84BF2E
triadic
#BFB22E #2EBFB2 #B22EBF
tetradic
#BFB22E #2EBF6A #2E3BBF #BF2E84
square
#BFB22E #2EBF6A #2E3BBF #BF2E84
split-complementary
#BFB22E #2E84BF #6A2EBF
monochromatic
#5C5616 #8E8422 #BFB22E #D6CA54 #E2DA86

Accessibility & contrast

On white

2.18
#BFB22E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.62
#BFB22E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BFB22E
9.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BFB22E#FFFFFF#000000##000000
##BFB22E1.002.189.629.62
#FFFFFF2.181.0021.0021.00
#0000009.6221.001.001.00
##0000009.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AC10
Deuteranopia (green-blind)
#C7B238
Tritanopia (blue-blind)
#CEA599
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #bfb22e;
/* rgb */ color: rgb(191, 178, 46);
/* oklch */ color: oklch(75.2% 0.145 103.5);
Tailwind
colors: {
  custom: {
    50: '#d6c871',
    500: '#bfb22e',
    950: '#000000',
  },
}
SCSS
$custom: #bfb22e;
$custom-light: #d6c871;
$custom-dark: #000000;
JSON
{
  "hex": "#bfb22e",
  "rgb": {
    "r": 191,
    "g": 178,
    "b": 46
  },
  "hsl": {
    "h": 54.621,
    "s": 61.181,
    "l": 46.471
  },
  "oklch": {
    "l": 0.75215,
    "c": 0.14466,
    "h": 103.5
  },
  "luminance": 0.43114
}

Semantic roles & 50–950 ramp

primary
#BFB22E
secondary
#7E85CB
accent
#52E444
background
#FDFCF7
surface
#FBF8ED
border
#D4D1C8
text
#151308
muted
#83827B

Preview Lab

Preview with #BFB22E

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

Preview Lab → · Contrast checker → · Palette generator →

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