#B4AC38#B4AC38

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

Color values

HEX#B4AC38
RGBrgb(180, 172, 56)
HSLhsl(56, 53%, 46%)
HSVhsv(56, 69%, 71%)
CMYKcmyk(0%, 4.4%, 68.9%, 29.4%)
CIE-LABlab(69.11, -10.90, 57.85)
CIE-LCHlch(69.11, 58.87, 100.67°)
OKLaboklab(73% -0.0356 0.1293)
OKLCHoklch(73% 0.134 105.4)
XYZxyz(34.2901, 39.4951, 9.5577)
Luminance0.3949 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4AC38 #3840B4
analogous
#B46E38 #B4AC38 #7EB438
triadic
#B4AC38 #38B4AC #AC38B4
tetradic
#B4AC38 #38B46E #3840B4 #B4387E
square
#B4AC38 #38B46E #3840B4 #B4387E
split-complementary
#B4AC38 #387EB4 #6E38B4
monochromatic
#57531B #857F29 #B4AC38 #CDC55D #DBD68B

Accessibility & contrast

On white

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

On black

8.90
#B4AC38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4AC38
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4AC38#FFFFFF#000000##000000
##B4AC381.002.368.908.90
#FFFFFF2.361.0021.0021.00
#0000008.9021.001.001.00
##0000008.9021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b4ac38;
/* rgb */ color: rgb(180, 172, 56);
/* oklch */ color: oklch(73.0% 0.134 105.4);
Tailwind
colors: {
  custom: {
    50: '#cec476',
    500: '#b4ac38',
    950: '#000000',
  },
}
SCSS
$custom: #b4ac38;
$custom-light: #cec476;
$custom-dark: #000000;
JSON
{
  "hex": "#b4ac38",
  "rgb": {
    "r": 180,
    "g": 172,
    "b": 56
  },
  "hsl": {
    "h": 56.129,
    "s": 52.542,
    "l": 46.275
  },
  "oklch": {
    "l": 0.72995,
    "c": 0.13412,
    "h": 105.4
  },
  "luminance": 0.39494
}

Semantic roles & 50–950 ramp

primary
#B4AC38
secondary
#8287C5
accent
#55DC4C
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141209
muted
#83817B

Preview Lab

Preview with #B4AC38

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

Preview Lab → · Contrast checker → · Palette generator →

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