#B8B652#B8B652

#B8B652 is a light, vivid yellow. Relative luminance 0.443; OKLCH L 75.8% C 0.123 H 107.9°. Best body text is #000000 at 9.85:1 contrast (WCAG AA passes).

Color values

HEX#B8B652
RGBrgb(184, 182, 82)
HSLhsl(59, 42%, 52%)
HSVhsv(59, 55%, 72%)
CMYKcmyk(0%, 1.1%, 55.4%, 27.8%)
CIE-LABlab(72.40, -12.63, 50.23)
CIE-LCHlch(72.40, 51.79, 104.11°)
OKLaboklab(75.77% -0.0378 0.1168)
OKLCHoklch(75.77% 0.123 107.9)
XYZxyz(38.0192, 44.2565, 14.5206)
Luminance0.4425 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8B652 #5254B8
analogous
#B88352 #B8B652 #87B852
triadic
#B8B652 #52B8B6 #B652B8
tetradic
#B8B652 #52B883 #5254B8 #B85287
square
#B8B652 #52B883 #5254B8 #B85287
split-complementary
#B8B652 #5287B8 #8352B8
monochromatic
#66652A #91903C #B8B652 #CAC87D #DCDBA9

Accessibility & contrast

On white

2.13
#B8B652 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.85
#B8B652 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8B652
9.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8B652#FFFFFF#000000##000000
##B8B6521.002.139.859.85
#FFFFFF2.131.0021.0021.00
#0000009.8521.001.001.00
##0000009.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AF48
Deuteranopia (green-blind)
#C5B357
Tritanopia (blue-blind)
#C4ACA0
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #b8b652;
/* rgb */ color: rgb(184, 182, 82);
/* oklch */ color: oklch(75.8% 0.123 107.9);
Tailwind
colors: {
  custom: {
    50: '#d0cb86',
    500: '#b8b652',
    950: '#000000',
  },
}
SCSS
$custom: #b8b652;
$custom-light: #d0cb86;
$custom-dark: #000000;
JSON
{
  "hex": "#b8b652",
  "rgb": {
    "r": 184,
    "g": 182,
    "b": 82
  },
  "hsl": {
    "h": 58.824,
    "s": 41.803,
    "l": 52.157
  },
  "oklch": {
    "l": 0.75769,
    "c": 0.12275,
    "h": 107.9
  },
  "luminance": 0.44255
}

Semantic roles & 50–950 ramp

primary
#B8B652
secondary
#9D9EC9
accent
#59D256
background
#FDFCF8
surface
#FAF8F0
border
#D3D1CB
text
#14130B
muted
#83827C

Preview Lab

Preview with #B8B652

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

Preview Lab → · Contrast checker → · Palette generator →

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