#B4B028#B4B028

#B4B028 is a light, vivid yellow. Relative luminance 0.409; OKLCH L 73.8% C 0.147 H 107.8°. Best body text is #000000 at 9.18:1 contrast (WCAG AA passes).

Color values

HEX#B4B028
RGBrgb(180, 176, 40)
HSLhsl(58, 64%, 43%)
HSVhsv(58, 78%, 71%)
CMYKcmyk(0%, 2.2%, 77.8%, 29.4%)
CIE-LABlab(70.11, -13.71, 64.45)
CIE-LCHlch(70.11, 65.89, 102.01°)
OKLaboklab(73.77% -0.0449 0.1404)
OKLCHoklch(73.77% 0.147 107.8)
XYZxyz(34.7321, 40.9084, 8.0736)
Luminance0.4091 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4B028 #282CB4
analogous
#B46A28 #B4B028 #72B428
triadic
#B4B028 #28B4B0 #B028B4
tetradic
#B4B028 #28B46A #282CB4 #B42872
square
#B4B028 #28B46A #282CB4 #B42872
split-complementary
#B4B028 #2872B4 #6A28B4
monochromatic
#504E12 #827F1D #B4B028 #D5D144 #E1DD76

Accessibility & contrast

On white

2.29
#B4B028 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.18
#B4B028 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4B028
9.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4B028#FFFFFF#000000##000000
##B4B0281.002.299.189.18
#FFFFFF2.291.0021.0021.00
#0000009.1821.001.001.00
##0000009.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFA900
Deuteranopia (green-blind)
#C2AE34
Tritanopia (blue-blind)
#C1A497
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #b4b028;
/* rgb */ color: rgb(180, 176, 40);
/* oklch */ color: oklch(73.8% 0.147 107.8);
Tailwind
colors: {
  custom: {
    50: '#cec76e',
    500: '#b4b028',
    950: '#000000',
  },
}
SCSS
$custom: #b4b028;
$custom-light: #cec76e;
$custom-dark: #000000;
JSON
{
  "hex": "#b4b028",
  "rgb": {
    "r": 180,
    "g": 176,
    "b": 40
  },
  "hsl": {
    "h": 58.286,
    "s": 63.636,
    "l": 43.137
  },
  "oklch": {
    "l": 0.73765,
    "c": 0.14739,
    "h": 107.8
  },
  "luminance": 0.40907
}

Semantic roles & 50–950 ramp

primary
#B4B028
secondary
#7072C8
accent
#46E741
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141308
muted
#83827B

Preview Lab

Preview with #B4B028

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

Preview Lab → · Contrast checker → · Palette generator →

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