#BBAF3A#BBAF3A

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

Color values

HEX#BBAF3A
RGBrgb(187, 175, 58)
HSLhsl(54, 53%, 48%)
HSVhsv(54, 69%, 73%)
CMYKcmyk(0%, 6.4%, 69%, 26.7%)
CIE-LABlab(70.55, -9.32, 58.71)
CIE-LCHlch(70.55, 59.45, 99.02°)
OKLaboklab(74.29% -0.0313 0.1312)
OKLCHoklch(74.29% 0.135 103.4)
XYZxyz(36.5887, 41.5317, 10.0913)
Luminance0.4153 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BBAF3A #3A46BB
analogous
#BB6F3A #BBAF3A #86BB3A
triadic
#BBAF3A #3ABBAF #AF3ABB
tetradic
#BBAF3A #3ABB6F #3A46BB #BB3A86
square
#BBAF3A #3ABB6F #3A46BB #BB3A86
split-complementary
#BBAF3A #3A86BB #6F3ABB
monochromatic
#5E581D #8C832C #BBAF3A #CFC563 #DDD692

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BBAF3A#FFFFFF#000000##000000
##BBAF3A1.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)
#BFA929
Deuteranopia (green-blind)
#C2AF41
Tritanopia (blue-blind)
#C9A397
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #bbaf3a;
/* rgb */ color: rgb(187, 175, 58);
/* oklch */ color: oklch(74.3% 0.135 103.4);
Tailwind
colors: {
  custom: {
    50: '#d3c677',
    500: '#bbaf3a',
    950: '#000000',
  },
}
SCSS
$custom: #bbaf3a;
$custom-light: #d3c677;
$custom-dark: #000000;
JSON
{
  "hex": "#bbaf3a",
  "rgb": {
    "r": 187,
    "g": 175,
    "b": 58
  },
  "hsl": {
    "h": 54.419,
    "s": 52.653,
    "l": 48.039
  },
  "oklch": {
    "l": 0.7429,
    "c": 0.13492,
    "h": 103.4
  },
  "luminance": 0.4153
}

Semantic roles & 50–950 ramp

primary
#BBAF3A
secondary
#888EC8
accent
#59DC4C
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#151309
muted
#83827B

Preview Lab

Preview with #BBAF3A

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

Preview Lab → · Contrast checker → · Palette generator →

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