#BBAF13#BBAF13

#BBAF13 is a light, vivid yellow. Relative luminance 0.413; OKLCH L 74.1% C 0.153 H 104.5°. Best body text is #000000 at 9.25:1 contrast (WCAG AA passes).

Color values

HEX#BBAF13
RGBrgb(187, 175, 19)
HSLhsl(56, 82%, 40%)
HSVhsv(56, 90%, 73%)
CMYKcmyk(0%, 6.4%, 89.8%, 26.7%)
CIE-LABlab(70.37, -10.70, 69.99)
CIE-LCHlch(70.37, 70.80, 98.69°)
OKLaboklab(74.09% -0.0383 0.1485)
OKLCHoklch(74.09% 0.153 104.5)
XYZxyz(35.9428, 41.2733, 6.6893)
Luminance0.4127 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BBAF13 #131FBB
analogous
#BB5B13 #BBAF13 #73BB13
triadic
#BBAF13 #13BBAF #AF13BB
tetradic
#BBAF13 #13BB5B #131FBB #BB1373
square
#BBAF13 #13BB5B #131FBB #BB1373
split-complementary
#BBAF13 #1373BB #5B13BB
monochromatic
#4C4708 #837B0D #BBAF13 #E9DA23 #EEE45A

Accessibility & contrast

On white

2.27
#BBAF13 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.25
#BBAF13 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BBAF13
9.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BBAF13#FFFFFF#000000##000000
##BBAF131.002.279.259.25
#FFFFFF2.271.0021.0021.00
#0000009.2521.001.001.00
##0000009.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0A900
Deuteranopia (green-blind)
#C4AF25
Tritanopia (blue-blind)
#CAA295
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #bbaf13;
/* rgb */ color: rgb(187, 175, 19);
/* oklch */ color: oklch(74.1% 0.153 104.5);
Tailwind
colors: {
  custom: {
    50: '#d4c667',
    500: '#bbaf13',
    950: '#000000',
  },
}
SCSS
$custom: #bbaf13;
$custom-light: #d4c667;
$custom-dark: #000000;
JSON
{
  "hex": "#bbaf13",
  "rgb": {
    "r": 187,
    "g": 175,
    "b": 19
  },
  "hsl": {
    "h": 55.714,
    "s": 81.553,
    "l": 40.392
  },
  "oklch": {
    "l": 0.7409,
    "c": 0.15331,
    "h": 104.5
  },
  "luminance": 0.41272
}

Semantic roles & 50–950 ramp

primary
#BBAF13
secondary
#5861D1
accent
#3EF830
background
#FDFCF6
surface
#FBF8EB
border
#D4D1C6
text
#151207
muted
#83817A

Preview Lab

Preview with #BBAF13

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

Preview Lab → · Contrast checker → · Palette generator →

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