#B4AC3D#B4AC3D

#B4AC3D is a light, vivid yellow. Relative luminance 0.395; OKLCH L 73.0% C 0.131 H 105.2°. Best body text is #000000 at 8.91:1 contrast (WCAG AA passes).

Color values

HEX#B4AC3D
RGBrgb(180, 172, 61)
HSLhsl(56, 49%, 47%)
HSVhsv(56, 66%, 71%)
CMYKcmyk(0%, 4.4%, 66.1%, 29.4%)
CIE-LABlab(69.15, -10.62, 55.87)
CIE-LCHlch(69.15, 56.87, 100.76°)
OKLaboklab(73.04% -0.0342 0.126)
OKLCHoklch(73.04% 0.131 105.2)
XYZxyz(34.4185, 39.5465, 10.2342)
Luminance0.3955 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4AC3D #3D45B4
analogous
#B4703D #B4AC3D #81B43D
triadic
#B4AC3D #3DB4AC #AC3DB4
tetradic
#B4AC3D #3DB470 #3D45B4 #B43D81
square
#B4AC3D #3DB470 #3D45B4 #B43D81
split-complementary
#B4AC3D #3D81B4 #703DB4
monochromatic
#59551E #86802E #B4AC3D #CAC464 #DAD592

Accessibility & contrast

On white

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

On black

8.91
#B4AC3D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4AC3D
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4AC3D#FFFFFF#000000##000000
##B4AC3D1.002.368.918.91
#FFFFFF2.361.0021.0021.00
#0000008.9121.001.001.00
##0000008.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA62E
Deuteranopia (green-blind)
#BEAB44
Tritanopia (blue-blind)
#C1A195
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #b4ac3d;
/* rgb */ color: rgb(180, 172, 61);
/* oklch */ color: oklch(73.0% 0.131 105.2);
Tailwind
colors: {
  custom: {
    50: '#cec478',
    500: '#b4ac3d',
    950: '#000000',
  },
}
SCSS
$custom: #b4ac3d;
$custom-light: #cec478;
$custom-dark: #000000;
JSON
{
  "hex": "#b4ac3d",
  "rgb": {
    "r": 180,
    "g": 172,
    "b": 61
  },
  "hsl": {
    "h": 55.966,
    "s": 49.378,
    "l": 47.255
  },
  "oklch": {
    "l": 0.73036,
    "c": 0.13052,
    "h": 105.2
  },
  "luminance": 0.39545
}

Semantic roles & 50–950 ramp

primary
#B4AC3D
secondary
#888CC5
accent
#58D94F
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#141209
muted
#83817B

Preview Lab

Preview with #B4AC3D

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

Preview Lab → · Contrast checker → · Palette generator →

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