#BBAF37#BBAF37

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

Color values

HEX#BBAF37
RGBrgb(187, 175, 55)
HSLhsl(55, 55%, 47%)
HSVhsv(55, 71%, 73%)
CMYKcmyk(0%, 6.4%, 70.6%, 26.7%)
CIE-LABlab(70.53, -9.48, 59.86)
CIE-LCHlch(70.53, 60.60, 99.00°)
OKLaboklab(74.27% -0.032 0.1331)
OKLCHoklch(74.27% 0.137 103.5)
XYZxyz(36.5146, 41.5021, 9.7010)
Luminance0.4150 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BBAF37 #3743BB
analogous
#BB6D37 #BBAF37 #85BB37
triadic
#BBAF37 #37BBAF #AF37BB
tetradic
#BBAF37 #37BB6D #3743BB #BB3785
square
#BBAF37 #37BB6D #3743BB #BB3785
split-complementary
#BBAF37 #3785BB #6D37BB
monochromatic
#5C561B #8C8329 #BBAF37 #D0C65F #DED78E

Accessibility & contrast

On white

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

On black

9.30
#BBAF37 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BBAF37
9.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BBAF37#FFFFFF#000000##000000
##BBAF371.002.269.309.30
#FFFFFF2.261.0021.0021.00
#0000009.3021.001.001.00
##0000009.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFA924
Deuteranopia (green-blind)
#C3AF3F
Tritanopia (blue-blind)
#C9A397
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #bbaf37;
/* rgb */ color: rgb(187, 175, 55);
/* oklch */ color: oklch(74.3% 0.137 103.5);
Tailwind
colors: {
  custom: {
    50: '#d3c675',
    500: '#bbaf37',
    950: '#000000',
  },
}
SCSS
$custom: #bbaf37;
$custom-light: #d3c675;
$custom-dark: #000000;
JSON
{
  "hex": "#bbaf37",
  "rgb": {
    "r": 187,
    "g": 175,
    "b": 55
  },
  "hsl": {
    "h": 54.545,
    "s": 54.545,
    "l": 47.451
  },
  "oklch": {
    "l": 0.74267,
    "c": 0.13694,
    "h": 103.5
  },
  "luminance": 0.41501
}

Semantic roles & 50–950 ramp

primary
#BBAF37
secondary
#858BC9
accent
#57DE4A
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#151309
muted
#83827B

Preview Lab

Preview with #BBAF37

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

Preview Lab → · Contrast checker → · Palette generator →

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