#BBA642#BBA642

#BBA642 is a light, vivid yellow. Relative luminance 0.382; OKLCH L 72.4% C 0.121 H 97.4°. Best body text is #000000 at 8.65:1 contrast (WCAG AA passes).

Color values

HEX#BBA642
RGBrgb(187, 166, 66)
HSLhsl(50, 48%, 50%)
HSVhsv(50, 65%, 73%)
CMYKcmyk(0%, 11.2%, 64.7%, 26.7%)
CIE-LABlab(68.19, -4.12, 52.91)
CIE-LCHlch(68.19, 53.07, 94.45°)
OKLaboklab(72.44% -0.0156 0.1203)
OKLCHoklch(72.44% 0.121 97.4)
XYZxyz(35.1147, 38.2322, 10.6831)
Luminance0.3823 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BBA642 #4257BB
analogous
#BB6A42 #BBA642 #93BB42
triadic
#BBA642 #42BBA6 #A642BB
tetradic
#BBA642 #42BB6A #4257BB #BB4293
square
#BBA642 #42BB6A #4257BB #BB4293
split-complementary
#BBA642 #4293BB #6A42BB
monochromatic
#615622 #8E7E32 #BBA642 #CCBC6E #DCD19C

Accessibility & contrast

On white

2.43
#BBA642 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.65
#BBA642 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BBA642
8.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BBA642#FFFFFF#000000##000000
##BBA6421.002.438.658.65
#FFFFFF2.431.0021.0021.00
#0000008.6521.001.001.00
##0000008.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A236
Deuteranopia (green-blind)
#BBA947
Tritanopia (blue-blind)
#C99A91
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #bba642;
/* rgb */ color: rgb(187, 166, 66);
/* oklch */ color: oklch(72.4% 0.121 97.4);
Tailwind
colors: {
  custom: {
    50: '#d3c07b',
    500: '#bba642',
    950: '#000000',
  },
}
SCSS
$custom: #bba642;
$custom-light: #d3c07b;
$custom-dark: #000000;
JSON
{
  "hex": "#bba642",
  "rgb": {
    "r": 187,
    "g": 166,
    "b": 66
  },
  "hsl": {
    "h": 49.587,
    "s": 47.826,
    "l": 49.608
  },
  "oklch": {
    "l": 0.72441,
    "c": 0.12129,
    "h": 97.4
  },
  "luminance": 0.38231
}

Semantic roles & 50–950 ramp

primary
#BBA642
secondary
#919AC8
accent
#68D750
background
#FDFBF7
surface
#FAF7EE
border
#D3D0C9
text
#15120A
muted
#83817C

Preview Lab

Preview with #BBA642

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

Preview Lab → · Contrast checker → · Palette generator →

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