#B4B337#B4B337

#B4B337 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#B4B337
RGBrgb(180, 179, 55)
HSLhsl(60, 53%, 46%)
HSVhsv(60, 69%, 71%)
CMYKcmyk(0%, 0.6%, 69.4%, 29.4%)
CIE-LABlab(71.02, -14.57, 60.15)
CIE-LCHlch(71.02, 61.89, 103.61°)
OKLaboklab(74.52% -0.046 0.134)
OKLCHoklch(74.52% 0.142 108.9)
XYZxyz(35.6333, 42.2204, 9.8860)
Luminance0.4222 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4B337 #3738B4
analogous
#B47437 #B4B337 #76B437
triadic
#B4B337 #37B4B3 #B337B4
tetradic
#B4B337 #37B474 #3738B4 #B43776
square
#B4B337 #37B474 #3738B4 #B43776
split-complementary
#B4B337 #3776B4 #7437B4
monochromatic
#56561A #858429 #B4B337 #CDCC5B #DBDB8A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B4B337#FFFFFF#000000##000000
##B4B3371.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)
#C1AC23
Deuteranopia (green-blind)
#C3B040
Tritanopia (blue-blind)
#C1A89A
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #b4b337;
/* rgb */ color: rgb(180, 179, 55);
/* oklch */ color: oklch(74.5% 0.142 108.9);
Tailwind
colors: {
  custom: {
    50: '#cec976',
    500: '#b4b337',
    950: '#000000',
  },
}
SCSS
$custom: #b4b337;
$custom-light: #cec976;
$custom-dark: #000000;
JSON
{
  "hex": "#b4b337",
  "rgb": {
    "r": 180,
    "g": 179,
    "b": 55
  },
  "hsl": {
    "h": 59.52,
    "s": 53.191,
    "l": 46.078
  },
  "oklch": {
    "l": 0.74519,
    "c": 0.14165,
    "h": 108.9
  },
  "luminance": 0.42219
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B4B337

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

Preview Lab → · Contrast checker → · Palette generator →

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