#B2AC48#B2AC48

#B2AC48 is a light, vivid yellow. Relative luminance 0.394; OKLCH L 73.0% C 0.122 H 105.8°. Best body text is #000000 at 8.89:1 contrast (WCAG AA passes).

Color values

HEX#B2AC48
RGBrgb(178, 172, 72)
HSLhsl(57, 42%, 49%)
HSVhsv(57, 60%, 70%)
CMYKcmyk(0%, 3.4%, 59.6%, 30.2%)
CIE-LABlab(69.07, -10.75, 50.95)
CIE-LCHlch(69.07, 52.07, 101.92°)
OKLaboklab(72.96% -0.0332 0.1172)
OKLCHoklch(72.96% 0.122 105.8)
XYZxyz(34.2834, 39.4390, 11.9362)
Luminance0.3944 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2AC48 #484EB2
analogous
#B27748 #B2AC48 #83B248
triadic
#B2AC48 #48B2AC #AC48B2
tetradic
#B2AC48 #48B277 #484EB2 #B24883
square
#B2AC48 #48B277 #484EB2 #B24883
split-complementary
#B2AC48 #4883B2 #7748B2
monochromatic
#5B5825 #868236 #B2AC48 #C6C171 #D7D49D

Accessibility & contrast

On white

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

On black

8.89
#B2AC48 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2AC48
8.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2AC48#FFFFFF#000000##000000
##B2AC481.002.368.898.89
#FFFFFF2.361.0021.0021.00
#0000008.8921.001.001.00
##0000008.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA63D
Deuteranopia (green-blind)
#BCAB4E
Tritanopia (blue-blind)
#BEA196
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #b2ac48;
/* rgb */ color: rgb(178, 172, 72);
/* oklch */ color: oklch(73.0% 0.122 105.8);
Tailwind
colors: {
  custom: {
    50: '#ccc47f',
    500: '#b2ac48',
    950: '#000000',
  },
}
SCSS
$custom: #b2ac48;
$custom-light: #ccc47f;
$custom-dark: #000000;
JSON
{
  "hex": "#b2ac48",
  "rgb": {
    "r": 178,
    "g": 172,
    "b": 72
  },
  "hsl": {
    "h": 56.604,
    "s": 42.4,
    "l": 49.02
  },
  "oklch": {
    "l": 0.72963,
    "c": 0.12183,
    "h": 105.8
  },
  "luminance": 0.39438
}

Semantic roles & 50–950 ramp

primary
#B2AC48
secondary
#9295C4
accent
#5DD256
background
#FCFCF7
surface
#F9F8EE
border
#D2D1C9
text
#14120A
muted
#82817C

Preview Lab

Preview with #B2AC48

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

Preview Lab → · Contrast checker → · Palette generator →

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