#B8A848#B8A848

#B8A848 is a light, moderate yellow. Relative luminance 0.387; OKLCH L 72.6% C 0.118 H 99.9°. Best body text is #000000 at 8.73:1 contrast (WCAG AA passes).

Color values

HEX#B8A848
RGBrgb(184, 168, 72)
HSLhsl(51, 44%, 50%)
HSVhsv(51, 61%, 72%)
CMYKcmyk(0%, 8.7%, 60.9%, 27.8%)
CIE-LABlab(68.51, -6.08, 50.48)
CIE-LCHlch(68.51, 50.84, 96.87°)
OKLaboklab(72.64% -0.0203 0.1161)
OKLCHoklch(72.64% 0.118 99.9)
XYZxyz(34.9409, 38.6650, 11.7522)
Luminance0.3866 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8A848 #4858B8
analogous
#B87048 #B8A848 #90B848
triadic
#B8A848 #48B8A8 #A848B8
tetradic
#B8A848 #48B870 #4858B8 #B84890
square
#B8A848 #48B870 #4858B8 #B84890
split-complementary
#B8A848 #4890B8 #7048B8
monochromatic
#605825 #8C8036 #B8A848 #C9BD74 #DAD2A0

Accessibility & contrast

On white

2.40
#B8A848 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.73
#B8A848 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8A848
8.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8A848#FFFFFF#000000##000000
##B8A8481.002.408.738.73
#FFFFFF2.401.0021.0021.00
#0000008.7321.001.001.00
##0000008.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A43E
Deuteranopia (green-blind)
#BBAA4D
Tritanopia (blue-blind)
#C59D93
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #b8a848;
/* rgb */ color: rgb(184, 168, 72);
/* oklch */ color: oklch(72.6% 0.118 99.9);
Tailwind
colors: {
  custom: {
    50: '#d0c17f',
    500: '#b8a848',
    950: '#000000',
  },
}
SCSS
$custom: #b8a848;
$custom-light: #d0c17f;
$custom-dark: #000000;
JSON
{
  "hex": "#b8a848",
  "rgb": {
    "r": 184,
    "g": 168,
    "b": 72
  },
  "hsl": {
    "h": 51.429,
    "s": 44.094,
    "l": 50.196
  },
  "oklch": {
    "l": 0.72644,
    "c": 0.11782,
    "h": 99.9
  },
  "luminance": 0.38663
}

Semantic roles & 50–950 ramp

primary
#B8A848
secondary
#959CC7
accent
#66D454
background
#FDFBF7
surface
#FAF7EE
border
#D3D0C9
text
#14120A
muted
#83817C

Preview Lab

Preview with #B8A848

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

Preview Lab → · Contrast checker → · Palette generator →

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