#B4BD31#B4BD31

#B4BD31 is a light, vivid yellow. Relative luminance 0.463; OKLCH L 76.7% C 0.156 H 113.2°. Best body text is #000000 at 10.26:1 contrast (WCAG AA passes).

Color values

HEX#B4BD31
RGBrgb(180, 189, 49)
HSLhsl(64, 59%, 47%)
HSVhsv(64, 74%, 74%)
CMYKcmyk(4.8%, 0%, 74.1%, 25.9%)
CIE-LABlab(73.75, -19.90, 64.92)
CIE-LCHlch(73.75, 67.90, 107.05°)
OKLaboklab(76.69% -0.0614 0.143)
OKLCHoklch(76.69% 0.156 113.2)
XYZxyz(37.5755, 46.3211, 9.8666)
Luminance0.4632 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4BD31 #3A31BD
analogous
#BD8031 #B4BD31 #6EBD31
triadic
#B4BD31 #31B4BD #BD31B4
tetradic
#B4BD31 #31BD80 #3A31BD #BD316E
square
#B4BD31 #31BD80 #3A31BD #BD316E
split-complementary
#B4BD31 #316EBD #8031BD
monochromatic
#575C18 #868C24 #B4BD31 #CCD458 #DBE088

Accessibility & contrast

On white

2.05
#B4BD31 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.26
#B4BD31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4BD31
10.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4BD31#FFFFFF#000000##000000
##B4BD311.002.0510.2610.26
#FFFFFF2.051.0021.0021.00
#00000010.2621.001.001.00
##00000010.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB412
Deuteranopia (green-blind)
#CBB73D
Tritanopia (blue-blind)
#C0B1A2
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #b4bd31;
/* rgb */ color: rgb(180, 189, 49);
/* oklch */ color: oklch(76.7% 0.156 113.2);
Tailwind
colors: {
  custom: {
    50: '#ced074',
    500: '#b4bd31',
    950: '#000000',
  },
}
SCSS
$custom: #b4bd31;
$custom-light: #ced074;
$custom-dark: #000000;
JSON
{
  "hex": "#b4bd31",
  "rgb": {
    "r": 180,
    "g": 189,
    "b": 49
  },
  "hsl": {
    "h": 63.857,
    "s": 58.824,
    "l": 46.667
  },
  "oklch": {
    "l": 0.76691,
    "c": 0.15564,
    "h": 113.2
  },
  "luminance": 0.4632
}

Semantic roles & 50–950 ramp

primary
#B4BD31
secondary
#8580CA
accent
#46E250
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141409
muted
#83827B

Preview Lab

Preview with #B4BD31

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

Preview Lab → · Contrast checker → · Palette generator →

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