#B4AC30#B4AC30

#B4AC30 is a light, vivid yellow. Relative luminance 0.394; OKLCH L 72.9% C 0.139 H 105.6°. Best body text is #000000 at 8.88:1 contrast (WCAG AA passes).

Color values

HEX#B4AC30
RGBrgb(180, 172, 48)
HSLhsl(56, 58%, 45%)
HSVhsv(56, 73%, 71%)
CMYKcmyk(0%, 4.4%, 73.3%, 29.4%)
CIE-LABlab(69.06, -11.31, 60.81)
CIE-LCHlch(69.06, 61.85, 100.53°)
OKLaboklab(72.94% -0.0375 0.1341)
OKLCHoklch(72.94% 0.139 105.6)
XYZxyz(34.1098, 39.4230, 8.6084)
Luminance0.3942 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4AC30 #3038B4
analogous
#B46A30 #B4AC30 #7AB430
triadic
#B4AC30 #30B4AC #AC30B4
tetradic
#B4AC30 #30B46A #3038B4 #B4307A
square
#B4AC30 #30B46A #3038B4 #B4307A
split-complementary
#B4AC30 #307AB4 #6A30B4
monochromatic
#535016 #847E23 #B4AC30 #D1C951 #DDD881

Accessibility & contrast

On white

2.36
#B4AC30 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.88
#B4AC30 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4AC30
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4AC30#FFFFFF#000000##000000
##B4AC301.002.368.888.88
#FFFFFF2.361.0021.0021.00
#0000008.8821.001.001.00
##0000008.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA619
Deuteranopia (green-blind)
#BEAB39
Tritanopia (blue-blind)
#C1A094
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #b4ac30;
/* rgb */ color: rgb(180, 172, 48);
/* oklch */ color: oklch(72.9% 0.139 105.6);
Tailwind
colors: {
  custom: {
    50: '#cec471',
    500: '#b4ac30',
    950: '#000000',
  },
}
SCSS
$custom: #b4ac30;
$custom-light: #cec471;
$custom-dark: #000000;
JSON
{
  "hex": "#b4ac30",
  "rgb": {
    "r": 180,
    "g": 172,
    "b": 48
  },
  "hsl": {
    "h": 56.364,
    "s": 57.895,
    "l": 44.706
  },
  "oklch": {
    "l": 0.72937,
    "c": 0.13927,
    "h": 105.6
  },
  "luminance": 0.39422
}

Semantic roles & 50–950 ramp

primary
#B4AC30
secondary
#797EC6
accent
#50E147
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B4AC30

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

Preview Lab → · Contrast checker → · Palette generator →

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