#B8AC33#B8AC33

#B8AC33 is a light, vivid yellow. Relative luminance 0.399; OKLCH L 73.3% C 0.137 H 103.6°. Best body text is #000000 at 8.99:1 contrast (WCAG AA passes).

Color values

HEX#B8AC33
RGBrgb(184, 172, 51)
HSLhsl(55, 57%, 46%)
HSVhsv(55, 72%, 72%)
CMYKcmyk(0%, 6.5%, 72.3%, 27.8%)
CIE-LABlab(69.42, -9.42, 60.19)
CIE-LCHlch(69.42, 60.93, 98.89°)
OKLaboklab(73.32% -0.0321 0.1332)
OKLCHoklch(73.32% 0.137 103.6)
XYZxyz(35.1187, 39.9359, 8.9899)
Luminance0.3993 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8AC33 #333FB8
analogous
#B86933 #B8AC33 #81B833
triadic
#B8AC33 #33B8AC #AC33B8
tetradic
#B8AC33 #33B869 #333FB8 #B83381
square
#B8AC33 #33B869 #333FB8 #B83381
split-complementary
#B8AC33 #3381B8 #6933B8
monochromatic
#585218 #887F26 #B8AC33 #D1C658 #DED688

Accessibility & contrast

On white

2.34
#B8AC33 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.99
#B8AC33 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8AC33
8.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8AC33#FFFFFF#000000##000000
##B8AC331.002.348.998.99
#FFFFFF2.341.0021.0021.00
#0000008.9921.001.001.00
##0000008.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA61E
Deuteranopia (green-blind)
#BFAC3B
Tritanopia (blue-blind)
#C6A094
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #b8ac33;
/* rgb */ color: rgb(184, 172, 51);
/* oklch */ color: oklch(73.3% 0.137 103.6);
Tailwind
colors: {
  custom: {
    50: '#d1c473',
    500: '#b8ac33',
    950: '#000000',
  },
}
SCSS
$custom: #b8ac33;
$custom-light: #d1c473;
$custom-dark: #000000;
JSON
{
  "hex": "#b8ac33",
  "rgb": {
    "r": 184,
    "g": 172,
    "b": 51
  },
  "hsl": {
    "h": 54.586,
    "s": 56.596,
    "l": 46.078
  },
  "oklch": {
    "l": 0.73319,
    "c": 0.13704,
    "h": 103.6
  },
  "luminance": 0.39934
}

Semantic roles & 50–950 ramp

primary
#B8AC33
secondary
#7F86C8
accent
#56E048
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B8AC33

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

Preview Lab → · Contrast checker → · Palette generator →

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