#BBA939#BBA939

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

Color values

HEX#BBA939
RGBrgb(187, 169, 57)
HSLhsl(52, 53%, 48%)
HSVhsv(52, 70%, 73%)
CMYKcmyk(0%, 9.6%, 69.5%, 26.7%)
CIE-LABlab(68.92, -6.23, 57.47)
CIE-LCHlch(68.92, 57.81, 96.19°)
OKLaboklab(73% -0.0226 0.1285)
OKLCHoklch(73% 0.13 100)
XYZxyz(35.4216, 39.2378, 9.5780)
Luminance0.3924 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BBA939 #394BBB
analogous
#BB6839 #BBA939 #8CBB39
triadic
#BBA939 #39BBA9 #A939BB
tetradic
#BBA939 #39BB68 #394BBB #BB398C
square
#BBA939 #39BB68 #394BBB #BB398C
split-complementary
#BBA939 #398CBB #6839BB
monochromatic
#5D541C #8C7F2B #BBA939 #CFC062 #DDD391

Accessibility & contrast

On white

2.37
#BBA939 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.85
#BBA939 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BBA939
8.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BBA939#FFFFFF#000000##000000
##BBA9391.002.378.858.85
#FFFFFF2.371.0021.0021.00
#0000008.8521.001.001.00
##0000008.8521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #bba939;
/* rgb */ color: rgb(187, 169, 57);
/* oklch */ color: oklch(73.0% 0.130 100.0);
Tailwind
colors: {
  custom: {
    50: '#d3c276',
    500: '#bba939',
    950: '#000000',
  },
}
SCSS
$custom: #bba939;
$custom-light: #d3c276;
$custom-dark: #000000;
JSON
{
  "hex": "#bba939",
  "rgb": {
    "r": 187,
    "g": 169,
    "b": 57
  },
  "hsl": {
    "h": 51.692,
    "s": 53.279,
    "l": 47.843
  },
  "oklch": {
    "l": 0.72998,
    "c": 0.13043,
    "h": 100
  },
  "luminance": 0.39236
}

Semantic roles & 50–950 ramp

primary
#BBA939
secondary
#8790C8
accent
#5FDD4B
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#151209
muted
#83817B

Preview Lab

Preview with #BBA939

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

Preview Lab → · Contrast checker → · Palette generator →

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