#B8AC2D#B8AC2D

#B8AC2D 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#B8AC2D
RGBrgb(184, 172, 45)
HSLhsl(55, 61%, 45%)
HSVhsv(55, 76%, 72%)
CMYKcmyk(0%, 6.5%, 75.5%, 27.8%)
CIE-LABlab(69.39, -9.69, 62.29)
CIE-LCHlch(69.39, 63.04, 98.84°)
OKLaboklab(73.28% -0.0335 0.1366)
OKLCHoklch(73.28% 0.141 103.8)
XYZxyz(34.9949, 39.8863, 8.3376)
Luminance0.3988 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8AC2D #2D39B8
analogous
#B8662D #B8AC2D #7FB82D
triadic
#B8AC2D #2DB8AC #AC2DB8
tetradic
#B8AC2D #2DB866 #2D39B8 #B82D7F
square
#B8AC2D #2DB866 #2D39B8 #B82D7F
split-complementary
#B8AC2D #2D7FB8 #662DB8
monochromatic
#565015 #877E21 #B8AC2D #D4C84E #E0D880

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B8AC2D#FFFFFF#000000##000000
##B8AC2D1.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)
#BCA612
Deuteranopia (green-blind)
#C0AC36
Tritanopia (blue-blind)
#C6A094
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #b8ac2d;
/* rgb */ color: rgb(184, 172, 45);
/* oklch */ color: oklch(73.3% 0.141 103.8);
Tailwind
colors: {
  custom: {
    50: '#d1c470',
    500: '#b8ac2d',
    950: '#000000',
  },
}
SCSS
$custom: #b8ac2d;
$custom-light: #d1c470;
$custom-dark: #000000;
JSON
{
  "hex": "#b8ac2d",
  "rgb": {
    "r": 184,
    "g": 172,
    "b": 45
  },
  "hsl": {
    "h": 54.82,
    "s": 60.699,
    "l": 44.902
  },
  "oklch": {
    "l": 0.7328,
    "c": 0.1406,
    "h": 103.8
  },
  "luminance": 0.39885
}

Semantic roles & 50–950 ramp

primary
#B8AC2D
secondary
#787FC9
accent
#52E444
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#151208
muted
#83817B

Preview Lab

Preview with #B8AC2D

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

Preview Lab → · Contrast checker → · Palette generator →

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