#B4B52C#B4B52C

#B4B52C 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#B4B52C
RGBrgb(180, 181, 44)
HSLhsl(60, 61%, 44%)
HSVhsv(60, 76%, 71%)
CMYKcmyk(0.6%, 0%, 75.7%, 29%)
CIE-LABlab(71.51, -16.10, 64.46)
CIE-LCHlch(71.51, 66.44, 104.02°)
OKLaboklab(74.89% -0.0513 0.1411)
OKLCHoklch(74.89% 0.15 110)
XYZxyz(35.8022, 42.9340, 8.7835)
Luminance0.4293 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4B52C #2D2CB5
analogous
#B5722C #B4B52C #70B52C
triadic
#B4B52C #2CB4B5 #B52CB4
tetradic
#B4B52C #2CB572 #2D2CB5 #B52C70
square
#B4B52C #2CB572 #2D2CB5 #B52C70
split-complementary
#B4B52C #2C70B5 #722CB5
monochromatic
#525314 #838420 #B4B52C #D2D34B #DEDF7C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B4B52C#FFFFFF#000000##000000
##B4B52C1.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)
#C4AD08
Deuteranopia (green-blind)
#C5B137
Tritanopia (blue-blind)
#C1A99B
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #b4b52c;
/* rgb */ color: rgb(180, 181, 44);
/* oklch */ color: oklch(74.9% 0.150 110.0);
Tailwind
colors: {
  custom: {
    50: '#ceca70',
    500: '#b4b52c',
    950: '#000000',
  },
}
SCSS
$custom: #b4b52c;
$custom-light: #ceca70;
$custom-dark: #000000;
JSON
{
  "hex": "#b4b52c",
  "rgb": {
    "r": 180,
    "g": 181,
    "b": 44
  },
  "hsl": {
    "h": 60.438,
    "s": 60.889,
    "l": 44.118
  },
  "oklch": {
    "l": 0.74888,
    "c": 0.15017,
    "h": 110
  },
  "luminance": 0.42933
}

Semantic roles & 50–950 ramp

primary
#B4B52C
secondary
#7675C8
accent
#44E445
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141308
muted
#83827B

Preview Lab

Preview with #B4B52C

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

Preview Lab → · Contrast checker → · Palette generator →

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