#BBAF46#BBAF46

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

Color values

HEX#BBAF46
RGBrgb(187, 175, 70)
HSLhsl(54, 46%, 50%)
HSVhsv(54, 63%, 73%)
CMYKcmyk(0%, 6.4%, 62.6%, 26.7%)
CIE-LABlab(70.64, -8.60, 53.78)
CIE-LCHlch(70.64, 54.47, 99.09°)
OKLaboklab(74.4% -0.0279 0.1227)
OKLCHoklch(74.4% 0.126 102.8)
XYZxyz(36.9304, 41.6684, 11.8907)
Luminance0.4167 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BBAF46 #4652BB
analogous
#BB7446 #BBAF46 #8CBB46
triadic
#BBAF46 #46BBAF #AF46BB
tetradic
#BBAF46 #46BB74 #4652BB #BB468C
square
#BBAF46 #46BB74 #4652BB #BB468C
split-complementary
#BBAF46 #468CBB #7446BB
monochromatic
#625C24 #8F8635 #BBAF46 #CBC273 #DCD6A0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BBAF46#FFFFFF#000000##000000
##BBAF461.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)
#BEAA3A
Deuteranopia (green-blind)
#C2AF4C
Tritanopia (blue-blind)
#C8A499
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #bbaf46;
/* rgb */ color: rgb(187, 175, 70);
/* oklch */ color: oklch(74.4% 0.126 102.8);
Tailwind
colors: {
  custom: {
    50: '#d2c67e',
    500: '#bbaf46',
    950: '#000000',
  },
}
SCSS
$custom: #bbaf46;
$custom-light: #d2c67e;
$custom-dark: #000000;
JSON
{
  "hex": "#bbaf46",
  "rgb": {
    "r": 187,
    "g": 175,
    "b": 70
  },
  "hsl": {
    "h": 53.846,
    "s": 46.245,
    "l": 50.392
  },
  "oklch": {
    "l": 0.74396,
    "c": 0.12587,
    "h": 102.8
  },
  "luminance": 0.41667
}

Semantic roles & 50–950 ramp

primary
#BBAF46
secondary
#949AC8
accent
#5FD652
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#14130A
muted
#83827C

Preview Lab

Preview with #BBAF46

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

Preview Lab → · Contrast checker → · Palette generator →

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