#BBAF36#BBAF36

#BBAF36 is a light, vivid yellow. Relative luminance 0.415; OKLCH L 74.3% C 0.138 H 103.6°. Best body text is #000000 at 9.30:1 contrast (WCAG AA passes).

Color values

HEX#BBAF36
RGBrgb(187, 175, 54)
HSLhsl(55, 55%, 47%)
HSVhsv(55, 71%, 73%)
CMYKcmyk(0%, 6.4%, 71.1%, 26.7%)
CIE-LABlab(70.52, -9.53, 60.23)
CIE-LCHlch(70.52, 60.98, 98.99°)
OKLaboklab(74.26% -0.0323 0.1338)
OKLCHoklch(74.26% 0.138 103.6)
XYZxyz(36.4909, 41.4926, 9.5760)
Luminance0.4149 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BBAF36 #3642BB
analogous
#BB6C36 #BBAF36 #85BB36
triadic
#BBAF36 #36BBAF #AF36BB
tetradic
#BBAF36 #36BB6C #3642BB #BB3685
square
#BBAF36 #36BB6C #3642BB #BB3685
split-complementary
#BBAF36 #3685BB #6C36BB
monochromatic
#5C561B #8C8328 #BBAF36 #D0C65E #DED78D

Accessibility & contrast

On white

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

On black

9.30
#BBAF36 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BBAF36
9.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BBAF36#FFFFFF#000000##000000
##BBAF361.002.269.309.30
#FFFFFF2.261.0021.0021.00
#0000009.3021.001.001.00
##0000009.3021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #bbaf36;
/* rgb */ color: rgb(187, 175, 54);
/* oklch */ color: oklch(74.3% 0.138 103.6);
Tailwind
colors: {
  custom: {
    50: '#d3c675',
    500: '#bbaf36',
    950: '#000000',
  },
}
SCSS
$custom: #bbaf36;
$custom-light: #d3c675;
$custom-dark: #000000;
JSON
{
  "hex": "#bbaf36",
  "rgb": {
    "r": 187,
    "g": 175,
    "b": 54
  },
  "hsl": {
    "h": 54.586,
    "s": 55.187,
    "l": 47.255
  },
  "oklch": {
    "l": 0.7426,
    "c": 0.13759,
    "h": 103.6
  },
  "luminance": 0.41491
}

Semantic roles & 50–950 ramp

primary
#BBAF36
secondary
#848AC9
accent
#57DF49
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#151309
muted
#83827B

Preview Lab

Preview with #BBAF36

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

Preview Lab → · Contrast checker → · Palette generator →

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