#BBAF42#BBAF42

#BBAF42 is a light, vivid yellow. Relative luminance 0.416; OKLCH L 74.4% C 0.129 H 103.0°. Best body text is #000000 at 9.32:1 contrast (WCAG AA passes).

Color values

HEX#BBAF42
RGBrgb(187, 175, 66)
HSLhsl(54, 48%, 50%)
HSVhsv(54, 65%, 73%)
CMYKcmyk(0%, 6.4%, 64.7%, 26.7%)
CIE-LABlab(70.61, -8.86, 55.48)
CIE-LCHlch(70.61, 56.18, 99.07°)
OKLaboklab(74.36% -0.0291 0.1257)
OKLCHoklch(74.36% 0.129 103)
XYZxyz(36.8083, 41.6195, 11.2477)
Luminance0.4162 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BBAF42 #424EBB
analogous
#BB7342 #BBAF42 #8ABB42
triadic
#BBAF42 #42BBAF #AF42BB
tetradic
#BBAF42 #42BB73 #424EBB #BB428A
square
#BBAF42 #42BB73 #424EBB #BB428A
split-complementary
#BBAF42 #428ABB #7342BB
monochromatic
#615A22 #8E8532 #BBAF42 #CCC36E #DCD69C

Accessibility & contrast

On white

2.25
#BBAF42 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.32
#BBAF42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BBAF42
9.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BBAF42#FFFFFF#000000##000000
##BBAF421.002.259.329.32
#FFFFFF2.251.0021.0021.00
#0000009.3221.001.001.00
##0000009.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEAA34
Deuteranopia (green-blind)
#C2AF48
Tritanopia (blue-blind)
#C9A398
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #bbaf42;
/* rgb */ color: rgb(187, 175, 66);
/* oklch */ color: oklch(74.4% 0.129 103.0);
Tailwind
colors: {
  custom: {
    50: '#d2c67c',
    500: '#bbaf42',
    950: '#000000',
  },
}
SCSS
$custom: #bbaf42;
$custom-light: #d2c67c;
$custom-dark: #000000;
JSON
{
  "hex": "#bbaf42",
  "rgb": {
    "r": 187,
    "g": 175,
    "b": 66
  },
  "hsl": {
    "h": 54.05,
    "s": 47.826,
    "l": 49.608
  },
  "oklch": {
    "l": 0.74358,
    "c": 0.12905,
    "h": 103
  },
  "luminance": 0.41618
}

Semantic roles & 50–950 ramp

primary
#BBAF42
secondary
#9196C8
accent
#5ED750
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#14130A
muted
#83827C

Preview Lab

Preview with #BBAF42

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

Preview Lab → · Contrast checker → · Palette generator →

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