#B8B33B#B8B33B

#B8B33B is a light, vivid yellow. Relative luminance 0.427; OKLCH L 74.9% C 0.138 H 107.0°. Best body text is #000000 at 9.55:1 contrast (WCAG AA passes).

Color values

HEX#B8B33B
RGBrgb(184, 179, 59)
HSLhsl(58, 51%, 48%)
HSVhsv(58, 68%, 72%)
CMYKcmyk(0%, 2.7%, 67.9%, 27.8%)
CIE-LABlab(71.38, -12.63, 59.07)
CIE-LCHlch(71.38, 60.41, 102.07°)
OKLaboklab(74.9% -0.0403 0.1323)
OKLCHoklch(74.9% 0.138 107)
XYZxyz(36.6780, 42.7475, 10.4559)
Luminance0.4275 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8B33B #3B40B8
analogous
#B8743B #B8B33B #7EB83B
triadic
#B8B33B #3BB8B3 #B33BB8
tetradic
#B8B33B #3BB874 #3B40B8 #B83B7E
square
#B8B33B #3BB874 #3B40B8 #B83B7E
split-complementary
#B8B33B #3B7EB8 #743BB8
monochromatic
#5B591D #8A862C #B8B33B #CDC963 #DCD992

Accessibility & contrast

On white

2.20
#B8B33B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.55
#B8B33B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8B33B
9.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8B33B#FFFFFF#000000##000000
##B8B33B1.002.209.559.55
#FFFFFF2.201.0021.0021.00
#0000009.5521.001.001.00
##0000009.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AC29
Deuteranopia (green-blind)
#C4B143
Tritanopia (blue-blind)
#C5A79B
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #b8b33b;
/* rgb */ color: rgb(184, 179, 59);
/* oklch */ color: oklch(74.9% 0.138 107.0);
Tailwind
colors: {
  custom: {
    50: '#d1c978',
    500: '#b8b33b',
    950: '#000000',
  },
}
SCSS
$custom: #b8b33b;
$custom-light: #d1c978;
$custom-dark: #000000;
JSON
{
  "hex": "#b8b33b",
  "rgb": {
    "r": 184,
    "g": 179,
    "b": 59
  },
  "hsl": {
    "h": 57.6,
    "s": 51.44,
    "l": 47.647
  },
  "oklch": {
    "l": 0.74896,
    "c": 0.1383,
    "h": 107
  },
  "luminance": 0.42746
}

Semantic roles & 50–950 ramp

primary
#B8B33B
secondary
#888AC7
accent
#53DB4D
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#141309
muted
#83827B

Preview Lab

Preview with #B8B33B

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

Preview Lab → · Contrast checker → · Palette generator →

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