#B4B82D#B4B82D

#B4B82D is a light, vivid yellow. Relative luminance 0.442; OKLCH L 75.6% C 0.153 H 111.2°. Best body text is #000000 at 9.83:1 contrast (WCAG AA passes).

Color values

HEX#B4B82D
RGBrgb(180, 184, 45)
HSLhsl(62, 61%, 45%)
HSVhsv(62, 76%, 72%)
CMYKcmyk(2.2%, 0%, 75.5%, 27.8%)
CIE-LABlab(72.35, -17.57, 64.91)
CIE-LCHlch(72.35, 67.25, 105.15°)
OKLaboklab(75.56% -0.0553 0.1423)
OKLCHoklch(75.56% 0.153 111.2)
XYZxyz(36.4378, 44.1747, 9.0892)
Luminance0.4417 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4B82D #312DB8
analogous
#B8772D #B4B82D #6EB82D
triadic
#B4B82D #2DB4B8 #B82DB4
tetradic
#B4B82D #2DB877 #312DB8 #B82D6E
square
#B4B82D #2DB877 #312DB8 #B82D6E
split-complementary
#B4B82D #2D6EB8 #772DB8
monochromatic
#545615 #848721 #B4B82D #D0D44E #DDE080

Accessibility & contrast

On white

2.14
#B4B82D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.83
#B4B82D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4B82D
9.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4B82D#FFFFFF#000000##000000
##B4B82D1.002.149.839.83
#FFFFFF2.141.0021.0021.00
#0000009.8321.001.001.00
##0000009.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B009
Deuteranopia (green-blind)
#C7B339
Tritanopia (blue-blind)
#C1AC9E
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #b4b82d;
/* rgb */ color: rgb(180, 184, 45);
/* oklch */ color: oklch(75.6% 0.153 111.2);
Tailwind
colors: {
  custom: {
    50: '#cecd71',
    500: '#b4b82d',
    950: '#000000',
  },
}
SCSS
$custom: #b4b82d;
$custom-light: #cecd71;
$custom-dark: #000000;
JSON
{
  "hex": "#b4b82d",
  "rgb": {
    "r": 180,
    "g": 184,
    "b": 45
  },
  "hsl": {
    "h": 61.727,
    "s": 60.699,
    "l": 44.902
  },
  "oklch": {
    "l": 0.75557,
    "c": 0.15265,
    "h": 111.2
  },
  "luminance": 0.44174
}

Semantic roles & 50–950 ramp

primary
#B4B82D
secondary
#7B78C9
accent
#44E449
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141308
muted
#83827B

Preview Lab

Preview with #B4B82D

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

Preview Lab → · Contrast checker → · Palette generator →

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