#B4A82B#B4A82B

#B4A82B is a light, vivid yellow. Relative luminance 0.379; OKLCH L 72.0% C 0.139 H 103.7°. Best body text is #000000 at 8.58:1 contrast (WCAG AA passes).

Color values

HEX#B4A82B
RGBrgb(180, 168, 43)
HSLhsl(55, 61%, 44%)
HSVhsv(55, 76%, 71%)
CMYKcmyk(0%, 6.7%, 76.1%, 29.4%)
CIE-LABlab(67.94, -9.44, 61.49)
CIE-LCHlch(67.94, 62.21, 98.73°)
OKLaboklab(72.04% -0.0327 0.1346)
OKLCHoklch(72.04% 0.139 103.7)
XYZxyz(33.2626, 37.8844, 7.8454)
Luminance0.3788 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4A82B #2B37B4
analogous
#B4632B #B4A82B #7BB42B
triadic
#B4A82B #2BB4A8 #A82BB4
tetradic
#B4A82B #2BB463 #2B37B4 #B42B7B
square
#B4A82B #2BB463 #2B37B4 #B42B7B
split-complementary
#B4A82B #2B7BB4 #632BB4
monochromatic
#514C13 #837A1F #B4A82B #D3C749 #DFD67A

Accessibility & contrast

On white

2.45
#B4A82B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.58
#B4A82B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4A82B
8.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4A82B#FFFFFF#000000##000000
##B4A82B1.002.458.588.58
#FFFFFF2.451.0021.0021.00
#0000008.5821.001.001.00
##0000008.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A20F
Deuteranopia (green-blind)
#BBA834
Tritanopia (blue-blind)
#C29C90
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #b4a82b;
/* rgb */ color: rgb(180, 168, 43);
/* oklch */ color: oklch(72.0% 0.139 103.7);
Tailwind
colors: {
  custom: {
    50: '#cec16e',
    500: '#b4a82b',
    950: '#000000',
  },
}
SCSS
$custom: #b4a82b;
$custom-light: #cec16e;
$custom-dark: #000000;
JSON
{
  "hex": "#b4a82b",
  "rgb": {
    "r": 180,
    "g": 168,
    "b": 43
  },
  "hsl": {
    "h": 54.745,
    "s": 61.435,
    "l": 43.725
  },
  "oklch": {
    "l": 0.72035,
    "c": 0.13856,
    "h": 103.7
  },
  "luminance": 0.37883
}

Semantic roles & 50–950 ramp

primary
#B4A82B
secondary
#737BC7
accent
#51E543
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B4A82B

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

Preview Lab → · Contrast checker → · Palette generator →

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