#B8AC2C#B8AC2C

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

Color values

HEX#B8AC2C
RGBrgb(184, 172, 44)
HSLhsl(55, 61%, 45%)
HSVhsv(55, 76%, 72%)
CMYKcmyk(0%, 6.5%, 76.1%, 27.8%)
CIE-LABlab(69.38, -9.73, 62.62)
CIE-LCHlch(69.38, 63.38, 98.83°)
OKLaboklab(73.27% -0.0337 0.1371)
OKLCHoklch(73.27% 0.141 103.8)
XYZxyz(34.9759, 39.8787, 8.2374)
Luminance0.3988 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8AC2C #2C38B8
analogous
#B8662C #B8AC2C #7EB82C
triadic
#B8AC2C #2CB8AC #AC2CB8
tetradic
#B8AC2C #2CB866 #2C38B8 #B82C7E
square
#B8AC2C #2CB866 #2C38B8 #B82C7E
split-complementary
#B8AC2C #2C7EB8 #662CB8
monochromatic
#555014 #877E20 #B8AC2C #D4C94D #E0D87E

Accessibility & contrast

On white

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

On black

8.98
#B8AC2C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8AC2C
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8AC2C#FFFFFF#000000##000000
##B8AC2C1.002.348.988.98
#FFFFFF2.341.0021.0021.00
#0000008.9821.001.001.00
##0000008.9821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b8ac2c;
/* rgb */ color: rgb(184, 172, 44);
/* oklch */ color: oklch(73.3% 0.141 103.8);
Tailwind
colors: {
  custom: {
    50: '#d1c46f',
    500: '#b8ac2c',
    950: '#000000',
  },
}
SCSS
$custom: #b8ac2c;
$custom-light: #d1c46f;
$custom-dark: #000000;
JSON
{
  "hex": "#b8ac2c",
  "rgb": {
    "r": 184,
    "g": 172,
    "b": 44
  },
  "hsl": {
    "h": 54.857,
    "s": 61.404,
    "l": 44.706
  },
  "oklch": {
    "l": 0.73274,
    "c": 0.14114,
    "h": 103.8
  },
  "luminance": 0.39877
}

Semantic roles & 50–950 ramp

primary
#B8AC2C
secondary
#777EC9
accent
#51E543
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#151208
muted
#83817B

Preview Lab

Preview with #B8AC2C

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

Preview Lab → · Contrast checker → · Palette generator →

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