#B8B733#B8B733

#B8B733 is a light, vivid yellow. Relative luminance 0.443; OKLCH L 75.7% C 0.147 H 109.0°. Best body text is #000000 at 9.86:1 contrast (WCAG AA passes).

Color values

HEX#B8B733
RGBrgb(184, 183, 51)
HSLhsl(60, 57%, 46%)
HSVhsv(60, 72%, 72%)
CMYKcmyk(0%, 0.5%, 72.3%, 27.8%)
CIE-LABlab(72.43, -15.09, 63.08)
CIE-LCHlch(72.43, 64.86, 103.45°)
OKLaboklab(75.71% -0.048 0.1394)
OKLCHoklch(75.71% 0.147 109)
XYZxyz(37.2996, 44.2975, 9.7168)
Luminance0.4430 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8B733 #3334B8
analogous
#B87433 #B8B733 #76B833
triadic
#B8B733 #33B8B7 #B733B8
tetradic
#B8B733 #33B874 #3334B8 #B83376
square
#B8B733 #33B874 #3334B8 #B83376
split-complementary
#B8B733 #3376B8 #7433B8
monochromatic
#585818 #888726 #B8B733 #D1D058 #DEDD88

Accessibility & contrast

On white

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

On black

9.86
#B8B733 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8B733
9.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8B733#FFFFFF#000000##000000
##B8B7331.002.139.869.86
#FFFFFF2.131.0021.0021.00
#0000009.8621.001.001.00
##0000009.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6AF1A
Deuteranopia (green-blind)
#C8B43D
Tritanopia (blue-blind)
#C5AB9E
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #b8b733;
/* rgb */ color: rgb(184, 183, 51);
/* oklch */ color: oklch(75.7% 0.147 109.0);
Tailwind
colors: {
  custom: {
    50: '#d1cc74',
    500: '#b8b733',
    950: '#000000',
  },
}
SCSS
$custom: #b8b733;
$custom-light: #d1cc74;
$custom-dark: #000000;
JSON
{
  "hex": "#b8b733",
  "rgb": {
    "r": 184,
    "g": 183,
    "b": 51
  },
  "hsl": {
    "h": 59.549,
    "s": 56.596,
    "l": 46.078
  },
  "oklch": {
    "l": 0.75712,
    "c": 0.1474,
    "h": 109
  },
  "luminance": 0.44296
}

Semantic roles & 50–950 ramp

primary
#B8B733
secondary
#7F80C8
accent
#49E048
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141309
muted
#83827B

Preview Lab

Preview with #B8B733

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

Preview Lab → · Contrast checker → · Palette generator →

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