#BBA83A#BBA83A

#BBA83A is a light, vivid yellow. Relative luminance 0.389; OKLCH L 72.8% C 0.129 H 99.3°. Best body text is #000000 at 8.78:1 contrast (WCAG AA passes).

Color values

HEX#BBA83A
RGBrgb(187, 168, 58)
HSLhsl(51, 53%, 48%)
HSVhsv(51, 69%, 73%)
CMYKcmyk(0%, 10.2%, 69%, 26.7%)
CIE-LABlab(68.66, -5.65, 56.80)
CIE-LCHlch(68.66, 57.08, 95.68°)
OKLaboklab(72.79% -0.0209 0.1272)
OKLCHoklch(72.79% 0.129 99.3)
XYZxyz(35.2615, 38.8772, 9.6489)
Luminance0.3888 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BBA83A #3A4DBB
analogous
#BB683A #BBA83A #8DBB3A
triadic
#BBA83A #3ABBA8 #A83ABB
tetradic
#BBA83A #3ABB68 #3A4DBB #BB3A8D
square
#BBA83A #3ABB68 #3A4DBB #BB3A8D
split-complementary
#BBA83A #3A8DBB #683ABB
monochromatic
#5E541D #8C7E2C #BBA83A #CFBF63 #DDD292

Accessibility & contrast

On white

2.39
#BBA83A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.78
#BBA83A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BBA83A
8.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BBA83A#FFFFFF#000000##000000
##BBA83A1.002.398.788.78
#FFFFFF2.391.0021.0021.00
#0000008.7821.001.001.00
##0000008.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A42B
Deuteranopia (green-blind)
#BDAA40
Tritanopia (blue-blind)
#C99C92
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #bba83a;
/* rgb */ color: rgb(187, 168, 58);
/* oklch */ color: oklch(72.8% 0.129 99.3);
Tailwind
colors: {
  custom: {
    50: '#d3c176',
    500: '#bba83a',
    950: '#000000',
  },
}
SCSS
$custom: #bba83a;
$custom-light: #d3c176;
$custom-dark: #000000;
JSON
{
  "hex": "#bba83a",
  "rgb": {
    "r": 187,
    "g": 168,
    "b": 58
  },
  "hsl": {
    "h": 51.163,
    "s": 52.653,
    "l": 48.039
  },
  "oklch": {
    "l": 0.72794,
    "c": 0.12891,
    "h": 99.3
  },
  "luminance": 0.38876
}

Semantic roles & 50–950 ramp

primary
#BBA83A
secondary
#8892C8
accent
#61DC4C
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#151209
muted
#83817B

Preview Lab

Preview with #BBA83A

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

Preview Lab → · Contrast checker → · Palette generator →

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