#B8B833#B8B833

#B8B833 is a light, vivid yellow. Relative luminance 0.447; OKLCH L 75.9% C 0.148 H 109.5°. Best body text is #000000 at 9.94:1 contrast (WCAG AA passes).

Color values

HEX#B8B833
RGBrgb(184, 184, 51)
HSLhsl(60, 57%, 46%)
HSVhsv(60, 72%, 72%)
CMYKcmyk(0%, 0%, 72.3%, 27.8%)
CIE-LABlab(72.70, -15.59, 63.35)
CIE-LCHlch(72.70, 65.24, 103.83°)
OKLaboklab(75.93% -0.0494 0.1399)
OKLCHoklch(75.93% 0.148 109.5)
XYZxyz(37.5065, 44.7115, 9.7858)
Luminance0.4471 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8B833 #3333B8
analogous
#B87533 #B8B833 #75B833
triadic
#B8B833 #33B8B8 #B833B8
tetradic
#B8B833 #33B875 #3333B8 #B83375
square
#B8B833 #33B875 #3333B8 #B83375
split-complementary
#B8B833 #3375B8 #7533B8
monochromatic
#585818 #888826 #B8B833 #D1D158 #DEDE88

Accessibility & contrast

On white

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

On black

9.94
#B8B833 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8B833
9.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8B833#FFFFFF#000000##000000
##B8B8331.002.119.949.94
#FFFFFF2.111.0021.0021.00
#0000009.9421.001.001.00
##0000009.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B019
Deuteranopia (green-blind)
#C9B43D
Tritanopia (blue-blind)
#C5AC9E
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #b8b833;
/* rgb */ color: rgb(184, 184, 51);
/* oklch */ color: oklch(75.9% 0.148 109.5);
Tailwind
colors: {
  custom: {
    50: '#d1cd74',
    500: '#b8b833',
    950: '#000000',
  },
}
SCSS
$custom: #b8b833;
$custom-light: #d1cd74;
$custom-dark: #000000;
JSON
{
  "hex": "#b8b833",
  "rgb": {
    "r": 184,
    "g": 184,
    "b": 51
  },
  "hsl": {
    "h": 60,
    "s": 56.596,
    "l": 46.078
  },
  "oklch": {
    "l": 0.75931,
    "c": 0.14838,
    "h": 109.5
  },
  "luminance": 0.4471
}

Semantic roles & 50–950 ramp

primary
#B8B833
secondary
#7F7FC8
accent
#48E048
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141309
muted
#83827B

Preview Lab

Preview with #B8B833

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

Preview Lab → · Contrast checker → · Palette generator →

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