#B4B131#B4B131

#B4B131 is a light, vivid yellow. Relative luminance 0.414; OKLCH L 74.0% C 0.143 H 108.1°. Best body text is #000000 at 9.27:1 contrast (WCAG AA passes).

Color values

HEX#B4B131
RGBrgb(180, 177, 49)
HSLhsl(59, 57%, 45%)
HSVhsv(59, 73%, 71%)
CMYKcmyk(0%, 1.7%, 72.8%, 29.4%)
CIE-LABlab(70.43, -13.84, 61.77)
CIE-LCHlch(70.43, 63.30, 102.63°)
OKLaboklab(74.04% -0.0445 0.1364)
OKLCHoklch(74.04% 0.143 108.1)
XYZxyz(35.1002, 41.3705, 9.0415)
Luminance0.4137 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4B131 #3134B4
analogous
#B47031 #B4B131 #75B431
triadic
#B4B131 #31B4B1 #B131B4
tetradic
#B4B131 #31B470 #3134B4 #B43175
square
#B4B131 #31B470 #3134B4 #B43175
split-complementary
#B4B131 #3175B4 #7031B4
monochromatic
#545217 #848224 #B4B131 #D0CD52 #DDDB82

Accessibility & contrast

On white

2.26
#B4B131 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.27
#B4B131 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4B131
9.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4B131#FFFFFF#000000##000000
##B4B1311.002.269.279.27
#FFFFFF2.261.0021.0021.00
#0000009.2721.001.001.00
##0000009.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AA18
Deuteranopia (green-blind)
#C2AE3B
Tritanopia (blue-blind)
#C1A598
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #b4b131;
/* rgb */ color: rgb(180, 177, 49);
/* oklch */ color: oklch(74.0% 0.143 108.1);
Tailwind
colors: {
  custom: {
    50: '#cec872',
    500: '#b4b131',
    950: '#000000',
  },
}
SCSS
$custom: #b4b131;
$custom-light: #cec872;
$custom-dark: #000000;
JSON
{
  "hex": "#b4b131",
  "rgb": {
    "r": 180,
    "g": 177,
    "b": 49
  },
  "hsl": {
    "h": 58.626,
    "s": 57.205,
    "l": 44.902
  },
  "oklch": {
    "l": 0.74038,
    "c": 0.14343,
    "h": 108.1
  },
  "luminance": 0.41369
}

Semantic roles & 50–950 ramp

primary
#B4B131
secondary
#7B7CC6
accent
#4BE047
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141308
muted
#83827B

Preview Lab

Preview with #B4B131

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

Preview Lab → · Contrast checker → · Palette generator →

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