#B4B334#B4B334

#B4B334 is a light, vivid yellow. Relative luminance 0.422; OKLCH L 74.5% C 0.144 H 109.0°. Best body text is #000000 at 9.44:1 contrast (WCAG AA passes).

Color values

HEX#B4B334
RGBrgb(180, 179, 52)
HSLhsl(60, 55%, 45%)
HSVhsv(60, 71%, 71%)
CMYKcmyk(0%, 0.6%, 71.1%, 29.4%)
CIE-LABlab(71.00, -14.72, 61.24)
CIE-LCHlch(71.00, 62.99, 103.51°)
OKLaboklab(74.5% -0.0467 0.1358)
OKLCHoklch(74.5% 0.144 109)
XYZxyz(35.5636, 42.1925, 9.5188)
Luminance0.4219 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4B334 #3435B4
analogous
#B47334 #B4B334 #75B434
triadic
#B4B334 #34B4B3 #B334B4
tetradic
#B4B334 #34B473 #3435B4 #B43475
square
#B4B334 #34B473 #3435B4 #B43475
split-complementary
#B4B334 #3475B4 #7334B4
monochromatic
#555519 #858426 #B4B334 #CECD57 #DCDB86

Accessibility & contrast

On white

2.23
#B4B334 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.44
#B4B334 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4B334
9.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4B334#FFFFFF#000000##000000
##B4B3341.002.239.449.44
#FFFFFF2.231.0021.0021.00
#0000009.4421.001.001.00
##0000009.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AC1E
Deuteranopia (green-blind)
#C3B03D
Tritanopia (blue-blind)
#C1A79A
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #b4b334;
/* rgb */ color: rgb(180, 179, 52);
/* oklch */ color: oklch(74.5% 0.144 109.0);
Tailwind
colors: {
  custom: {
    50: '#cec974',
    500: '#b4b334',
    950: '#000000',
  },
}
SCSS
$custom: #b4b334;
$custom-light: #cec974;
$custom-dark: #000000;
JSON
{
  "hex": "#b4b334",
  "rgb": {
    "r": 180,
    "g": 179,
    "b": 52
  },
  "hsl": {
    "h": 59.531,
    "s": 55.172,
    "l": 45.49
  },
  "oklch": {
    "l": 0.74497,
    "c": 0.14357,
    "h": 109
  },
  "luminance": 0.42191
}

Semantic roles & 50–950 ramp

primary
#B4B334
secondary
#7E7FC6
accent
#4ADF49
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141309
muted
#83827B

Preview Lab

Preview with #B4B334

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

Preview Lab → · Contrast checker → · Palette generator →

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