#B4B430#B4B430

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

Color values

HEX#B4B430
RGBrgb(180, 180, 48)
HSLhsl(60, 58%, 45%)
HSVhsv(60, 73%, 71%)
CMYKcmyk(0%, 0%, 73.3%, 29.4%)
CIE-LABlab(71.26, -15.42, 62.90)
CIE-LCHlch(71.26, 64.76, 103.77°)
OKLaboklab(74.69% -0.049 0.1386)
OKLCHoklch(74.69% 0.147 109.5)
XYZxyz(35.6784, 42.5603, 9.1313)
Luminance0.4256 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4B430 #3030B4
analogous
#B47230 #B4B430 #72B430
triadic
#B4B430 #30B4B4 #B430B4
tetradic
#B4B430 #30B472 #3030B4 #B43072
square
#B4B430 #30B472 #3030B4 #B43072
split-complementary
#B4B430 #3072B4 #7230B4
monochromatic
#535316 #848423 #B4B430 #D1D151 #DDDD81

Accessibility & contrast

On white

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

On black

9.51
#B4B430 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4B430
9.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4B430#FFFFFF#000000##000000
##B4B4301.002.219.519.51
#FFFFFF2.211.0021.0021.00
#0000009.5121.001.001.00
##0000009.5121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b4b430;
/* rgb */ color: rgb(180, 180, 48);
/* oklch */ color: oklch(74.7% 0.147 109.5);
Tailwind
colors: {
  custom: {
    50: '#ceca72',
    500: '#b4b430',
    950: '#000000',
  },
}
SCSS
$custom: #b4b430;
$custom-light: #ceca72;
$custom-dark: #000000;
JSON
{
  "hex": "#b4b430",
  "rgb": {
    "r": 180,
    "g": 180,
    "b": 48
  },
  "hsl": {
    "h": 60,
    "s": 57.895,
    "l": 44.706
  },
  "oklch": {
    "l": 0.74691,
    "c": 0.14697,
    "h": 109.5
  },
  "luminance": 0.42559
}

Semantic roles & 50–950 ramp

primary
#B4B430
secondary
#7979C6
accent
#47E147
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141308
muted
#83827B

Preview Lab

Preview with #B4B430

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

Preview Lab → · Contrast checker → · Palette generator →

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