#B2B733#B2B733

#B2B733 is a light, vivid yellow. Relative luminance 0.436; OKLCH L 75.2% C 0.149 H 111.7°. Best body text is #000000 at 9.71:1 contrast (WCAG AA passes).

Color values

HEX#B2B733
RGBrgb(178, 183, 51)
HSLhsl(62, 56%, 46%)
HSVhsv(62, 72%, 72%)
CMYKcmyk(2.7%, 0%, 72.1%, 28.2%)
CIE-LABlab(71.94, -17.66, 62.45)
CIE-LCHlch(71.94, 64.90, 105.79°)
OKLaboklab(75.21% -0.0549 0.1382)
OKLCHoklch(75.21% 0.149 111.7)
XYZxyz(35.8923, 43.5719, 9.6508)
Luminance0.4357 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2B733 #3833B7
analogous
#B77A33 #B2B733 #70B733
triadic
#B2B733 #33B2B7 #B733B2
tetradic
#B2B733 #33B77A #3833B7 #B73370
square
#B2B733 #33B77A #3833B7 #B73370
split-complementary
#B2B733 #3370B7 #7A33B7
monochromatic
#555718 #838726 #B2B733 #CCD057 #DADE87

Accessibility & contrast

On white

2.16
#B2B733 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.71
#B2B733 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2B733
9.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2B733#FFFFFF#000000##000000
##B2B7331.002.169.719.71
#FFFFFF2.161.0021.0021.00
#0000009.7121.001.001.00
##0000009.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5AF1A
Deuteranopia (green-blind)
#C6B23D
Tritanopia (blue-blind)
#BEAC9E
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #b2b733;
/* rgb */ color: rgb(178, 183, 51);
/* oklch */ color: oklch(75.2% 0.149 111.7);
Tailwind
colors: {
  custom: {
    50: '#cccc74',
    500: '#b2b733',
    950: '#000000',
  },
}
SCSS
$custom: #b2b733;
$custom-light: #cccc74;
$custom-dark: #000000;
JSON
{
  "hex": "#b2b733",
  "rgb": {
    "r": 178,
    "g": 183,
    "b": 51
  },
  "hsl": {
    "h": 62.273,
    "s": 56.41,
    "l": 45.882
  },
  "oklch": {
    "l": 0.75205,
    "c": 0.14871,
    "h": 111.7
  },
  "luminance": 0.43571
}

Semantic roles & 50–950 ramp

primary
#B2B733
secondary
#817FC7
accent
#48E04E
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141309
muted
#83827B

Preview Lab

Preview with #B2B733

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

Preview Lab → · Contrast checker → · Palette generator →

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