#BBA255#BBA255

#BBA255 is a light, moderate yellow. Relative luminance 0.371; OKLCH L 71.8% C 0.101 H 91.7°. Best body text is #000000 at 8.41:1 contrast (WCAG AA passes).

Color values

HEX#BBA255
RGBrgb(187, 162, 85)
HSLhsl(45, 43%, 53%)
HSVhsv(45, 55%, 73%)
CMYKcmyk(0%, 13.4%, 54.5%, 26.7%)
CIE-LABlab(67.32, -0.59, 42.96)
CIE-LCHlch(67.32, 42.96, 90.78°)
OKLaboklab(71.82% -0.0031 0.1013)
OKLCHoklch(71.82% 0.101 91.7)
XYZxyz(35.0549, 37.0630, 13.9000)
Luminance0.3706 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BBA255 #556EBB
analogous
#BB6F55 #BBA255 #A1BB55
triadic
#BBA255 #55BBA2 #A255BB
tetradic
#BBA255 #55BB6F #556EBB #BB55A1
square
#BBA255 #55BB6F #556EBB #BB55A1
split-complementary
#BBA255 #55A1BB #6F55BB
monochromatic
#6B5B2B #97803C #BBA255 #CCBA81 #DED2AC

Accessibility & contrast

On white

2.50
#BBA255 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.41
#BBA255 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BBA255
8.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BBA255#FFFFFF#000000##000000
##BBA2551.002.508.418.41
#FFFFFF2.501.0021.0021.00
#0000008.4121.001.001.00
##0000008.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B1A04E
Deuteranopia (green-blind)
#B7A758
Tritanopia (blue-blind)
#C89790
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #bba255;
/* rgb */ color: rgb(187, 162, 85);
/* oklch */ color: oklch(71.8% 0.101 91.7);
Tailwind
colors: {
  custom: {
    50: '#d2bd87',
    500: '#bba255',
    950: '#000000',
  },
}
SCSS
$custom: #bba255;
$custom-light: #d2bd87;
$custom-dark: #000000;
JSON
{
  "hex": "#bba255",
  "rgb": {
    "r": 187,
    "g": 162,
    "b": 85
  },
  "hsl": {
    "h": 45.294,
    "s": 42.857,
    "l": 53.333
  },
  "oklch": {
    "l": 0.71818,
    "c": 0.10136,
    "h": 91.7
  },
  "luminance": 0.37061
}

Semantic roles & 50–950 ramp

primary
#BBA255
secondary
#A0ABCC
accent
#74D355
background
#FDFBF8
surface
#FAF6F0
border
#D3D0CB
text
#14120B
muted
#83817C

Preview Lab

Preview with #BBA255

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

Preview Lab → · Contrast checker → · Palette generator →

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