#BBAF45#BBAF45

#BBAF45 is a light, vivid yellow. Relative luminance 0.417; OKLCH L 74.4% C 0.127 H 102.9°. Best body text is #000000 at 9.33:1 contrast (WCAG AA passes).

Color values

HEX#BBAF45
RGBrgb(187, 175, 69)
HSLhsl(54, 46%, 50%)
HSVhsv(54, 63%, 73%)
CMYKcmyk(0%, 6.4%, 63.1%, 26.7%)
CIE-LABlab(70.63, -8.67, 54.21)
CIE-LCHlch(70.63, 54.90, 99.08°)
OKLaboklab(74.39% -0.0282 0.1235)
OKLCHoklch(74.39% 0.127 102.9)
XYZxyz(36.8991, 41.6558, 11.7258)
Luminance0.4165 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BBAF45 #4551BB
analogous
#BB7445 #BBAF45 #8CBB45
triadic
#BBAF45 #45BBAF #AF45BB
tetradic
#BBAF45 #45BB74 #4551BB #BB458C
square
#BBAF45 #45BB74 #4551BB #BB458C
split-complementary
#BBAF45 #458CBB #7445BB
monochromatic
#625C24 #8F8534 #BBAF45 #CBC272 #DCD69F

Accessibility & contrast

On white

2.25
#BBAF45 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.33
#BBAF45 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BBAF45
9.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BBAF45#FFFFFF#000000##000000
##BBAF451.002.259.339.33
#FFFFFF2.251.0021.0021.00
#0000009.3321.001.001.00
##0000009.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEAA38
Deuteranopia (green-blind)
#C2AF4B
Tritanopia (blue-blind)
#C8A499
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #bbaf45;
/* rgb */ color: rgb(187, 175, 69);
/* oklch */ color: oklch(74.4% 0.127 102.9);
Tailwind
colors: {
  custom: {
    50: '#d2c67d',
    500: '#bbaf45',
    950: '#000000',
  },
}
SCSS
$custom: #bbaf45;
$custom-light: #d2c67d;
$custom-dark: #000000;
JSON
{
  "hex": "#bbaf45",
  "rgb": {
    "r": 187,
    "g": 175,
    "b": 69
  },
  "hsl": {
    "h": 53.898,
    "s": 46.457,
    "l": 50.196
  },
  "oklch": {
    "l": 0.74386,
    "c": 0.12668,
    "h": 102.9
  },
  "luminance": 0.41654
}

Semantic roles & 50–950 ramp

primary
#BBAF45
secondary
#9499C8
accent
#5FD652
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#14130A
muted
#83827C

Preview Lab

Preview with #BBAF45

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

Preview Lab → · Contrast checker → · Palette generator →

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