#BBB252#BBB252

#BBB252 is a light, moderate yellow. Relative luminance 0.430; OKLCH L 75.2% C 0.118 H 103.9°. Best body text is #000000 at 9.60:1 contrast (WCAG AA passes).

Color values

HEX#BBB252
RGBrgb(187, 178, 82)
HSLhsl(55, 44%, 53%)
HSVhsv(55, 56%, 73%)
CMYKcmyk(0%, 4.8%, 56.1%, 26.7%)
CIE-LABlab(71.57, -9.30, 49.35)
CIE-LCHlch(71.57, 50.22, 100.67°)
OKLaboklab(75.17% -0.0285 0.1148)
OKLCHoklch(75.17% 0.118 103.9)
XYZxyz(37.9381, 43.0161, 14.2855)
Luminance0.4301 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BBB252 #525BBB
analogous
#BB7D52 #BBB252 #8FBB52
triadic
#BBB252 #52BBB2 #B252BB
tetradic
#BBB252 #52BB7D #525BBB #BB528F
square
#BBB252 #52BB7D #525BBB #BB528F
split-complementary
#BBB252 #528FBB #7D52BB
monochromatic
#696429 #958D3B #BBB252 #CCC67E #DED9AA

Accessibility & contrast

On white

2.19
#BBB252 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.60
#BBB252 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BBB252
9.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BBB252#FFFFFF#000000##000000
##BBB2521.002.199.609.60
#FFFFFF2.191.0021.0021.00
#0000009.6021.001.001.00
##0000009.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AD48
Deuteranopia (green-blind)
#C3B257
Tritanopia (blue-blind)
#C8A79D
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #bbb252;
/* rgb */ color: rgb(187, 178, 82);
/* oklch */ color: oklch(75.2% 0.118 103.9);
Tailwind
colors: {
  custom: {
    50: '#d2c886',
    500: '#bbb252',
    950: '#000000',
  },
}
SCSS
$custom: #bbb252;
$custom-light: #d2c886;
$custom-dark: #000000;
JSON
{
  "hex": "#bbb252",
  "rgb": {
    "r": 187,
    "g": 178,
    "b": 82
  },
  "hsl": {
    "h": 54.857,
    "s": 43.568,
    "l": 52.745
  },
  "oklch": {
    "l": 0.75167,
    "c": 0.11832,
    "h": 103.9
  },
  "luminance": 0.43015
}

Semantic roles & 50–950 ramp

primary
#BBB252
secondary
#9EA2CB
accent
#5FD354
background
#FDFCF8
surface
#FAF8EF
border
#D3D1CA
text
#14130B
muted
#83827C

Preview Lab

Preview with #BBB252

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

Preview Lab → · Contrast checker → · Palette generator →

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