#BBAF2D#BBAF2D

#BBAF2D is a light, vivid yellow. Relative luminance 0.414; OKLCH L 74.2% C 0.143 H 103.9°. Best body text is #000000 at 9.28:1 contrast (WCAG AA passes).

Color values

HEX#BBAF2D
RGBrgb(187, 175, 45)
HSLhsl(55, 61%, 45%)
HSVhsv(55, 76%, 73%)
CMYKcmyk(0%, 6.4%, 75.9%, 26.7%)
CIE-LABlab(70.47, -9.94, 63.39)
CIE-LCHlch(70.47, 64.16, 98.91°)
OKLaboklab(74.2% -0.0343 0.1388)
OKLCHoklch(74.2% 0.143 103.9)
XYZxyz(36.2988, 41.4157, 8.5641)
Luminance0.4141 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BBAF2D #2D39BB
analogous
#BB682D #BBAF2D #80BB2D
triadic
#BBAF2D #2DBBAF #AF2DBB
tetradic
#BBAF2D #2DBB68 #2D39BB #BB2D80
square
#BBAF2D #2DBB68 #2D39BB #BB2D80
split-complementary
#BBAF2D #2D80BB #682DBB
monochromatic
#585315 #8A8121 #BBAF2D #D5CA50 #E1D982

Accessibility & contrast

On white

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

On black

9.28
#BBAF2D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BBAF2D
9.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BBAF2D#FFFFFF#000000##000000
##BBAF2D1.002.269.289.28
#FFFFFF2.261.0021.0021.00
#0000009.2821.001.001.00
##0000009.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFA910
Deuteranopia (green-blind)
#C3AF37
Tritanopia (blue-blind)
#C9A396
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #bbaf2d;
/* rgb */ color: rgb(187, 175, 45);
/* oklch */ color: oklch(74.2% 0.143 103.9);
Tailwind
colors: {
  custom: {
    50: '#d3c670',
    500: '#bbaf2d',
    950: '#000000',
  },
}
SCSS
$custom: #bbaf2d;
$custom-light: #d3c670;
$custom-dark: #000000;
JSON
{
  "hex": "#bbaf2d",
  "rgb": {
    "r": 187,
    "g": 175,
    "b": 45
  },
  "hsl": {
    "h": 54.93,
    "s": 61.207,
    "l": 45.49
  },
  "oklch": {
    "l": 0.742,
    "c": 0.14295,
    "h": 103.9
  },
  "luminance": 0.41414
}

Semantic roles & 50–950 ramp

primary
#BBAF2D
secondary
#7A81CA
accent
#51E443
background
#FDFCF7
surface
#FBF8ED
border
#D4D1C8
text
#151308
muted
#83827B

Preview Lab

Preview with #BBAF2D

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

Preview Lab → · Contrast checker → · Palette generator →

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