#BBA935#BBA935

#BBA935 is a light, vivid yellow. Relative luminance 0.392; OKLCH L 73.0% C 0.133 H 100.2°. Best body text is #000000 at 8.84:1 contrast (WCAG AA passes).

Color values

HEX#BBA935
RGBrgb(187, 169, 53)
HSLhsl(52, 56%, 47%)
HSVhsv(52, 72%, 73%)
CMYKcmyk(0%, 9.6%, 71.7%, 26.7%)
CIE-LABlab(68.90, -6.44, 59.02)
CIE-LCHlch(68.90, 59.37, 96.23°)
OKLaboklab(72.97% -0.0236 0.131)
OKLCHoklch(72.97% 0.133 100.2)
XYZxyz(35.3257, 39.1994, 9.0730)
Luminance0.3920 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BBA935 #3547BB
analogous
#BB6635 #BBA935 #8ABB35
triadic
#BBA935 #35BBA9 #A935BB
tetradic
#BBA935 #35BB66 #3547BB #BB358A
square
#BBA935 #35BB66 #3547BB #BB358A
split-complementary
#BBA935 #358ABB #6635BB
monochromatic
#5C531A #8B7E27 #BBA935 #D1C15C #DED38C

Accessibility & contrast

On white

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

On black

8.84
#BBA935 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BBA935
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BBA935#FFFFFF#000000##000000
##BBA9351.002.388.848.84
#FFFFFF2.381.0021.0021.00
#0000008.8421.001.001.00
##0000008.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A423
Deuteranopia (green-blind)
#BEAB3C
Tritanopia (blue-blind)
#C99D92
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #bba935;
/* rgb */ color: rgb(187, 169, 53);
/* oklch */ color: oklch(73.0% 0.133 100.2);
Tailwind
colors: {
  custom: {
    50: '#d3c274',
    500: '#bba935',
    950: '#000000',
  },
}
SCSS
$custom: #bba935;
$custom-light: #d3c274;
$custom-dark: #000000;
JSON
{
  "hex": "#bba935",
  "rgb": {
    "r": 187,
    "g": 169,
    "b": 53
  },
  "hsl": {
    "h": 51.94,
    "s": 55.833,
    "l": 47.059
  },
  "oklch": {
    "l": 0.72967,
    "c": 0.13312,
    "h": 100.2
  },
  "luminance": 0.39198
}

Semantic roles & 50–950 ramp

primary
#BBA935
secondary
#838CC9
accent
#5DDF49
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#151209
muted
#83817B

Preview Lab

Preview with #BBA935

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

Preview Lab → · Contrast checker → · Palette generator →

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