#B2B433#B2B433

#B2B433 is a light, vivid yellow. Relative luminance 0.423; OKLCH L 74.5% C 0.146 H 110.4°. Best body text is #000000 at 9.47:1 contrast (WCAG AA passes).

Color values

HEX#B2B433
RGBrgb(178, 180, 51)
HSLhsl(61, 56%, 45%)
HSVhsv(61, 72%, 71%)
CMYKcmyk(1.1%, 0%, 71.7%, 29.4%)
CIE-LABlab(71.11, -16.14, 61.65)
CIE-LCHlch(71.11, 63.73, 104.67°)
OKLaboklab(74.54% -0.0506 0.1365)
OKLCHoklch(74.54% 0.146 110.4)
XYZxyz(35.2801, 42.3475, 9.4468)
Luminance0.4235 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2B433 #3533B4
analogous
#B47533 #B2B433 #72B433
triadic
#B2B433 #33B2B4 #B433B2
tetradic
#B2B433 #33B475 #3533B4 #B43372
square
#B2B433 #33B475 #3533B4 #B43372
split-complementary
#B2B433 #3372B4 #7533B4
monochromatic
#545518 #838425 #B2B433 #CDCF55 #DBDC85

Accessibility & contrast

On white

2.22
#B2B433 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.47
#B2B433 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2B433
9.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2B433#FFFFFF#000000##000000
##B2B4331.002.229.479.47
#FFFFFF2.221.0021.0021.00
#0000009.4721.001.001.00
##0000009.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AC1B
Deuteranopia (green-blind)
#C3B03D
Tritanopia (blue-blind)
#BFA99B
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #b2b433;
/* rgb */ color: rgb(178, 180, 51);
/* oklch */ color: oklch(74.5% 0.146 110.4);
Tailwind
colors: {
  custom: {
    50: '#ccca74',
    500: '#b2b433',
    950: '#000000',
  },
}
SCSS
$custom: #b2b433;
$custom-light: #ccca74;
$custom-dark: #000000;
JSON
{
  "hex": "#b2b433",
  "rgb": {
    "r": 178,
    "g": 180,
    "b": 51
  },
  "hsl": {
    "h": 60.93,
    "s": 55.844,
    "l": 45.294
  },
  "oklch": {
    "l": 0.7454,
    "c": 0.14561,
    "h": 110.4
  },
  "luminance": 0.42347
}

Semantic roles & 50–950 ramp

primary
#B2B433
secondary
#7E7DC6
accent
#49DF4B
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141309
muted
#83827B

Preview Lab

Preview with #B2B433

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

Preview Lab → · Contrast checker → · Palette generator →

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