#B4B22D#B4B22D

#B4B22D is a light, vivid yellow. Relative luminance 0.417; OKLCH L 74.2% C 0.147 H 108.6°. Best body text is #000000 at 9.35:1 contrast (WCAG AA passes).

Color values

HEX#B4B22D
RGBrgb(180, 178, 45)
HSLhsl(59, 60%, 44%)
HSVhsv(59, 75%, 71%)
CMYKcmyk(0%, 1.1%, 75%, 29.4%)
CIE-LABlab(70.69, -14.53, 63.38)
CIE-LCHlch(70.69, 65.02, 102.91°)
OKLaboklab(74.23% -0.0468 0.139)
OKLCHoklch(74.23% 0.147 108.6)
XYZxyz(35.2178, 41.7347, 8.6826)
Luminance0.4173 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4B22D #2D2FB4
analogous
#B46F2D #B4B22D #73B42D
triadic
#B4B22D #2DB4B2 #B22DB4
tetradic
#B4B22D #2DB46F #2D2FB4 #B42D73
square
#B4B22D #2DB46F #2D2FB4 #B42D73
split-complementary
#B4B22D #2D73B4 #6F2DB4
monochromatic
#525115 #838221 #B4B22D #D2D04C #DEDD7D

Accessibility & contrast

On white

2.25
#B4B22D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.35
#B4B22D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4B22D
9.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4B22D#FFFFFF#000000##000000
##B4B22D1.002.259.359.35
#FFFFFF2.251.0021.0021.00
#0000009.3521.001.001.00
##0000009.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AB0E
Deuteranopia (green-blind)
#C3AF38
Tritanopia (blue-blind)
#C1A699
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #b4b22d;
/* rgb */ color: rgb(180, 178, 45);
/* oklch */ color: oklch(74.2% 0.147 108.6);
Tailwind
colors: {
  custom: {
    50: '#cec871',
    500: '#b4b22d',
    950: '#000000',
  },
}
SCSS
$custom: #b4b22d;
$custom-light: #cec871;
$custom-dark: #000000;
JSON
{
  "hex": "#b4b22d",
  "rgb": {
    "r": 180,
    "g": 178,
    "b": 45
  },
  "hsl": {
    "h": 59.111,
    "s": 60,
    "l": 44.118
  },
  "oklch": {
    "l": 0.74232,
    "c": 0.14669,
    "h": 108.6
  },
  "luminance": 0.41734
}

Semantic roles & 50–950 ramp

primary
#B4B22D
secondary
#7677C7
accent
#47E345
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141308
muted
#83827B

Preview Lab

Preview with #B4B22D

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

Preview Lab → · Contrast checker → · Palette generator →

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