#B4B533#B4B533

#B4B533 is a light, vivid yellow. Relative luminance 0.430; OKLCH L 74.9% C 0.146 H 109.9°. Best body text is #000000 at 9.60:1 contrast (WCAG AA passes).

Color values

HEX#B4B533
RGBrgb(180, 181, 51)
HSLhsl(60, 56%, 45%)
HSVhsv(60, 72%, 71%)
CMYKcmyk(0.6%, 0%, 71.8%, 29%)
CIE-LABlab(71.55, -15.79, 62.13)
CIE-LCHlch(71.55, 64.10, 104.26°)
OKLaboklab(74.93% -0.0498 0.1375)
OKLCHoklch(74.93% 0.146 109.9)
XYZxyz(35.9451, 42.9911, 9.5360)
Luminance0.4299 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4B533 #3433B5
analogous
#B57533 #B4B533 #73B533
triadic
#B4B533 #33B4B5 #B533B4
tetradic
#B4B533 #33B575 #3433B5 #B53373
square
#B4B533 #33B575 #3433B5 #B53373
split-complementary
#B4B533 #3373B5 #7533B5
monochromatic
#555618 #858526 #B4B533 #CECF56 #DCDD86

Accessibility & contrast

On white

2.19
#B4B533 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.60
#B4B533 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4B533
9.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4B533#FFFFFF#000000##000000
##B4B5331.002.199.609.60
#FFFFFF2.191.0021.0021.00
#0000009.6021.001.001.00
##0000009.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4AD1B
Deuteranopia (green-blind)
#C5B13D
Tritanopia (blue-blind)
#C1A99C
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #b4b533;
/* rgb */ color: rgb(180, 181, 51);
/* oklch */ color: oklch(74.9% 0.146 109.9);
Tailwind
colors: {
  custom: {
    50: '#ceca74',
    500: '#b4b533',
    950: '#000000',
  },
}
SCSS
$custom: #b4b533;
$custom-light: #ceca74;
$custom-dark: #000000;
JSON
{
  "hex": "#b4b533",
  "rgb": {
    "r": 180,
    "g": 181,
    "b": 51
  },
  "hsl": {
    "h": 60.462,
    "s": 56.034,
    "l": 45.49
  },
  "oklch": {
    "l": 0.74931,
    "c": 0.1462,
    "h": 109.9
  },
  "luminance": 0.4299
}

Semantic roles & 50–950 ramp

primary
#B4B533
secondary
#7E7DC6
accent
#48DF4A
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141309
muted
#83827B

Preview Lab

Preview with #B4B533

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

Preview Lab → · Contrast checker → · Palette generator →

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