#B4B428#B4B428

#B4B428 is a light, vivid yellow. Relative luminance 0.425; OKLCH L 74.6% C 0.151 H 109.6°. Best body text is #000000 at 9.50:1 contrast (WCAG AA passes).

Color values

HEX#B4B428
RGBrgb(180, 180, 40)
HSLhsl(60, 64%, 43%)
HSVhsv(60, 78%, 71%)
CMYKcmyk(0%, 0%, 77.8%, 29.4%)
CIE-LABlab(71.21, -15.75, 65.44)
CIE-LCHlch(71.21, 67.30, 103.53°)
OKLaboklab(74.65% -0.0506 0.1425)
OKLCHoklch(74.65% 0.151 109.6)
XYZxyz(35.5280, 42.5001, 8.3389)
Luminance0.4250 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4B428 #2828B4
analogous
#B46E28 #B4B428 #6EB428
triadic
#B4B428 #28B4B4 #B428B4
tetradic
#B4B428 #28B46E #2828B4 #B4286E
square
#B4B428 #28B46E #2828B4 #B4286E
split-complementary
#B4B428 #286EB4 #6E28B4
monochromatic
#505012 #82821D #B4B428 #D5D544 #E1E176

Accessibility & contrast

On white

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

On black

9.50
#B4B428 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4B428
9.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4B428#FFFFFF#000000##000000
##B4B4281.002.219.509.50
#FFFFFF2.211.0021.0021.00
#0000009.5021.001.001.00
##0000009.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AC00
Deuteranopia (green-blind)
#C5B034
Tritanopia (blue-blind)
#C1A89A
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #b4b428;
/* rgb */ color: rgb(180, 180, 40);
/* oklch */ color: oklch(74.6% 0.151 109.6);
Tailwind
colors: {
  custom: {
    50: '#ceca6f',
    500: '#b4b428',
    950: '#000000',
  },
}
SCSS
$custom: #b4b428;
$custom-light: #ceca6f;
$custom-dark: #000000;
JSON
{
  "hex": "#b4b428",
  "rgb": {
    "r": 180,
    "g": 180,
    "b": 40
  },
  "hsl": {
    "h": 60,
    "s": 63.636,
    "l": 43.137
  },
  "oklch": {
    "l": 0.74645,
    "c": 0.15122,
    "h": 109.6
  },
  "luminance": 0.42499
}

Semantic roles & 50–950 ramp

primary
#B4B428
secondary
#7070C8
accent
#41E741
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141308
muted
#83827B

Preview Lab

Preview with #B4B428

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

Preview Lab → · Contrast checker → · Palette generator →

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