#BBAF34#BBAF34

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

Color values

HEX#BBAF34
RGBrgb(187, 175, 52)
HSLhsl(55, 56%, 47%)
HSVhsv(55, 72%, 73%)
CMYKcmyk(0%, 6.4%, 72.2%, 26.7%)
CIE-LABlab(70.51, -9.63, 60.96)
CIE-LCHlch(70.51, 61.72, 98.97°)
OKLaboklab(74.25% -0.0328 0.1349)
OKLCHoklch(74.25% 0.139 103.6)
XYZxyz(36.4449, 41.4742, 9.3337)
Luminance0.4147 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BBAF34 #3440BB
analogous
#BB6C34 #BBAF34 #83BB34
triadic
#BBAF34 #34BBAF #AF34BB
tetradic
#BBAF34 #34BB6C #3440BB #BB3483
square
#BBAF34 #34BB6C #3440BB #BB3483
split-complementary
#BBAF34 #3483BB #6C34BB
monochromatic
#5B5519 #8B8227 #BBAF34 #D1C75B #DFD78B

Accessibility & contrast

On white

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

On black

9.29
#BBAF34 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BBAF34
9.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BBAF34#FFFFFF#000000##000000
##BBAF341.002.269.299.29
#FFFFFF2.261.0021.0021.00
#0000009.2921.001.001.00
##0000009.2921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #bbaf34;
/* rgb */ color: rgb(187, 175, 52);
/* oklch */ color: oklch(74.2% 0.139 103.6);
Tailwind
colors: {
  custom: {
    50: '#d3c674',
    500: '#bbaf34',
    950: '#000000',
  },
}
SCSS
$custom: #bbaf34;
$custom-light: #d3c674;
$custom-dark: #000000;
JSON
{
  "hex": "#bbaf34",
  "rgb": {
    "r": 187,
    "g": 175,
    "b": 52
  },
  "hsl": {
    "h": 54.667,
    "s": 56.485,
    "l": 46.863
  },
  "oklch": {
    "l": 0.74245,
    "c": 0.13886,
    "h": 103.6
  },
  "luminance": 0.41473
}

Semantic roles & 50–950 ramp

primary
#BBAF34
secondary
#8288C9
accent
#56E048
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#151309
muted
#83827B

Preview Lab

Preview with #BBAF34

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

Preview Lab → · Contrast checker → · Palette generator →

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