#B8A248#B8A248

#B8A248 is a light, moderate yellow. Relative luminance 0.365; OKLCH L 71.4% C 0.113 H 95.6°. Best body text is #000000 at 8.30:1 contrast (WCAG AA passes).

Color values

HEX#B8A248
RGBrgb(184, 162, 72)
HSLhsl(48, 44%, 50%)
HSVhsv(48, 61%, 72%)
CMYKcmyk(0%, 12%, 60.9%, 27.8%)
CIE-LABlab(66.90, -2.89, 48.69)
CIE-LCHlch(66.90, 48.78, 93.39°)
OKLaboklab(71.37% -0.0111 0.1123)
OKLCHoklch(71.37% 0.113 95.6)
XYZxyz(33.8586, 36.5005, 11.3915)
Luminance0.3650 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8A248 #485EB8
analogous
#B86A48 #B8A248 #96B848
triadic
#B8A248 #48B8A2 #A248B8
tetradic
#B8A248 #48B86A #485EB8 #B84896
square
#B8A248 #48B86A #485EB8 #B84896
split-complementary
#B8A248 #4896B8 #6A48B8
monochromatic
#605525 #8C7B36 #B8A248 #C9B874 #DACFA0

Accessibility & contrast

On white

2.53
#B8A248 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.30
#B8A248 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8A248
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8A248#FFFFFF#000000##000000
##B8A2481.002.538.308.30
#FFFFFF2.531.0021.0021.00
#0000008.3021.001.001.00
##0000008.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19F3E
Deuteranopia (green-blind)
#B7A64C
Tritanopia (blue-blind)
#C6978E
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #b8a248;
/* rgb */ color: rgb(184, 162, 72);
/* oklch */ color: oklch(71.4% 0.113 95.6);
Tailwind
colors: {
  custom: {
    50: '#d0bd7e',
    500: '#b8a248',
    950: '#000000',
  },
}
SCSS
$custom: #b8a248;
$custom-light: #d0bd7e;
$custom-dark: #000000;
JSON
{
  "hex": "#b8a248",
  "rgb": {
    "r": 184,
    "g": 162,
    "b": 72
  },
  "hsl": {
    "h": 48.214,
    "s": 44.094,
    "l": 50.196
  },
  "oklch": {
    "l": 0.71371,
    "c": 0.1128,
    "h": 95.6
  },
  "luminance": 0.36499
}

Semantic roles & 50–950 ramp

primary
#B8A248
secondary
#959FC7
accent
#6DD454
background
#FDFBF7
surface
#FAF6EE
border
#D3D0C9
text
#14120A
muted
#83817C

Preview Lab

Preview with #B8A248

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

Preview Lab → · Contrast checker → · Palette generator →

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