#B8A52C#B8A52C

#B8A52C is a light, vivid yellow. Relative luminance 0.373; OKLCH L 71.8% C 0.135 H 99.9°. Best body text is #000000 at 8.46:1 contrast (WCAG AA passes).

Color values

HEX#B8A52C
RGBrgb(184, 165, 44)
HSLhsl(52, 61%, 45%)
HSVhsv(52, 76%, 72%)
CMYKcmyk(0%, 10.3%, 76.1%, 27.8%)
CIE-LABlab(67.49, -6.05, 60.87)
CIE-LCHlch(67.49, 61.17, 95.68°)
OKLaboklab(71.77% -0.0233 0.1333)
OKLCHoklch(71.77% 0.135 99.9)
XYZxyz(33.6786, 37.2841, 7.8050)
Luminance0.3728 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8A52C #2C3FB8
analogous
#B85F2C #B8A52C #85B82C
triadic
#B8A52C #2CB8A5 #A52CB8
tetradic
#B8A52C #2CB85F #2C3FB8 #B82C85
square
#B8A52C #2CB85F #2C3FB8 #B82C85
split-complementary
#B8A52C #2C85B8 #5F2CB8
monochromatic
#554C14 #877920 #B8A52C #D4C24D #E0D37E

Accessibility & contrast

On white

2.48
#B8A52C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.46
#B8A52C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8A52C
8.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8A52C#FFFFFF#000000##000000
##B8A52C1.002.488.468.46
#FFFFFF2.481.0021.0021.00
#0000008.4621.001.001.00
##0000008.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A013
Deuteranopia (green-blind)
#BBA734
Tritanopia (blue-blind)
#C7998E
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #b8a52c;
/* rgb */ color: rgb(184, 165, 44);
/* oklch */ color: oklch(71.8% 0.135 99.9);
Tailwind
colors: {
  custom: {
    50: '#d1bf6f',
    500: '#b8a52c',
    950: '#000000',
  },
}
SCSS
$custom: #b8a52c;
$custom-light: #d1bf6f;
$custom-dark: #000000;
JSON
{
  "hex": "#b8a52c",
  "rgb": {
    "r": 184,
    "g": 165,
    "b": 44
  },
  "hsl": {
    "h": 51.857,
    "s": 61.404,
    "l": 44.706
  },
  "oklch": {
    "l": 0.71769,
    "c": 0.13535,
    "h": 99.9
  },
  "luminance": 0.37282
}

Semantic roles & 50–950 ramp

primary
#B8A52C
secondary
#7782C9
accent
#59E543
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#151208
muted
#83817B

Preview Lab

Preview with #B8A52C

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

Preview Lab → · Contrast checker → · Palette generator →

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