#B4B548#B4B548

#B4B548 is a light, vivid yellow. Relative luminance 0.432; OKLCH L 75.1% C 0.131 H 109.7°. Best body text is #000000 at 9.64:1 contrast (WCAG AA passes).

Color values

HEX#B4B548
RGBrgb(180, 181, 72)
HSLhsl(61, 43%, 50%)
HSVhsv(61, 60%, 71%)
CMYKcmyk(0.6%, 0%, 60.2%, 29%)
CIE-LABlab(71.70, -14.55, 53.89)
CIE-LCHlch(71.70, 55.81, 105.11°)
OKLaboklab(75.1% -0.0441 0.1234)
OKLCHoklch(75.1% 0.131 109.7)
XYZxyz(36.5170, 43.2199, 12.5483)
Luminance0.4322 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4B548 #4948B5
analogous
#B57F48 #B4B548 #7EB548
triadic
#B4B548 #48B4B5 #B548B4
tetradic
#B4B548 #48B57F #4948B5 #B5487E
square
#B4B548 #48B57F #4948B5 #B5487E
split-complementary
#B4B548 #487EB5 #7F48B5
monochromatic
#5D5D25 #888937 #B4B548 #C7C773 #D8D99F

Accessibility & contrast

On white

2.18
#B4B548 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.64
#B4B548 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4B548
9.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4B548#FFFFFF#000000##000000
##B4B5481.002.189.649.64
#FFFFFF2.181.0021.0021.00
#0000009.6421.001.001.00
##0000009.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AE3B
Deuteranopia (green-blind)
#C4B14F
Tritanopia (blue-blind)
#C0AA9E
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #b4b548;
/* rgb */ color: rgb(180, 181, 72);
/* oklch */ color: oklch(75.1% 0.131 109.7);
Tailwind
colors: {
  custom: {
    50: '#cdcb80',
    500: '#b4b548',
    950: '#000000',
  },
}
SCSS
$custom: #b4b548;
$custom-light: #cdcb80;
$custom-dark: #000000;
JSON
{
  "hex": "#b4b548",
  "rgb": {
    "r": 180,
    "g": 181,
    "b": 72
  },
  "hsl": {
    "h": 60.55,
    "s": 43.083,
    "l": 49.608
  },
  "oklch": {
    "l": 0.75104,
    "c": 0.13105,
    "h": 109.7
  },
  "luminance": 0.43219
}

Semantic roles & 50–950 ramp

primary
#B4B548
secondary
#9493C5
accent
#55D356
background
#FCFCF8
surface
#F9F8EF
border
#D2D1CA
text
#14130A
muted
#82827C

Preview Lab

Preview with #B4B548

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

Preview Lab → · Contrast checker → · Palette generator →

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