#B8A648#B8A648

#B8A648 is a light, moderate yellow. Relative luminance 0.379; OKLCH L 72.2% C 0.116 H 98.5°. Best body text is #000000 at 8.59:1 contrast (WCAG AA passes).

Color values

HEX#B8A648
RGBrgb(184, 166, 72)
HSLhsl(50, 44%, 50%)
HSVhsv(50, 61%, 72%)
CMYKcmyk(0%, 9.8%, 60.9%, 27.8%)
CIE-LABlab(67.97, -5.02, 49.88)
CIE-LCHlch(67.97, 50.13, 95.74°)
OKLaboklab(72.22% -0.0172 0.1148)
OKLCHoklch(72.22% 0.116 98.5)
XYZxyz(34.5745, 37.9322, 11.6301)
Luminance0.3793 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8A648 #485AB8
analogous
#B86E48 #B8A648 #92B848
triadic
#B8A648 #48B8A6 #A648B8
tetradic
#B8A648 #48B86E #485AB8 #B84892
square
#B8A648 #48B86E #485AB8 #B84892
split-complementary
#B8A648 #4892B8 #6E48B8
monochromatic
#605725 #8C7F36 #B8A648 #C9BB74 #DAD1A0

Accessibility & contrast

On white

2.45
#B8A648 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.59
#B8A648 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8A648
8.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8A648#FFFFFF#000000##000000
##B8A6481.002.458.598.59
#FFFFFF2.451.0021.0021.00
#0000008.5921.001.001.00
##0000008.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A23E
Deuteranopia (green-blind)
#BAA84D
Tritanopia (blue-blind)
#C59B92
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #b8a648;
/* rgb */ color: rgb(184, 166, 72);
/* oklch */ color: oklch(72.2% 0.116 98.5);
Tailwind
colors: {
  custom: {
    50: '#d0c07f',
    500: '#b8a648',
    950: '#000000',
  },
}
SCSS
$custom: #b8a648;
$custom-light: #d0c07f;
$custom-dark: #000000;
JSON
{
  "hex": "#b8a648",
  "rgb": {
    "r": 184,
    "g": 166,
    "b": 72
  },
  "hsl": {
    "h": 50.357,
    "s": 44.094,
    "l": 50.196
  },
  "oklch": {
    "l": 0.72218,
    "c": 0.11608,
    "h": 98.5
  },
  "luminance": 0.37931
}

Semantic roles & 50–950 ramp

primary
#B8A648
secondary
#959DC7
accent
#69D454
background
#FDFBF7
surface
#FAF7EE
border
#D3D0C9
text
#14120A
muted
#83817C

Preview Lab

Preview with #B8A648

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

Preview Lab → · Contrast checker → · Palette generator →

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