#BBAF35#BBAF35

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

Color values

HEX#BBAF35
RGBrgb(187, 175, 53)
HSLhsl(55, 56%, 47%)
HSVhsv(55, 72%, 73%)
CMYKcmyk(0%, 6.4%, 71.7%, 26.7%)
CIE-LABlab(70.51, -9.58, 60.60)
CIE-LCHlch(70.51, 61.35, 98.98°)
OKLaboklab(74.25% -0.0325 0.1344)
OKLCHoklch(74.25% 0.138 103.6)
XYZxyz(36.4676, 41.4833, 9.4536)
Luminance0.4148 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BBAF35 #3541BB
analogous
#BB6C35 #BBAF35 #84BB35
triadic
#BBAF35 #35BBAF #AF35BB
tetradic
#BBAF35 #35BB6C #3541BB #BB3584
square
#BBAF35 #35BB6C #3541BB #BB3584
split-complementary
#BBAF35 #3584BB #6C35BB
monochromatic
#5C561A #8B8227 #BBAF35 #D1C65C #DED78C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BBAF35#FFFFFF#000000##000000
##BBAF351.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)
#BFA921
Deuteranopia (green-blind)
#C3AF3D
Tritanopia (blue-blind)
#C9A397
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #bbaf35;
/* rgb */ color: rgb(187, 175, 53);
/* oklch */ color: oklch(74.3% 0.138 103.6);
Tailwind
colors: {
  custom: {
    50: '#d3c674',
    500: '#bbaf35',
    950: '#000000',
  },
}
SCSS
$custom: #bbaf35;
$custom-light: #d3c674;
$custom-dark: #000000;
JSON
{
  "hex": "#bbaf35",
  "rgb": {
    "r": 187,
    "g": 175,
    "b": 53
  },
  "hsl": {
    "h": 54.627,
    "s": 55.833,
    "l": 47.059
  },
  "oklch": {
    "l": 0.74252,
    "c": 0.13823,
    "h": 103.6
  },
  "luminance": 0.41482
}

Semantic roles & 50–950 ramp

primary
#BBAF35
secondary
#8389C9
accent
#56DF49
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#151309
muted
#83827B

Preview Lab

Preview with #BBAF35

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

Preview Lab → · Contrast checker → · Palette generator →

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