#B8AC45#B8AC45

#B8AC45 is a light, vivid yellow. Relative luminance 0.401; OKLCH L 73.5% C 0.124 H 102.7°. Best body text is #000000 at 9.02:1 contrast (WCAG AA passes).

Color values

HEX#B8AC45
RGBrgb(184, 172, 69)
HSLhsl(54, 45%, 50%)
HSVhsv(54, 63%, 72%)
CMYKcmyk(0%, 6.5%, 62.5%, 27.8%)
CIE-LABlab(69.56, -8.39, 52.98)
CIE-LCHlch(69.56, 53.64, 99.00°)
OKLaboklab(73.47% -0.0272 0.121)
OKLCHoklch(73.47% 0.124 102.7)
XYZxyz(35.5952, 40.1264, 11.4993)
Luminance0.4012 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8AC45 #4551B8
analogous
#B87245 #B8AC45 #8BB845
triadic
#B8AC45 #45B8AC #AC45B8
tetradic
#B8AC45 #45B872 #4551B8 #B8458B
square
#B8AC45 #45B872 #4551B8 #B8458B
split-complementary
#B8AC45 #458BB8 #7245B8
monochromatic
#5F5924 #8B8234 #B8AC45 #CAC071 #DAD49D

Accessibility & contrast

On white

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

On black

9.02
#B8AC45 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8AC45
9.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8AC45#FFFFFF#000000##000000
##B8AC451.002.339.029.02
#FFFFFF2.331.0021.0021.00
#0000009.0221.001.001.00
##0000009.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA739
Deuteranopia (green-blind)
#BEAC4B
Tritanopia (blue-blind)
#C5A196
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #b8ac45;
/* rgb */ color: rgb(184, 172, 69);
/* oklch */ color: oklch(73.5% 0.124 102.7);
Tailwind
colors: {
  custom: {
    50: '#d0c47d',
    500: '#b8ac45',
    950: '#000000',
  },
}
SCSS
$custom: #b8ac45;
$custom-light: #d0c47d;
$custom-dark: #000000;
JSON
{
  "hex": "#b8ac45",
  "rgb": {
    "r": 184,
    "g": 172,
    "b": 69
  },
  "hsl": {
    "h": 53.739,
    "s": 45.455,
    "l": 49.608
  },
  "oklch": {
    "l": 0.7347,
    "c": 0.12398,
    "h": 102.7
  },
  "luminance": 0.40125
}

Semantic roles & 50–950 ramp

primary
#B8AC45
secondary
#9298C7
accent
#60D553
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#14120A
muted
#83817C

Preview Lab

Preview with #B8AC45

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

Preview Lab → · Contrast checker → · Palette generator →

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