#B3AC28#B3AC28

#B3AC28 is a light, vivid yellow. Relative luminance 0.392; OKLCH L 72.8% C 0.144 H 106.3°. Best body text is #000000 at 8.85:1 contrast (WCAG AA passes).

Color values

HEX#B3AC28
RGBrgb(179, 172, 40)
HSLhsl(57, 63%, 43%)
HSVhsv(57, 78%, 70%)
CMYKcmyk(0%, 3.9%, 77.7%, 29.8%)
CIE-LABlab(68.93, -12.08, 63.34)
CIE-LCHlch(68.93, 64.49, 100.80°)
OKLaboklab(72.8% -0.0403 0.1381)
OKLCHoklch(72.8% 0.144 106.3)
XYZxyz(33.7274, 39.2432, 7.8052)
Luminance0.3924 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3AC28 #282FB3
analogous
#B36628 #B3AC28 #75B328
triadic
#B3AC28 #28B3AC #AC28B3
tetradic
#B3AC28 #28B366 #282FB3 #B32875
square
#B3AC28 #28B366 #282FB3 #B32875
split-complementary
#B3AC28 #2875B3 #6628B3
monochromatic
#4F4C12 #817C1D #B3AC28 #D5CE43 #E0DB75

Accessibility & contrast

On white

2.37
#B3AC28 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.85
#B3AC28 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B3AC28
8.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B3AC28#FFFFFF#000000##000000
##B3AC281.002.378.858.85
#FFFFFF2.371.0021.0021.00
#0000008.8521.001.001.00
##0000008.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA502
Deuteranopia (green-blind)
#BEAB33
Tritanopia (blue-blind)
#C1A093
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #b3ac28;
/* rgb */ color: rgb(179, 172, 40);
/* oklch */ color: oklch(72.8% 0.144 106.3);
Tailwind
colors: {
  custom: {
    50: '#cec46e',
    500: '#b3ac28',
    950: '#000000',
  },
}
SCSS
$custom: #b3ac28;
$custom-light: #cec46e;
$custom-dark: #000000;
JSON
{
  "hex": "#b3ac28",
  "rgb": {
    "r": 179,
    "g": 172,
    "b": 40
  },
  "hsl": {
    "h": 56.978,
    "s": 63.47,
    "l": 42.941
  },
  "oklch": {
    "l": 0.72799,
    "c": 0.14384,
    "h": 106.3
  },
  "luminance": 0.39242
}

Semantic roles & 50–950 ramp

primary
#B3AC28
secondary
#6F74C8
accent
#4AE641
background
#FDFCF6
surface
#FAF8EC
border
#D3D1C7
text
#141208
muted
#83817B

Preview Lab

Preview with #B3AC28

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

Preview Lab → · Contrast checker → · Palette generator →

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