#B4B22B#B4B22B

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

Color values

HEX#B4B22B
RGBrgb(180, 178, 43)
HSLhsl(59, 61%, 44%)
HSVhsv(59, 76%, 71%)
CMYKcmyk(0%, 1.1%, 76.1%, 29.4%)
CIE-LABlab(70.68, -14.61, 64.02)
CIE-LCHlch(70.68, 65.66, 102.86°)
OKLaboklab(74.22% -0.0472 0.14)
OKLCHoklch(74.22% 0.148 108.6)
XYZxyz(35.1802, 41.7196, 8.4846)
Luminance0.4172 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4B22B #2B2DB4
analogous
#B46D2B #B4B22B #71B42B
triadic
#B4B22B #2BB4B2 #B22BB4
tetradic
#B4B22B #2BB46D #2B2DB4 #B42B71
square
#B4B22B #2BB46D #2B2DB4 #B42B71
split-complementary
#B4B22B #2B71B4 #6D2BB4
monochromatic
#515013 #83811F #B4B22B #D3D149 #DFDE7A

Accessibility & contrast

On white

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

On black

9.34
#B4B22B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4B22B
9.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4B22B#FFFFFF#000000##000000
##B4B22B1.002.259.349.34
#FFFFFF2.251.0021.0021.00
#0000009.3421.001.001.00
##0000009.3421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b4b22b;
/* rgb */ color: rgb(180, 178, 43);
/* oklch */ color: oklch(74.2% 0.148 108.6);
Tailwind
colors: {
  custom: {
    50: '#cec870',
    500: '#b4b22b',
    950: '#000000',
  },
}
SCSS
$custom: #b4b22b;
$custom-light: #cec870;
$custom-dark: #000000;
JSON
{
  "hex": "#b4b22b",
  "rgb": {
    "r": 180,
    "g": 178,
    "b": 43
  },
  "hsl": {
    "h": 59.124,
    "s": 61.435,
    "l": 43.725
  },
  "oklch": {
    "l": 0.74221,
    "c": 0.14776,
    "h": 108.6
  },
  "luminance": 0.41719
}

Semantic roles & 50–950 ramp

primary
#B4B22B
secondary
#7375C7
accent
#46E543
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141308
muted
#83827B

Preview Lab

Preview with #B4B22B

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

Preview Lab → · Contrast checker → · Palette generator →

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