#B8B751#B8B751

#B8B751 is a light, vivid yellow. Relative luminance 0.447; OKLCH L 76.0% C 0.125 H 108.5°. Best body text is #000000 at 9.93:1 contrast (WCAG AA passes).

Color values

HEX#B8B751
RGBrgb(184, 183, 81)
HSLhsl(59, 42%, 52%)
HSVhsv(59, 56%, 72%)
CMYKcmyk(0%, 0.5%, 56%, 27.8%)
CIE-LABlab(72.66, -13.22, 50.99)
CIE-LCHlch(72.66, 52.68, 104.53°)
OKLaboklab(75.98% -0.0396 0.1183)
OKLCHoklch(75.98% 0.125 108.5)
XYZxyz(38.1869, 44.6524, 14.3902)
Luminance0.4465 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8B751 #5152B8
analogous
#B88351 #B8B751 #86B851
triadic
#B8B751 #51B8B7 #B751B8
tetradic
#B8B751 #51B883 #5152B8 #B85186
square
#B8B751 #51B883 #5152B8 #B85186
split-complementary
#B8B751 #5186B8 #8351B8
monochromatic
#656529 #91903B #B8B751 #CAC97C #DBDBA8

Accessibility & contrast

On white

2.11
#B8B751 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.93
#B8B751 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8B751
9.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8B751#FFFFFF#000000##000000
##B8B7511.002.119.939.93
#FFFFFF2.111.0021.0021.00
#0000009.9321.001.001.00
##0000009.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4B046
Deuteranopia (green-blind)
#C6B457
Tritanopia (blue-blind)
#C4ADA1
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #b8b751;
/* rgb */ color: rgb(184, 183, 81);
/* oklch */ color: oklch(76.0% 0.125 108.5);
Tailwind
colors: {
  custom: {
    50: '#d0cc85',
    500: '#b8b751',
    950: '#000000',
  },
}
SCSS
$custom: #b8b751;
$custom-light: #d0cc85;
$custom-dark: #000000;
JSON
{
  "hex": "#b8b751",
  "rgb": {
    "r": 184,
    "g": 183,
    "b": 81
  },
  "hsl": {
    "h": 59.417,
    "s": 42.041,
    "l": 51.961
  },
  "oklch": {
    "l": 0.75976,
    "c": 0.12476,
    "h": 108.5
  },
  "luminance": 0.44651
}

Semantic roles & 50–950 ramp

primary
#B8B751
secondary
#9C9CC9
accent
#57D256
background
#FDFCF8
surface
#FAF8EF
border
#D3D1CA
text
#14130B
muted
#83827C

Preview Lab

Preview with #B8B751

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

Preview Lab → · Contrast checker → · Palette generator →

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