#B4B336#B4B336

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

Color values

HEX#B4B336
RGBrgb(180, 179, 54)
HSLhsl(60, 54%, 46%)
HSVhsv(60, 70%, 71%)
CMYKcmyk(0%, 0.6%, 70%, 29.4%)
CIE-LABlab(71.02, -14.62, 60.52)
CIE-LCHlch(71.02, 62.26, 103.58°)
OKLaboklab(74.51% -0.0462 0.1346)
OKLCHoklch(74.51% 0.142 108.9)
XYZxyz(35.6096, 42.2109, 9.7610)
Luminance0.4221 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4B336 #3637B4
analogous
#B47436 #B4B336 #76B436
triadic
#B4B336 #36B4B3 #B336B4
tetradic
#B4B336 #36B474 #3637B4 #B43676
square
#B4B336 #36B474 #3637B4 #B43676
split-complementary
#B4B336 #3676B4 #7436B4
monochromatic
#56551A #858428 #B4B336 #CDCD5A #DCDB89

Accessibility & contrast

On white

2.22
#B4B336 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##B4B336#FFFFFF#000000##000000
##B4B3361.002.229.449.44
#FFFFFF2.221.0021.0021.00
#0000009.4421.001.001.00
##0000009.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AC21
Deuteranopia (green-blind)
#C3B03F
Tritanopia (blue-blind)
#C1A89A
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #b4b336;
/* rgb */ color: rgb(180, 179, 54);
/* oklch */ color: oklch(74.5% 0.142 108.9);
Tailwind
colors: {
  custom: {
    50: '#cec975',
    500: '#b4b336',
    950: '#000000',
  },
}
SCSS
$custom: #b4b336;
$custom-light: #cec975;
$custom-dark: #000000;
JSON
{
  "hex": "#b4b336",
  "rgb": {
    "r": 180,
    "g": 179,
    "b": 54
  },
  "hsl": {
    "h": 59.524,
    "s": 53.846,
    "l": 45.882
  },
  "oklch": {
    "l": 0.74511,
    "c": 0.1423,
    "h": 108.9
  },
  "luminance": 0.4221
}

Semantic roles & 50–950 ramp

primary
#B4B336
secondary
#8081C6
accent
#4CDD4B
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141309
muted
#83827B

Preview Lab

Preview with #B4B336

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

Preview Lab → · Contrast checker → · Palette generator →

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