#BBA230#BBA230

#BBA230 is a light, vivid yellow. Relative luminance 0.366; OKLCH L 71.4% C 0.131 H 96.3°. Best body text is #000000 at 8.32:1 contrast (WCAG AA passes).

Color values

HEX#BBA230
RGBrgb(187, 162, 48)
HSLhsl(49, 59%, 46%)
HSVhsv(49, 74%, 73%)
CMYKcmyk(0%, 13.4%, 74.3%, 26.7%)
CIE-LABlab(66.99, -2.96, 59.06)
CIE-LCHlch(66.99, 59.13, 92.87°)
OKLaboklab(71.45% -0.0143 0.1301)
OKLCHoklch(71.45% 0.131 96.3)
XYZxyz(33.9491, 36.6207, 8.0761)
Luminance0.3662 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BBA230 #3049BB
analogous
#BB5C30 #BBA230 #8EBB30
triadic
#BBA230 #30BBA2 #A230BB
tetradic
#BBA230 #30BB5C #3049BB #BB308E
square
#BBA230 #30BB5C #3049BB #BB308E
split-complementary
#BBA230 #308EBB #5C30BB
monochromatic
#5A4E17 #8A7823 #BBA230 #D3BD55 #E0D086

Accessibility & contrast

On white

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

On black

8.32
#BBA230 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BBA230
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BBA230#FFFFFF#000000##000000
##BBA2301.002.528.328.32
#FFFFFF2.521.0021.0021.00
#0000008.3221.001.001.00
##0000008.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B39E1C
Deuteranopia (green-blind)
#B9A637
Tritanopia (blue-blind)
#CA958C
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #bba230;
/* rgb */ color: rgb(187, 162, 48);
/* oklch */ color: oklch(71.4% 0.131 96.3);
Tailwind
colors: {
  custom: {
    50: '#d3bd70',
    500: '#bba230',
    950: '#000000',
  },
}
SCSS
$custom: #bba230;
$custom-light: #d3bd70;
$custom-dark: #000000;
JSON
{
  "hex": "#bba230",
  "rgb": {
    "r": 187,
    "g": 162,
    "b": 48
  },
  "hsl": {
    "h": 49.209,
    "s": 59.149,
    "l": 46.078
  },
  "oklch": {
    "l": 0.71448,
    "c": 0.13092,
    "h": 96.3
  },
  "luminance": 0.36619
}

Semantic roles & 50–950 ramp

primary
#BBA230
secondary
#7D8BC9
accent
#62E245
background
#FDFBF7
surface
#FBF6ED
border
#D4D0C8
text
#151208
muted
#83817B

Preview Lab

Preview with #BBA230

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

Preview Lab → · Contrast checker → · Palette generator →

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