#BBAF38#BBAF38

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

Color values

HEX#BBAF38
RGBrgb(187, 175, 56)
HSLhsl(55, 54%, 48%)
HSVhsv(55, 70%, 73%)
CMYKcmyk(0%, 6.4%, 70.1%, 26.7%)
CIE-LABlab(70.53, -9.43, 59.48)
CIE-LCHlch(70.53, 60.22, 99.01°)
OKLaboklab(74.28% -0.0318 0.1325)
OKLCHoklch(74.28% 0.136 103.5)
XYZxyz(36.5388, 41.5117, 9.8285)
Luminance0.4151 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BBAF38 #3844BB
analogous
#BB6E38 #BBAF38 #85BB38
triadic
#BBAF38 #38BBAF #AF38BB
tetradic
#BBAF38 #38BB6E #3844BB #BB3885
square
#BBAF38 #38BB6E #3844BB #BB3885
split-complementary
#BBAF38 #3885BB #6E38BB
monochromatic
#5D571C #8C832A #BBAF38 #D0C561 #DED790

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BBAF38#FFFFFF#000000##000000
##BBAF381.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)
#BFA926
Deuteranopia (green-blind)
#C2AF40
Tritanopia (blue-blind)
#C9A397
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #bbaf38;
/* rgb */ color: rgb(187, 175, 56);
/* oklch */ color: oklch(74.3% 0.136 103.5);
Tailwind
colors: {
  custom: {
    50: '#d3c676',
    500: '#bbaf38',
    950: '#000000',
  },
}
SCSS
$custom: #bbaf38;
$custom-light: #d3c676;
$custom-dark: #000000;
JSON
{
  "hex": "#bbaf38",
  "rgb": {
    "r": 187,
    "g": 175,
    "b": 56
  },
  "hsl": {
    "h": 54.504,
    "s": 53.909,
    "l": 47.647
  },
  "oklch": {
    "l": 0.74275,
    "c": 0.13627,
    "h": 103.5
  },
  "luminance": 0.4151
}

Semantic roles & 50–950 ramp

primary
#BBAF38
secondary
#868CC8
accent
#58DD4B
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#151309
muted
#83827B

Preview Lab

Preview with #BBAF38

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

Preview Lab → · Contrast checker → · Palette generator →

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