#B8A945#B8A945

#B8A945 is a light, vivid yellow. Relative luminance 0.390; OKLCH L 72.8% C 0.121 H 100.8°. Best body text is #000000 at 8.80:1 contrast (WCAG AA passes).

Color values

HEX#B8A945
RGBrgb(184, 169, 69)
HSLhsl(52, 45%, 50%)
HSVhsv(52, 63%, 72%)
CMYKcmyk(0%, 8.2%, 62.5%, 27.8%)
CIE-LABlab(68.75, -6.81, 52.10)
CIE-LCHlch(68.75, 52.54, 97.45°)
OKLaboklab(72.83% -0.0227 0.1191)
OKLCHoklch(72.83% 0.121 100.8)
XYZxyz(35.0307, 38.9974, 11.3111)
Luminance0.3900 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8A945 #4554B8
analogous
#B87045 #B8A945 #8EB845
triadic
#B8A945 #45B8A9 #A945B8
tetradic
#B8A945 #45B870 #4554B8 #B8458E
square
#B8A945 #45B870 #4554B8 #B8458E
split-complementary
#B8A945 #458EB8 #7045B8
monochromatic
#5F5724 #8B8034 #B8A945 #CABE71 #DAD29D

Accessibility & contrast

On white

2.39
#B8A945 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.80
#B8A945 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8A945
8.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8A945#FFFFFF#000000##000000
##B8A9451.002.398.808.80
#FFFFFF2.391.0021.0021.00
#0000008.8021.001.001.00
##0000008.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A43A
Deuteranopia (green-blind)
#BCAA4A
Tritanopia (blue-blind)
#C59E94
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #b8a945;
/* rgb */ color: rgb(184, 169, 69);
/* oklch */ color: oklch(72.8% 0.121 100.8);
Tailwind
colors: {
  custom: {
    50: '#d0c27d',
    500: '#b8a945',
    950: '#000000',
  },
}
SCSS
$custom: #b8a945;
$custom-light: #d0c27d;
$custom-dark: #000000;
JSON
{
  "hex": "#b8a945",
  "rgb": {
    "r": 184,
    "g": 169,
    "b": 69
  },
  "hsl": {
    "h": 52.174,
    "s": 45.455,
    "l": 49.608
  },
  "oklch": {
    "l": 0.72827,
    "c": 0.12125,
    "h": 100.8
  },
  "luminance": 0.38996
}

Semantic roles & 50–950 ramp

primary
#B8A945
secondary
#9299C7
accent
#64D553
background
#FDFBF7
surface
#FAF7EE
border
#D3D0C9
text
#14120A
muted
#83817C

Preview Lab

Preview with #B8A945

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

Preview Lab → · Contrast checker → · Palette generator →

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