#B8AB33#B8AB33

#B8AB33 is a light, vivid yellow. Relative luminance 0.396; OKLCH L 73.1% C 0.136 H 103.0°. Best body text is #000000 at 8.91:1 contrast (WCAG AA passes).

Color values

HEX#B8AB33
RGBrgb(184, 171, 51)
HSLhsl(54, 57%, 46%)
HSVhsv(54, 72%, 72%)
CMYKcmyk(0%, 7.1%, 72.3%, 27.8%)
CIE-LABlab(69.15, -8.90, 59.93)
CIE-LCHlch(69.15, 60.59, 98.44°)
OKLaboklab(73.1% -0.0306 0.1327)
OKLCHoklch(73.1% 0.136 103)
XYZxyz(34.9291, 39.5566, 8.9266)
Luminance0.3956 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8AB33 #3340B8
analogous
#B86833 #B8AB33 #82B833
triadic
#B8AB33 #33B8AB #AB33B8
tetradic
#B8AB33 #33B868 #3340B8 #B83382
square
#B8AB33 #33B868 #3340B8 #B83382
split-complementary
#B8AB33 #3382B8 #6833B8
monochromatic
#585218 #887E26 #B8AB33 #D1C558 #DED588

Accessibility & contrast

On white

2.36
#B8AB33 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.91
#B8AB33 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8AB33
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8AB33#FFFFFF#000000##000000
##B8AB331.002.368.918.91
#FFFFFF2.361.0021.0021.00
#0000008.9121.001.001.00
##0000008.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA51F
Deuteranopia (green-blind)
#BFAB3B
Tritanopia (blue-blind)
#C69F93
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #b8ab33;
/* rgb */ color: rgb(184, 171, 51);
/* oklch */ color: oklch(73.1% 0.136 103.0);
Tailwind
colors: {
  custom: {
    50: '#d1c373',
    500: '#b8ab33',
    950: '#000000',
  },
}
SCSS
$custom: #b8ab33;
$custom-light: #d1c373;
$custom-dark: #000000;
JSON
{
  "hex": "#b8ab33",
  "rgb": {
    "r": 184,
    "g": 171,
    "b": 51
  },
  "hsl": {
    "h": 54.135,
    "s": 56.596,
    "l": 46.078
  },
  "oklch": {
    "l": 0.73103,
    "c": 0.13617,
    "h": 103
  },
  "luminance": 0.39555
}

Semantic roles & 50–950 ramp

primary
#B8AB33
secondary
#7F86C8
accent
#57E048
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B8AB33

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

Preview Lab → · Contrast checker → · Palette generator →

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