#B4A232#B4A232

#B4A232 is a light, vivid yellow. Relative luminance 0.358; OKLCH L 70.8% C 0.129 H 99.9°. Best body text is #000000 at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#B4A232
RGBrgb(180, 162, 50)
HSLhsl(52, 57%, 45%)
HSVhsv(52, 72%, 71%)
CMYKcmyk(0%, 10%, 72.2%, 29.4%)
CIE-LABlab(66.35, -5.96, 57.45)
CIE-LCHlch(66.35, 57.76, 95.92°)
OKLaboklab(70.79% -0.0222 0.1274)
OKLCHoklch(70.79% 0.129 99.9)
XYZxyz(32.3200, 35.7758, 8.2200)
Luminance0.3577 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4A232 #3244B4
analogous
#B46132 #B4A232 #85B432
triadic
#B4A232 #32B4A2 #A232B4
tetradic
#B4A232 #32B461 #3244B4 #B43285
square
#B4A232 #32B461 #3244B4 #B43285
split-complementary
#B4A232 #3285B4 #6132B4
monochromatic
#544C17 #847725 #B4A232 #CFBE54 #DDD084

Accessibility & contrast

On white

2.58
#B4A232 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.15
#B4A232 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4A232
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4A232#FFFFFF#000000##000000
##B4A2321.002.588.158.15
#FFFFFF2.581.0021.0021.00
#0000008.1521.001.001.00
##0000008.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29D20
Deuteranopia (green-blind)
#B7A439
Tritanopia (blue-blind)
#C2968C
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #b4a232;
/* rgb */ color: rgb(180, 162, 50);
/* oklch */ color: oklch(70.8% 0.129 99.9);
Tailwind
colors: {
  custom: {
    50: '#cebd71',
    500: '#b4a232',
    950: '#000000',
  },
}
SCSS
$custom: #b4a232;
$custom-light: #cebd71;
$custom-dark: #000000;
JSON
{
  "hex": "#b4a232",
  "rgb": {
    "r": 180,
    "g": 162,
    "b": 50
  },
  "hsl": {
    "h": 51.692,
    "s": 56.522,
    "l": 45.098
  },
  "oklch": {
    "l": 0.70788,
    "c": 0.12931,
    "h": 99.9
  },
  "luminance": 0.35774
}

Semantic roles & 50–950 ramp

primary
#B4A232
secondary
#7C86C6
accent
#5DE048
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B4A232

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

Preview Lab → · Contrast checker → · Palette generator →

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