#B4C531#B4C531

#B4C531 is a light, vivid yellow. Relative luminance 0.499; OKLCH L 78.5% C 0.164 H 116.1°. Best body text is #000000 at 10.97:1 contrast (WCAG AA passes).

Color values

HEX#B4C531
RGBrgb(180, 197, 49)
HSLhsl(67, 60%, 48%)
HSVhsv(67, 75%, 77%)
CMYKcmyk(8.6%, 0%, 75.1%, 22.7%)
CIE-LABlab(75.98, -23.84, 67.00)
CIE-LCHlch(75.98, 71.12, 109.59°)
OKLaboklab(78.48% -0.0723 0.1474)
OKLCHoklch(78.48% 0.164 116.1)
XYZxyz(39.3441, 49.8581, 10.4561)
Luminance0.4986 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4C531 #4231C5
analogous
#C58C31 #B4C531 #6AC531
triadic
#B4C531 #31B4C5 #C531B4
tetradic
#B4C531 #31C58C #4231C5 #C5316A
square
#B4C531 #31C58C #4231C5 #C5316A
split-complementary
#B4C531 #316AC5 #8C31C5
monochromatic
#5A6319 #879425 #B4C531 #C9D75D #D9E38E

Accessibility & contrast

On white

1.91
#B4C531 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.97
#B4C531 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4C531
10.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4C531#FFFFFF#000000##000000
##B4C5311.001.9110.9710.97
#FFFFFF1.911.0021.0021.00
#00000010.9721.001.001.00
##00000010.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BB0C
Deuteranopia (green-blind)
#D2BC3E
Tritanopia (blue-blind)
#C0BAA9
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #b4c531;
/* rgb */ color: rgb(180, 197, 49);
/* oklch */ color: oklch(78.5% 0.164 116.1);
Tailwind
colors: {
  custom: {
    50: '#ced675',
    500: '#b4c531',
    950: '#000000',
  },
}
SCSS
$custom: #b4c531;
$custom-light: #ced675;
$custom-dark: #000000;
JSON
{
  "hex": "#b4c531",
  "rgb": {
    "r": 180,
    "g": 197,
    "b": 49
  },
  "hsl": {
    "h": 66.892,
    "s": 60.163,
    "l": 48.235
  },
  "oklch": {
    "l": 0.78479,
    "c": 0.16421,
    "h": 116.1
  },
  "luminance": 0.49858
}

Semantic roles & 50–950 ramp

primary
#B4C531
secondary
#8D85CD
accent
#44E357
background
#FDFDF7
surface
#FAFAED
border
#D3D3C8
text
#141409
muted
#83837B

Preview Lab

Preview with #B4C531

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

Preview Lab → · Contrast checker → · Palette generator →

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