#BBA342#BBA342

#BBA342 is a light, moderate yellow. Relative luminance 0.372; OKLCH L 71.8% C 0.119 H 95.3°. Best body text is #000000 at 8.43:1 contrast (WCAG AA passes).

Color values

HEX#BBA342
RGBrgb(187, 163, 66)
HSLhsl(48, 48%, 50%)
HSVhsv(48, 65%, 73%)
CMYKcmyk(0%, 12.8%, 64.7%, 26.7%)
CIE-LABlab(67.39, -2.52, 52.06)
CIE-LCHlch(67.39, 52.12, 92.77°)
OKLaboklab(71.81% -0.011 0.1185)
OKLCHoklch(71.81% 0.119 95.3)
XYZxyz(34.5757, 37.1543, 10.5035)
Luminance0.3715 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BBA342 #425ABB
analogous
#BB6742 #BBA342 #97BB42
triadic
#BBA342 #42BBA3 #A342BB
tetradic
#BBA342 #42BB67 #425ABB #BB4297
square
#BBA342 #42BB67 #425ABB #BB4297
split-complementary
#BBA342 #4297BB #6742BB
monochromatic
#615422 #8E7C32 #BBA342 #CCB96E #DCCF9C

Accessibility & contrast

On white

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

On black

8.43
#BBA342 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BBA342
8.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BBA342#FFFFFF#000000##000000
##BBA3421.002.498.438.43
#FFFFFF2.491.0021.0021.00
#0000008.4321.001.001.00
##0000008.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B3A037
Deuteranopia (green-blind)
#B9A747
Tritanopia (blue-blind)
#C9978E
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #bba342;
/* rgb */ color: rgb(187, 163, 66);
/* oklch */ color: oklch(71.8% 0.119 95.3);
Tailwind
colors: {
  custom: {
    50: '#d3bd7b',
    500: '#bba342',
    950: '#000000',
  },
}
SCSS
$custom: #bba342;
$custom-light: #d3bd7b;
$custom-dark: #000000;
JSON
{
  "hex": "#bba342",
  "rgb": {
    "r": 187,
    "g": 163,
    "b": 66
  },
  "hsl": {
    "h": 48.099,
    "s": 47.826,
    "l": 49.608
  },
  "oklch": {
    "l": 0.71809,
    "c": 0.11898,
    "h": 95.3
  },
  "luminance": 0.37153
}

Semantic roles & 50–950 ramp

primary
#BBA342
secondary
#919CC8
accent
#6BD750
background
#FDFBF7
surface
#FAF6EE
border
#D3D0C9
text
#15120A
muted
#83817C

Preview Lab

Preview with #BBA342

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

Preview Lab → · Contrast checker → · Palette generator →

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