#B7B552#B7B552

#B7B552 is a light, vivid yellow. Relative luminance 0.437; OKLCH L 75.5% C 0.122 H 107.9°. Best body text is #000000 at 9.74:1 contrast (WCAG AA passes).

Color values

HEX#B7B552
RGBrgb(183, 181, 82)
HSLhsl(59, 41%, 52%)
HSVhsv(59, 55%, 72%)
CMYKcmyk(0%, 1.1%, 55.2%, 28.2%)
CIE-LABlab(72.04, -12.53, 49.81)
CIE-LCHlch(72.04, 51.36, 104.13°)
OKLaboklab(75.47% -0.0375 0.1159)
OKLCHoklch(75.47% 0.122 107.9)
XYZxyz(37.5763, 43.7253, 14.4414)
Luminance0.4372 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7B552 #5254B7
analogous
#B78352 #B7B552 #87B752
triadic
#B7B552 #52B7B5 #B552B7
tetradic
#B7B552 #52B783 #5254B7 #B75287
square
#B7B552 #52B783 #5254B7 #B75287
split-complementary
#B7B552 #5287B7 #8352B7
monochromatic
#65642A #908E3C #B7B552 #C9C77D #DBDAA8

Accessibility & contrast

On white

2.15
#B7B552 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.74
#B7B552 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7B552
9.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7B552#FFFFFF#000000##000000
##B7B5521.002.159.749.74
#FFFFFF2.151.0021.0021.00
#0000009.7421.001.001.00
##0000009.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AE48
Deuteranopia (green-blind)
#C4B257
Tritanopia (blue-blind)
#C3AB9F
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #b7b552;
/* rgb */ color: rgb(183, 181, 82);
/* oklch */ color: oklch(75.5% 0.122 107.9);
Tailwind
colors: {
  custom: {
    50: '#cfcb86',
    500: '#b7b552',
    950: '#000000',
  },
}
SCSS
$custom: #b7b552;
$custom-light: #cfcb86;
$custom-dark: #000000;
JSON
{
  "hex": "#b7b552",
  "rgb": {
    "r": 183,
    "g": 181,
    "b": 82
  },
  "hsl": {
    "h": 58.812,
    "s": 41.224,
    "l": 51.961
  },
  "oklch": {
    "l": 0.75466,
    "c": 0.12181,
    "h": 107.9
  },
  "luminance": 0.43724
}

Semantic roles & 50–950 ramp

primary
#B7B552
secondary
#9C9DC9
accent
#59D157
background
#FDFCF8
surface
#FAF8F0
border
#D3D1CB
text
#14130B
muted
#83827C

Preview Lab

Preview with #B7B552

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

Preview Lab → · Contrast checker → · Palette generator →

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