#B2B933#B2B933

#B2B933 is a light, vivid yellow. Relative luminance 0.444; OKLCH L 75.6% C 0.151 H 112.5°. Best body text is #000000 at 9.88:1 contrast (WCAG AA passes).

Color values

HEX#B2B933
RGBrgb(178, 185, 51)
HSLhsl(63, 57%, 46%)
HSVhsv(63, 72%, 73%)
CMYKcmyk(3.8%, 0%, 72.4%, 27.5%)
CIE-LABlab(72.50, -18.66, 62.98)
CIE-LCHlch(72.50, 65.69, 106.50°)
OKLaboklab(75.65% -0.0577 0.1393)
OKLCHoklch(75.65% 0.151 112.5)
XYZxyz(36.3077, 44.4028, 9.7893)
Luminance0.4440 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2B933 #3A33B9
analogous
#B97D33 #B2B933 #6FB933
triadic
#B2B933 #33B2B9 #B933B2
tetradic
#B2B933 #33B97D #3A33B9 #B9336F
square
#B2B933 #33B97D #3A33B9 #B9336F
split-complementary
#B2B933 #336FB9 #7D33B9
monochromatic
#565919 #848926 #B2B933 #CBD158 #DADE88

Accessibility & contrast

On white

2.13
#B2B933 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.88
#B2B933 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2B933
9.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2B933#FFFFFF#000000##000000
##B2B9331.002.139.889.88
#FFFFFF2.131.0021.0021.00
#0000009.8821.001.001.00
##0000009.8821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b2b933;
/* rgb */ color: rgb(178, 185, 51);
/* oklch */ color: oklch(75.6% 0.151 112.5);
Tailwind
colors: {
  custom: {
    50: '#cccd74',
    500: '#b2b933',
    950: '#000000',
  },
}
SCSS
$custom: #b2b933;
$custom-light: #cccd74;
$custom-dark: #000000;
JSON
{
  "hex": "#b2b933",
  "rgb": {
    "r": 178,
    "g": 185,
    "b": 51
  },
  "hsl": {
    "h": 63.134,
    "s": 56.78,
    "l": 46.275
  },
  "oklch": {
    "l": 0.7565,
    "c": 0.15081,
    "h": 112.5
  },
  "luminance": 0.44402
}

Semantic roles & 50–950 ramp

primary
#B2B933
secondary
#8380C8
accent
#48E050
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141309
muted
#83827B

Preview Lab

Preview with #B2B933

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

Preview Lab → · Contrast checker → · Palette generator →

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