#BBAF3C#BBAF3C

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

Color values

HEX#BBAF3C
RGBrgb(187, 175, 60)
HSLhsl(54, 51%, 48%)
HSVhsv(54, 68%, 73%)
CMYKcmyk(0%, 6.4%, 67.9%, 26.7%)
CIE-LABlab(70.56, -9.21, 57.92)
CIE-LCHlch(70.56, 58.65, 99.04°)
OKLaboklab(74.31% -0.0307 0.1299)
OKLCHoklch(74.31% 0.134 103.3)
XYZxyz(36.6406, 41.5524, 10.3645)
Luminance0.4155 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BBAF3C #3C48BB
analogous
#BB6F3C #BBAF3C #87BB3C
triadic
#BBAF3C #3CBBAF #AF3CBB
tetradic
#BBAF3C #3CBB6F #3C48BB #BB3C87
square
#BBAF3C #3CBB6F #3C48BB #BB3C87
split-complementary
#BBAF3C #3C87BB #6F3CBB
monochromatic
#5E581E #8D842D #BBAF3C #CEC466 #DDD695

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BBAF3C#FFFFFF#000000##000000
##BBAF3C1.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)
#BEA92C
Deuteranopia (green-blind)
#C2AF43
Tritanopia (blue-blind)
#C9A398
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #bbaf3c;
/* rgb */ color: rgb(187, 175, 60);
/* oklch */ color: oklch(74.3% 0.134 103.3);
Tailwind
colors: {
  custom: {
    50: '#d3c678',
    500: '#bbaf3c',
    950: '#000000',
  },
}
SCSS
$custom: #bbaf3c;
$custom-light: #d3c678;
$custom-dark: #000000;
JSON
{
  "hex": "#bbaf3c",
  "rgb": {
    "r": 187,
    "g": 175,
    "b": 60
  },
  "hsl": {
    "h": 54.331,
    "s": 51.417,
    "l": 48.431
  },
  "oklch": {
    "l": 0.74306,
    "c": 0.13351,
    "h": 103.3
  },
  "luminance": 0.41551
}

Semantic roles & 50–950 ramp

primary
#BBAF3C
secondary
#8B90C8
accent
#5ADB4D
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#151309
muted
#83827B

Preview Lab

Preview with #BBAF3C

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

Preview Lab → · Contrast checker → · Palette generator →

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