#B2B333#B2B333

#B2B333 is a light, vivid yellow. Relative luminance 0.419; OKLCH L 74.3% C 0.145 H 109.9°. Best body text is #000000 at 9.39:1 contrast (WCAG AA passes).

Color values

HEX#B2B333
RGBrgb(178, 179, 51)
HSLhsl(60, 56%, 45%)
HSVhsv(60, 72%, 70%)
CMYKcmyk(0.6%, 0%, 71.5%, 29.8%)
CIE-LABlab(70.83, -15.63, 61.38)
CIE-LCHlch(70.83, 63.34, 104.28°)
OKLaboklab(74.32% -0.0492 0.136)
OKLCHoklch(74.32% 0.145 109.9)
XYZxyz(35.0790, 41.9452, 9.3797)
Luminance0.4194 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2B333 #3433B3
analogous
#B37433 #B2B333 #72B333
triadic
#B2B333 #33B2B3 #B333B2
tetradic
#B2B333 #33B374 #3433B3 #B33372
square
#B2B333 #33B374 #3433B3 #B33372
split-complementary
#B2B333 #3372B3 #7433B3
monochromatic
#535418 #838325 #B2B333 #CECE55 #DBDC84

Accessibility & contrast

On white

2.24
#B2B333 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.39
#B2B333 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2B333
9.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2B333#FFFFFF#000000##000000
##B2B3331.002.249.399.39
#FFFFFF2.241.0021.0021.00
#0000009.3921.001.001.00
##0000009.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AB1C
Deuteranopia (green-blind)
#C3AF3D
Tritanopia (blue-blind)
#BFA89A
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #b2b333;
/* rgb */ color: rgb(178, 179, 51);
/* oklch */ color: oklch(74.3% 0.145 109.9);
Tailwind
colors: {
  custom: {
    50: '#ccc974',
    500: '#b2b333',
    950: '#000000',
  },
}
SCSS
$custom: #b2b333;
$custom-light: #ccc974;
$custom-dark: #000000;
JSON
{
  "hex": "#b2b333",
  "rgb": {
    "r": 178,
    "g": 179,
    "b": 51
  },
  "hsl": {
    "h": 60.469,
    "s": 55.652,
    "l": 45.098
  },
  "oklch": {
    "l": 0.74319,
    "c": 0.1446,
    "h": 109.9
  },
  "luminance": 0.41944
}

Semantic roles & 50–950 ramp

primary
#B2B333
secondary
#7D7CC6
accent
#49DF4A
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141309
muted
#83827B

Preview Lab

Preview with #B2B333

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

Preview Lab → · Contrast checker → · Palette generator →

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