#BBAF33#BBAF33

#BBAF33 is a light, vivid yellow. Relative luminance 0.415; OKLCH L 74.2% C 0.139 H 103.7°. Best body text is #000000 at 9.29:1 contrast (WCAG AA passes).

Color values

HEX#BBAF33
RGBrgb(187, 175, 51)
HSLhsl(55, 57%, 47%)
HSVhsv(55, 73%, 73%)
CMYKcmyk(0%, 6.4%, 72.7%, 26.7%)
CIE-LABlab(70.50, -9.67, 61.33)
CIE-LCHlch(70.50, 62.08, 98.96°)
OKLaboklab(74.24% -0.033 0.1355)
OKLCHoklch(74.24% 0.139 103.7)
XYZxyz(36.4226, 41.4652, 9.2164)
Luminance0.4146 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BBAF33 #333FBB
analogous
#BB6B33 #BBAF33 #83BB33
triadic
#BBAF33 #33BBAF #AF33BB
tetradic
#BBAF33 #33BB6B #333FBB #BB3383
square
#BBAF33 #33BB6B #333FBB #BB3383
split-complementary
#BBAF33 #3383BB #6B33BB
monochromatic
#5B5519 #8B8226 #BBAF33 #D2C759 #DFD789

Accessibility & contrast

On white

2.26
#BBAF33 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.29
#BBAF33 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BBAF33
9.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BBAF33#FFFFFF#000000##000000
##BBAF331.002.269.299.29
#FFFFFF2.261.0021.0021.00
#0000009.2921.001.001.00
##0000009.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFA91D
Deuteranopia (green-blind)
#C3AF3C
Tritanopia (blue-blind)
#C9A397
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #bbaf33;
/* rgb */ color: rgb(187, 175, 51);
/* oklch */ color: oklch(74.2% 0.139 103.7);
Tailwind
colors: {
  custom: {
    50: '#d3c673',
    500: '#bbaf33',
    950: '#000000',
  },
}
SCSS
$custom: #bbaf33;
$custom-light: #d3c673;
$custom-dark: #000000;
JSON
{
  "hex": "#bbaf33",
  "rgb": {
    "r": 187,
    "g": 175,
    "b": 51
  },
  "hsl": {
    "h": 54.706,
    "s": 57.143,
    "l": 46.667
  },
  "oklch": {
    "l": 0.74239,
    "c": 0.13948,
    "h": 103.7
  },
  "luminance": 0.41464
}

Semantic roles & 50–950 ramp

primary
#BBAF33
secondary
#8187C9
accent
#55E047
background
#FDFCF7
surface
#FBF8ED
border
#D4D1C8
text
#151309
muted
#83827B

Preview Lab

Preview with #BBAF33

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

Preview Lab → · Contrast checker → · Palette generator →

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