#B8B333#B8B333

#B8B333 is a light, vivid yellow. Relative luminance 0.427; OKLCH L 74.8% C 0.144 H 107.1°. Best body text is #000000 at 9.53:1 contrast (WCAG AA passes).

Color values

HEX#B8B333
RGBrgb(184, 179, 51)
HSLhsl(58, 57%, 46%)
HSVhsv(58, 72%, 72%)
CMYKcmyk(0%, 2.7%, 72.3%, 27.8%)
CIE-LABlab(71.33, -13.04, 62.03)
CIE-LCHlch(71.33, 63.39, 101.87°)
OKLaboklab(74.84% -0.0423 0.1371)
OKLCHoklch(74.84% 0.144 107.1)
XYZxyz(36.4862, 42.6708, 9.4457)
Luminance0.4267 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8B333 #3338B8
analogous
#B87033 #B8B333 #7AB833
triadic
#B8B333 #33B8B3 #B333B8
tetradic
#B8B333 #33B870 #3338B8 #B8337A
square
#B8B333 #33B870 #3338B8 #B8337A
split-complementary
#B8B333 #337AB8 #7033B8
monochromatic
#585618 #888426 #B8B333 #D1CC58 #DEDB88

Accessibility & contrast

On white

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

On black

9.53
#B8B333 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8B333
9.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8B333#FFFFFF#000000##000000
##B8B3331.002.209.539.53
#FFFFFF2.201.0021.0021.00
#0000009.5321.001.001.00
##0000009.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AC1B
Deuteranopia (green-blind)
#C5B13C
Tritanopia (blue-blind)
#C5A79A
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #b8b333;
/* rgb */ color: rgb(184, 179, 51);
/* oklch */ color: oklch(74.8% 0.144 107.1);
Tailwind
colors: {
  custom: {
    50: '#d1c974',
    500: '#b8b333',
    950: '#000000',
  },
}
SCSS
$custom: #b8b333;
$custom-light: #d1c974;
$custom-dark: #000000;
JSON
{
  "hex": "#b8b333",
  "rgb": {
    "r": 184,
    "g": 179,
    "b": 51
  },
  "hsl": {
    "h": 57.744,
    "s": 56.596,
    "l": 46.078
  },
  "oklch": {
    "l": 0.74838,
    "c": 0.14351,
    "h": 107.1
  },
  "luminance": 0.4267
}

Semantic roles & 50–950 ramp

primary
#B8B333
secondary
#7F82C8
accent
#4EE048
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141309
muted
#83827B

Preview Lab

Preview with #B8B333

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

Preview Lab → · Contrast checker → · Palette generator →

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