#BBA23A#BBA23A

#BBA23A is a light, vivid yellow. Relative luminance 0.367; OKLCH L 71.5% C 0.124 H 95.4°. Best body text is #000000 at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#BBA23A
RGBrgb(187, 162, 58)
HSLhsl(48, 53%, 48%)
HSVhsv(48, 69%, 73%)
CMYKcmyk(0%, 13.4%, 69%, 26.7%)
CIE-LABlab(67.06, -2.46, 55.17)
CIE-LCHlch(67.06, 55.22, 92.56°)
OKLaboklab(71.53% -0.0118 0.1238)
OKLCHoklch(71.53% 0.124 95.4)
XYZxyz(34.1792, 36.7127, 9.2881)
Luminance0.3671 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BBA23A #3A53BB
analogous
#BB613A #BBA23A #93BB3A
triadic
#BBA23A #3ABBA2 #A23ABB
tetradic
#BBA23A #3ABB61 #3A53BB #BB3A93
square
#BBA23A #3ABB61 #3A53BB #BB3A93
split-complementary
#BBA23A #3A93BB #613ABB
monochromatic
#5E511D #8C7A2C #BBA23A #CFBA63 #DDCF92

Accessibility & contrast

On white

2.52
#BBA23A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.34
#BBA23A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BBA23A
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BBA23A#FFFFFF#000000##000000
##BBA23A1.002.528.348.34
#FFFFFF2.521.0021.0021.00
#0000008.3421.001.001.00
##0000008.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29F2C
Deuteranopia (green-blind)
#B9A740
Tritanopia (blue-blind)
#CA968D
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #bba23a;
/* rgb */ color: rgb(187, 162, 58);
/* oklch */ color: oklch(71.5% 0.124 95.4);
Tailwind
colors: {
  custom: {
    50: '#d3bd76',
    500: '#bba23a',
    950: '#000000',
  },
}
SCSS
$custom: #bba23a;
$custom-light: #d3bd76;
$custom-dark: #000000;
JSON
{
  "hex": "#bba23a",
  "rgb": {
    "r": 187,
    "g": 162,
    "b": 58
  },
  "hsl": {
    "h": 48.372,
    "s": 52.653,
    "l": 48.039
  },
  "oklch": {
    "l": 0.71525,
    "c": 0.12432,
    "h": 95.4
  },
  "luminance": 0.36711
}

Semantic roles & 50–950 ramp

primary
#BBA23A
secondary
#8895C8
accent
#68DC4C
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#151209
muted
#83817B

Preview Lab

Preview with #BBA23A

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

Preview Lab → · Contrast checker → · Palette generator →

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