#B7B752#B7B752

#B7B752 is a light, vivid yellow. Relative luminance 0.445; OKLCH L 75.9% C 0.124 H 109.0°. Best body text is #000000 at 9.91:1 contrast (WCAG AA passes).

Color values

HEX#B7B752
RGBrgb(183, 183, 82)
HSLhsl(60, 41%, 52%)
HSVhsv(60, 55%, 72%)
CMYKcmyk(0%, 0%, 55.2%, 28.2%)
CIE-LABlab(72.59, -13.56, 50.43)
CIE-LCHlch(72.59, 52.22, 105.05°)
OKLaboklab(75.9% -0.0404 0.1172)
OKLCHoklch(75.9% 0.124 109)
XYZxyz(37.9859, 44.5444, 14.5779)
Luminance0.4454 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7B752 #5252B7
analogous
#B78552 #B7B752 #85B752
triadic
#B7B752 #52B7B7 #B752B7
tetradic
#B7B752 #52B785 #5252B7 #B75285
square
#B7B752 #52B785 #5252B7 #B75285
split-complementary
#B7B752 #5285B7 #8552B7
monochromatic
#65652A #90903C #B7B752 #C9C97D #DBDBA8

Accessibility & contrast

On white

2.12
#B7B752 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.91
#B7B752 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7B752
9.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7B752#FFFFFF#000000##000000
##B7B7521.002.129.919.91
#FFFFFF2.121.0021.0021.00
#0000009.9121.001.001.00
##0000009.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4B048
Deuteranopia (green-blind)
#C6B458
Tritanopia (blue-blind)
#C3ADA1
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #b7b752;
/* rgb */ color: rgb(183, 183, 82);
/* oklch */ color: oklch(75.9% 0.124 109.0);
Tailwind
colors: {
  custom: {
    50: '#cfcc86',
    500: '#b7b752',
    950: '#000000',
  },
}
SCSS
$custom: #b7b752;
$custom-light: #cfcc86;
$custom-dark: #000000;
JSON
{
  "hex": "#b7b752",
  "rgb": {
    "r": 183,
    "g": 183,
    "b": 82
  },
  "hsl": {
    "h": 60,
    "s": 41.224,
    "l": 51.961
  },
  "oklch": {
    "l": 0.75902,
    "c": 0.12399,
    "h": 109
  },
  "luminance": 0.44543
}

Semantic roles & 50–950 ramp

primary
#B7B752
secondary
#9C9CC9
accent
#57D157
background
#FDFCF8
surface
#FAF8F0
border
#D3D1CB
text
#14130B
muted
#83827C

Preview Lab

Preview with #B7B752

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

Preview Lab → · Contrast checker → · Palette generator →

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