#B4B134#B4B134

#B4B134 is a light, vivid yellow. Relative luminance 0.414; OKLCH L 74.1% C 0.142 H 108.0°. Best body text is #000000 at 9.28:1 contrast (WCAG AA passes).

Color values

HEX#B4B134
RGBrgb(180, 177, 52)
HSLhsl(59, 55%, 45%)
HSVhsv(59, 71%, 71%)
CMYKcmyk(0%, 1.7%, 71.1%, 29.4%)
CIE-LABlab(70.45, -13.70, 60.71)
CIE-LCHlch(70.45, 62.23, 102.71°)
OKLaboklab(74.06% -0.0438 0.1346)
OKLCHoklch(74.06% 0.142 108)
XYZxyz(35.1657, 41.3967, 9.3861)
Luminance0.4140 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4B134 #3437B4
analogous
#B47134 #B4B134 #77B434
triadic
#B4B134 #34B4B1 #B134B4
tetradic
#B4B134 #34B471 #3437B4 #B43477
square
#B4B134 #34B471 #3437B4 #B43477
split-complementary
#B4B134 #3477B4 #7134B4
monochromatic
#555419 #858226 #B4B134 #CECC57 #DCDA86

Accessibility & contrast

On white

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

On black

9.28
#B4B134 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4B134
9.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4B134#FFFFFF#000000##000000
##B4B1341.002.269.289.28
#FFFFFF2.261.0021.0021.00
#0000009.2821.001.001.00
##0000009.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AA1E
Deuteranopia (green-blind)
#C2AE3D
Tritanopia (blue-blind)
#C1A599
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #b4b134;
/* rgb */ color: rgb(180, 177, 52);
/* oklch */ color: oklch(74.1% 0.142 108.0);
Tailwind
colors: {
  custom: {
    50: '#cec874',
    500: '#b4b134',
    950: '#000000',
  },
}
SCSS
$custom: #b4b134;
$custom-light: #cec874;
$custom-dark: #000000;
JSON
{
  "hex": "#b4b134",
  "rgb": {
    "r": 180,
    "g": 177,
    "b": 52
  },
  "hsl": {
    "h": 58.594,
    "s": 55.172,
    "l": 45.49
  },
  "oklch": {
    "l": 0.74058,
    "c": 0.14159,
    "h": 108
  },
  "luminance": 0.41396
}

Semantic roles & 50–950 ramp

primary
#B4B134
secondary
#7E80C6
accent
#4DDF49
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141309
muted
#83827B

Preview Lab

Preview with #B4B134

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

Preview Lab → · Contrast checker → · Palette generator →

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