#B4B52D#B4B52D

#B4B52D is a light, vivid yellow. Relative luminance 0.429; OKLCH L 74.9% C 0.150 H 110.0°. Best body text is #000000 at 9.59:1 contrast (WCAG AA passes).

Color values

HEX#B4B52D
RGBrgb(180, 181, 45)
HSLhsl(60, 60%, 44%)
HSVhsv(60, 75%, 71%)
CMYKcmyk(0.6%, 0%, 75.1%, 29%)
CIE-LABlab(71.52, -16.06, 64.14)
CIE-LCHlch(71.52, 66.12, 104.05°)
OKLaboklab(74.89% -0.0511 0.1407)
OKLCHoklch(74.89% 0.15 110)
XYZxyz(35.8212, 42.9416, 8.8837)
Luminance0.4294 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4B52D #2E2DB5
analogous
#B5722D #B4B52D #70B52D
triadic
#B4B52D #2DB4B5 #B52DB4
tetradic
#B4B52D #2DB572 #2E2DB5 #B52D70
square
#B4B52D #2DB572 #2E2DB5 #B52D70
split-complementary
#B4B52D #2D70B5 #722DB5
monochromatic
#535315 #838421 #B4B52D #D2D34D #DEDF7E

Accessibility & contrast

On white

2.19
#B4B52D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.59
#B4B52D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4B52D
9.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4B52D#FFFFFF#000000##000000
##B4B52D1.002.199.599.59
#FFFFFF2.191.0021.0021.00
#0000009.5921.001.001.00
##0000009.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4AD0C
Deuteranopia (green-blind)
#C5B138
Tritanopia (blue-blind)
#C1A99B
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #b4b52d;
/* rgb */ color: rgb(180, 181, 45);
/* oklch */ color: oklch(74.9% 0.150 110.0);
Tailwind
colors: {
  custom: {
    50: '#ceca71',
    500: '#b4b52d',
    950: '#000000',
  },
}
SCSS
$custom: #b4b52d;
$custom-light: #ceca71;
$custom-dark: #000000;
JSON
{
  "hex": "#b4b52d",
  "rgb": {
    "r": 180,
    "g": 181,
    "b": 45
  },
  "hsl": {
    "h": 60.441,
    "s": 60.177,
    "l": 44.314
  },
  "oklch": {
    "l": 0.74893,
    "c": 0.14964,
    "h": 110
  },
  "luminance": 0.42941
}

Semantic roles & 50–950 ramp

primary
#B4B52D
secondary
#7776C7
accent
#44E346
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141308
muted
#83827B

Preview Lab

Preview with #B4B52D

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

Preview Lab → · Contrast checker → · Palette generator →

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