#B4A832#B4A832

#B4A832 is a light, vivid yellow. Relative luminance 0.379; OKLCH L 72.1% C 0.134 H 103.4°. Best body text is #000000 at 8.59:1 contrast (WCAG AA passes).

Color values

HEX#B4A832
RGBrgb(180, 168, 50)
HSLhsl(54, 57%, 45%)
HSVhsv(54, 72%, 71%)
CMYKcmyk(0%, 6.7%, 72.2%, 29.4%)
CIE-LABlab(67.98, -9.12, 59.04)
CIE-LCHlch(67.98, 59.74, 98.79°)
OKLaboklab(72.08% -0.0312 0.1308)
OKLCHoklch(72.08% 0.134 103.4)
XYZxyz(33.4022, 37.9402, 8.5807)
Luminance0.3794 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4A832 #323EB4
analogous
#B46732 #B4A832 #7FB432
triadic
#B4A832 #32B4A8 #A832B4
tetradic
#B4A832 #32B467 #323EB4 #B4327F
square
#B4A832 #32B467 #323EB4 #B4327F
split-complementary
#B4A832 #327FB4 #6732B4
monochromatic
#544F17 #847B25 #B4A832 #CFC454 #DDD584

Accessibility & contrast

On white

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

On black

8.59
#B4A832 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4A832
8.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4A832#FFFFFF#000000##000000
##B4A8321.002.458.598.59
#FFFFFF2.451.0021.0021.00
#0000008.5921.001.001.00
##0000008.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A21E
Deuteranopia (green-blind)
#BBA83A
Tritanopia (blue-blind)
#C29C91
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #b4a832;
/* rgb */ color: rgb(180, 168, 50);
/* oklch */ color: oklch(72.1% 0.134 103.4);
Tailwind
colors: {
  custom: {
    50: '#cec172',
    500: '#b4a832',
    950: '#000000',
  },
}
SCSS
$custom: #b4a832;
$custom-light: #cec172;
$custom-dark: #000000;
JSON
{
  "hex": "#b4a832",
  "rgb": {
    "r": 180,
    "g": 168,
    "b": 50
  },
  "hsl": {
    "h": 54.462,
    "s": 56.522,
    "l": 45.098
  },
  "oklch": {
    "l": 0.72081,
    "c": 0.13441,
    "h": 103.4
  },
  "luminance": 0.37939
}

Semantic roles & 50–950 ramp

primary
#B4A832
secondary
#7C83C6
accent
#56E048
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B4A832

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

Preview Lab → · Contrast checker → · Palette generator →

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