#B4B733#B4B733

#B4B733 is a light, vivid yellow. Relative luminance 0.438; OKLCH L 75.4% C 0.148 H 110.8°. Best body text is #000000 at 9.76:1 contrast (WCAG AA passes).

Color values

HEX#B4B733
RGBrgb(180, 183, 51)
HSLhsl(61, 56%, 46%)
HSVhsv(61, 72%, 72%)
CMYKcmyk(1.6%, 0%, 72.1%, 28.2%)
CIE-LABlab(72.10, -16.80, 62.66)
CIE-LCHlch(72.10, 64.87, 105.01°)
OKLaboklab(75.37% -0.0526 0.1386)
OKLCHoklch(75.37% 0.148 110.8)
XYZxyz(36.3547, 43.8103, 9.6725)
Luminance0.4381 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4B733 #3633B7
analogous
#B77833 #B4B733 #72B733
triadic
#B4B733 #33B4B7 #B733B4
tetradic
#B4B733 #33B778 #3633B7 #B73372
square
#B4B733 #33B778 #3633B7 #B73372
split-complementary
#B4B733 #3372B7 #7833B7
monochromatic
#565718 #858726 #B4B733 #CDD057 #DCDE87

Accessibility & contrast

On white

2.15
#B4B733 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.76
#B4B733 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4B733
9.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4B733#FFFFFF#000000##000000
##B4B7331.002.159.769.76
#FFFFFF2.151.0021.0021.00
#0000009.7621.001.001.00
##0000009.7621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b4b733;
/* rgb */ color: rgb(180, 183, 51);
/* oklch */ color: oklch(75.4% 0.148 110.8);
Tailwind
colors: {
  custom: {
    50: '#cecc74',
    500: '#b4b733',
    950: '#000000',
  },
}
SCSS
$custom: #b4b733;
$custom-light: #cecc74;
$custom-dark: #000000;
JSON
{
  "hex": "#b4b733",
  "rgb": {
    "r": 180,
    "g": 183,
    "b": 51
  },
  "hsl": {
    "h": 61.364,
    "s": 56.41,
    "l": 45.882
  },
  "oklch": {
    "l": 0.75373,
    "c": 0.14824,
    "h": 110.8
  },
  "luminance": 0.43809
}

Semantic roles & 50–950 ramp

primary
#B4B733
secondary
#807FC7
accent
#48E04C
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141309
muted
#83827B

Preview Lab

Preview with #B4B733

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

Preview Lab → · Contrast checker → · Palette generator →

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