#B4B433#B4B433

#B4B433 is a light, vivid yellow. Relative luminance 0.426; OKLCH L 74.7% C 0.145 H 109.5°. Best body text is #000000 at 9.52:1 contrast (WCAG AA passes).

Color values

HEX#B4B433
RGBrgb(180, 180, 51)
HSLhsl(60, 56%, 45%)
HSVhsv(60, 72%, 71%)
CMYKcmyk(0%, 0%, 71.7%, 29.4%)
CIE-LABlab(71.27, -15.28, 61.86)
CIE-LCHlch(71.27, 63.72, 103.87°)
OKLaboklab(74.71% -0.0483 0.1369)
OKLCHoklch(74.71% 0.145 109.5)
XYZxyz(35.7425, 42.5859, 9.4684)
Luminance0.4259 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4B433 #3333B4
analogous
#B47333 #B4B433 #73B433
triadic
#B4B433 #33B4B4 #B433B4
tetradic
#B4B433 #33B473 #3333B4 #B43373
square
#B4B433 #33B473 #3333B4 #B43373
split-complementary
#B4B433 #3373B4 #7333B4
monochromatic
#555518 #848425 #B4B433 #CFCF55 #DCDC85

Accessibility & contrast

On white

2.21
#B4B433 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.52
#B4B433 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4B433
9.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4B433#FFFFFF#000000##000000
##B4B4331.002.219.529.52
#FFFFFF2.211.0021.0021.00
#0000009.5221.001.001.00
##0000009.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AC1B
Deuteranopia (green-blind)
#C4B03D
Tritanopia (blue-blind)
#C1A89B
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #b4b433;
/* rgb */ color: rgb(180, 180, 51);
/* oklch */ color: oklch(74.7% 0.145 109.5);
Tailwind
colors: {
  custom: {
    50: '#ceca74',
    500: '#b4b433',
    950: '#000000',
  },
}
SCSS
$custom: #b4b433;
$custom-light: #ceca74;
$custom-dark: #000000;
JSON
{
  "hex": "#b4b433",
  "rgb": {
    "r": 180,
    "g": 180,
    "b": 51
  },
  "hsl": {
    "h": 60,
    "s": 55.844,
    "l": 45.294
  },
  "oklch": {
    "l": 0.74711,
    "c": 0.14519,
    "h": 109.5
  },
  "luminance": 0.42585
}

Semantic roles & 50–950 ramp

primary
#B4B433
secondary
#7D7DC6
accent
#49DF49
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141309
muted
#83827B

Preview Lab

Preview with #B4B433

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

Preview Lab → · Contrast checker → · Palette generator →

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