#B4B82E#B4B82E

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

Color values

HEX#B4B82E
RGBrgb(180, 184, 46)
HSLhsl(62, 60%, 45%)
HSVhsv(62, 75%, 72%)
CMYKcmyk(2.2%, 0%, 75%, 27.8%)
CIE-LABlab(72.35, -17.53, 64.59)
CIE-LCHlch(72.35, 66.93, 105.19°)
OKLaboklab(75.56% -0.0551 0.1418)
OKLCHoklch(75.56% 0.152 111.2)
XYZxyz(36.4573, 44.1825, 9.1918)
Luminance0.4418 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4B82E #322EB8
analogous
#B8772E #B4B82E #6FB82E
triadic
#B4B82E #2EB4B8 #B82EB4
tetradic
#B4B82E #2EB877 #322EB8 #B82E6F
square
#B4B82E #2EB877 #322EB8 #B82E6F
split-complementary
#B4B82E #2E6FB8 #772EB8
monochromatic
#545616 #848722 #B4B82E #CFD350 #DDDF81

Accessibility & contrast

On white

2.13
#B4B82E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.84
#B4B82E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4B82E
9.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4B82E#FFFFFF#000000##000000
##B4B82E1.002.139.849.84
#FFFFFF2.131.0021.0021.00
#0000009.8421.001.001.00
##0000009.8421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b4b82e;
/* rgb */ color: rgb(180, 184, 46);
/* oklch */ color: oklch(75.6% 0.152 111.2);
Tailwind
colors: {
  custom: {
    50: '#cecd72',
    500: '#b4b82e',
    950: '#000000',
  },
}
SCSS
$custom: #b4b82e;
$custom-light: #cecd72;
$custom-dark: #000000;
JSON
{
  "hex": "#b4b82e",
  "rgb": {
    "r": 180,
    "g": 184,
    "b": 46
  },
  "hsl": {
    "h": 61.739,
    "s": 60,
    "l": 45.098
  },
  "oklch": {
    "l": 0.75563,
    "c": 0.15211,
    "h": 111.2
  },
  "luminance": 0.44182
}

Semantic roles & 50–950 ramp

primary
#B4B82E
secondary
#7C79C8
accent
#45E349
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141308
muted
#83827B

Preview Lab

Preview with #B4B82E

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

Preview Lab → · Contrast checker → · Palette generator →

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