#B4A134#B4A134

#B4A134 is a light, vivid yellow. Relative luminance 0.354; OKLCH L 70.6% C 0.127 H 99.1°. Best body text is #000000 at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#B4A134
RGBrgb(180, 161, 52)
HSLhsl(51, 55%, 45%)
HSVhsv(51, 71%, 71%)
CMYKcmyk(0%, 10.6%, 71.1%, 29.4%)
CIE-LABlab(66.09, -5.33, 56.42)
CIE-LCHlch(66.09, 56.67, 95.39°)
OKLaboklab(70.59% -0.0202 0.1256)
OKLCHoklch(70.59% 0.127 99.1)
XYZxyz(32.1886, 35.4425, 8.3938)
Luminance0.3544 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4A134 #3447B4
analogous
#B46134 #B4A134 #87B434
triadic
#B4A134 #34B4A1 #A134B4
tetradic
#B4A134 #34B461 #3447B4 #B43487
square
#B4A134 #34B461 #3447B4 #B43487
split-complementary
#B4A134 #3487B4 #6134B4
monochromatic
#554C19 #857726 #B4A134 #CEBD57 #DCCF86

Accessibility & contrast

On white

2.60
#B4A134 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.09
#B4A134 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4A134
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4A134#FFFFFF#000000##000000
##B4A1341.002.608.098.09
#FFFFFF2.601.0021.0021.00
#0000008.0921.001.001.00
##0000008.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19D23
Deuteranopia (green-blind)
#B6A43B
Tritanopia (blue-blind)
#C2958B
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #b4a134;
/* rgb */ color: rgb(180, 161, 52);
/* oklch */ color: oklch(70.6% 0.127 99.1);
Tailwind
colors: {
  custom: {
    50: '#cebc72',
    500: '#b4a134',
    950: '#000000',
  },
}
SCSS
$custom: #b4a134;
$custom-light: #cebc72;
$custom-dark: #000000;
JSON
{
  "hex": "#b4a134",
  "rgb": {
    "r": 180,
    "g": 161,
    "b": 52
  },
  "hsl": {
    "h": 51.094,
    "s": 55.172,
    "l": 45.49
  },
  "oklch": {
    "l": 0.70589,
    "c": 0.12719,
    "h": 99.1
  },
  "luminance": 0.35441
}

Semantic roles & 50–950 ramp

primary
#B4A134
secondary
#7E89C6
accent
#5FDF49
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#141108
muted
#83807B

Preview Lab

Preview with #B4A134

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

Preview Lab → · Contrast checker → · Palette generator →

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