#BBAF3B#BBAF3B

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

Color values

HEX#BBAF3B
RGBrgb(187, 175, 59)
HSLhsl(54, 52%, 48%)
HSVhsv(54, 68%, 73%)
CMYKcmyk(0%, 6.4%, 68.4%, 26.7%)
CIE-LABlab(70.55, -9.27, 58.32)
CIE-LCHlch(70.55, 59.05, 99.03°)
OKLaboklab(74.3% -0.031 0.1306)
OKLCHoklch(74.3% 0.134 103.4)
XYZxyz(36.6144, 41.5420, 10.2266)
Luminance0.4154 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BBAF3B #3B47BB
analogous
#BB6F3B #BBAF3B #87BB3B
triadic
#BBAF3B #3BBBAF #AF3BBB
tetradic
#BBAF3B #3BBB6F #3B47BB #BB3B87
square
#BBAF3B #3BBB6F #3B47BB #BB3B87
split-complementary
#BBAF3B #3B87BB #6F3BBB
monochromatic
#5E581E #8C832C #BBAF3B #CEC465 #DDD693

Accessibility & contrast

On white

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

On black

9.31
#BBAF3B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BBAF3B
9.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BBAF3B#FFFFFF#000000##000000
##BBAF3B1.002.269.319.31
#FFFFFF2.261.0021.0021.00
#0000009.3121.001.001.00
##0000009.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEA92A
Deuteranopia (green-blind)
#C2AF42
Tritanopia (blue-blind)
#C9A398
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #bbaf3b;
/* rgb */ color: rgb(187, 175, 59);
/* oklch */ color: oklch(74.3% 0.134 103.4);
Tailwind
colors: {
  custom: {
    50: '#d3c678',
    500: '#bbaf3b',
    950: '#000000',
  },
}
SCSS
$custom: #bbaf3b;
$custom-light: #d3c678;
$custom-dark: #000000;
JSON
{
  "hex": "#bbaf3b",
  "rgb": {
    "r": 187,
    "g": 175,
    "b": 59
  },
  "hsl": {
    "h": 54.375,
    "s": 52.033,
    "l": 48.235
  },
  "oklch": {
    "l": 0.74298,
    "c": 0.13422,
    "h": 103.4
  },
  "luminance": 0.41541
}

Semantic roles & 50–950 ramp

primary
#BBAF3B
secondary
#8A8FC8
accent
#5ADB4C
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#151309
muted
#83827B

Preview Lab

Preview with #BBAF3B

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

Preview Lab → · Contrast checker → · Palette generator →

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