#B8B352#B8B352

#B8B352 is a light, moderate yellow. Relative luminance 0.430; OKLCH L 75.1% C 0.120 H 106.2°. Best body text is #000000 at 9.61:1 contrast (WCAG AA passes).

Color values

HEX#B8B352
RGBrgb(184, 179, 82)
HSLhsl(57, 42%, 52%)
HSVhsv(57, 55%, 72%)
CMYKcmyk(0%, 2.7%, 55.4%, 27.8%)
CIE-LABlab(71.58, -11.08, 49.30)
CIE-LCHlch(71.58, 50.53, 102.67°)
OKLaboklab(75.12% -0.0334 0.1148)
OKLCHoklch(75.12% 0.12 106.2)
XYZxyz(37.4114, 43.0409, 14.3180)
Luminance0.4304 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8B352 #5257B8
analogous
#B88052 #B8B352 #8AB852
triadic
#B8B352 #52B8B3 #B352B8
tetradic
#B8B352 #52B880 #5257B8 #B8528A
square
#B8B352 #52B880 #5257B8 #B8528A
split-complementary
#B8B352 #528AB8 #8052B8
monochromatic
#66632A #918D3C #B8B352 #CAC67D #DCD9A9

Accessibility & contrast

On white

2.19
#B8B352 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.61
#B8B352 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8B352
9.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8B352#FFFFFF#000000##000000
##B8B3521.002.199.619.61
#FFFFFF2.191.0021.0021.00
#0000009.6121.001.001.00
##0000009.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AD48
Deuteranopia (green-blind)
#C3B157
Tritanopia (blue-blind)
#C4A99E
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #b8b352;
/* rgb */ color: rgb(184, 179, 82);
/* oklch */ color: oklch(75.1% 0.120 106.2);
Tailwind
colors: {
  custom: {
    50: '#d0c986',
    500: '#b8b352',
    950: '#000000',
  },
}
SCSS
$custom: #b8b352;
$custom-light: #d0c986;
$custom-dark: #000000;
JSON
{
  "hex": "#b8b352",
  "rgb": {
    "r": 184,
    "g": 179,
    "b": 82
  },
  "hsl": {
    "h": 57.059,
    "s": 41.803,
    "l": 52.157
  },
  "oklch": {
    "l": 0.75119,
    "c": 0.11955,
    "h": 106.2
  },
  "luminance": 0.4304
}

Semantic roles & 50–950 ramp

primary
#B8B352
secondary
#9D9FC9
accent
#5CD256
background
#FDFCF8
surface
#FAF8EF
border
#D3D1CA
text
#14130B
muted
#83827C

Preview Lab

Preview with #B8B352

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

Preview Lab → · Contrast checker → · Palette generator →

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