#B8AC3A#B8AC3A

#B8AC3A is a light, vivid yellow. Relative luminance 0.400; OKLCH L 73.4% C 0.132 H 103.3°. Best body text is #000000 at 9.00:1 contrast (WCAG AA passes).

Color values

HEX#B8AC3A
RGBrgb(184, 172, 58)
HSLhsl(54, 52%, 47%)
HSVhsv(54, 68%, 72%)
CMYKcmyk(0%, 6.5%, 68.5%, 27.8%)
CIE-LABlab(69.47, -9.06, 57.54)
CIE-LCHlch(69.47, 58.25, 98.95°)
OKLaboklab(73.37% -0.0304 0.1289)
OKLCHoklch(73.37% 0.132 103.3)
XYZxyz(35.2849, 40.0023, 9.8648)
Luminance0.4000 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8AC3A #3A46B8
analogous
#B86D3A #B8AC3A #85B83A
triadic
#B8AC3A #3AB8AC #AC3AB8
tetradic
#B8AC3A #3AB86D #3A46B8 #B83A85
square
#B8AC3A #3AB86D #3A46B8 #B83A85
split-complementary
#B8AC3A #3A85B8 #6D3AB8
monochromatic
#5B551D #89812B #B8AC3A #CDC362 #DCD590

Accessibility & contrast

On white

2.33
#B8AC3A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.00
#B8AC3A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8AC3A
9.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8AC3A#FFFFFF#000000##000000
##B8AC3A1.002.339.009.00
#FFFFFF2.331.0021.0021.00
#0000009.0021.001.001.00
##0000009.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA62A
Deuteranopia (green-blind)
#BFAC41
Tritanopia (blue-blind)
#C6A095
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #b8ac3a;
/* rgb */ color: rgb(184, 172, 58);
/* oklch */ color: oklch(73.4% 0.132 103.3);
Tailwind
colors: {
  custom: {
    50: '#d1c477',
    500: '#b8ac3a',
    950: '#000000',
  },
}
SCSS
$custom: #b8ac3a;
$custom-light: #d1c477;
$custom-dark: #000000;
JSON
{
  "hex": "#b8ac3a",
  "rgb": {
    "r": 184,
    "g": 172,
    "b": 58
  },
  "hsl": {
    "h": 54.286,
    "s": 52.066,
    "l": 47.451
  },
  "oklch": {
    "l": 0.73372,
    "c": 0.13239,
    "h": 103.3
  },
  "luminance": 0.40001
}

Semantic roles & 50–950 ramp

primary
#B8AC3A
secondary
#878DC7
accent
#5ADC4C
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141209
muted
#83817B

Preview Lab

Preview with #B8AC3A

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

Preview Lab → · Contrast checker → · Palette generator →

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