#BBA92F#BBA92F

#BBA92F is a light, vivid yellow. Relative luminance 0.391; OKLCH L 72.9% C 0.137 H 100.6°. Best body text is #000000 at 8.83:1 contrast (WCAG AA passes).

Color values

HEX#BBA92F
RGBrgb(187, 169, 47)
HSLhsl(52, 60%, 46%)
HSVhsv(52, 75%, 73%)
CMYKcmyk(0%, 9.6%, 74.9%, 26.7%)
CIE-LABlab(68.86, -6.72, 61.20)
CIE-LCHlch(68.86, 61.56, 96.26°)
OKLaboklab(72.93% -0.025 0.1345)
OKLCHoklch(72.93% 0.137 100.6)
XYZxyz(35.1963, 39.1476, 8.3911)
Luminance0.3915 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BBA92F #2F41BB
analogous
#BB632F #BBA92F #87BB2F
triadic
#BBA92F #2FBBA9 #A92FBB
tetradic
#BBA92F #2FBB63 #2F41BB #BB2F87
square
#BBA92F #2FBB63 #2F41BB #BB2F87
split-complementary
#BBA92F #2F87BB #632FBB
monochromatic
#595116 #8A7D23 #BBA92F #D4C353 #E0D484

Accessibility & contrast

On white

2.38
#BBA92F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.83
#BBA92F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BBA92F
8.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BBA92F#FFFFFF#000000##000000
##BBA92F1.002.388.838.83
#FFFFFF2.381.0021.0021.00
#0000008.8321.001.001.00
##0000008.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A418
Deuteranopia (green-blind)
#BEAB37
Tritanopia (blue-blind)
#CA9C92
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #bba92f;
/* rgb */ color: rgb(187, 169, 47);
/* oklch */ color: oklch(72.9% 0.137 100.6);
Tailwind
colors: {
  custom: {
    50: '#d3c271',
    500: '#bba92f',
    950: '#000000',
  },
}
SCSS
$custom: #bba92f;
$custom-light: #d3c271;
$custom-dark: #000000;
JSON
{
  "hex": "#bba92f",
  "rgb": {
    "r": 187,
    "g": 169,
    "b": 47
  },
  "hsl": {
    "h": 52.286,
    "s": 59.829,
    "l": 45.882
  },
  "oklch": {
    "l": 0.72926,
    "c": 0.1368,
    "h": 100.6
  },
  "luminance": 0.39146
}

Semantic roles & 50–950 ramp

primary
#BBA92F
secondary
#7C86C9
accent
#59E345
background
#FDFBF7
surface
#FBF7ED
border
#D4D0C8
text
#151208
muted
#83817B

Preview Lab

Preview with #BBA92F

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

Preview Lab → · Contrast checker → · Palette generator →

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