#B3AC20#B3AC20

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

Color values

HEX#B3AC20
RGBrgb(179, 172, 32)
HSLhsl(57, 70%, 41%)
HSVhsv(57, 82%, 70%)
CMYKcmyk(0%, 3.9%, 82.1%, 29.8%)
CIE-LABlab(68.89, -12.36, 65.63)
CIE-LCHlch(68.89, 66.79, 100.66°)
OKLaboklab(72.76% -0.0418 0.1415)
OKLCHoklch(72.76% 0.148 106.4)
XYZxyz(33.6051, 39.1943, 7.1613)
Luminance0.3919 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3AC20 #2027B3
analogous
#B36320 #B3AC20 #71B320
triadic
#B3AC20 #20B3AC #AC20B3
tetradic
#B3AC20 #20B363 #2027B3 #B32071
square
#B3AC20 #20B363 #2027B3 #B32071
split-complementary
#B3AC20 #2071B3 #6320B3
monochromatic
#4B480D #7F7A17 #B3AC20 #DBD335 #E4DE69

Accessibility & contrast

On white

2.38
#B3AC20 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.84
#B3AC20 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B3AC20
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B3AC20#FFFFFF#000000##000000
##B3AC201.002.388.848.84
#FFFFFF2.381.0021.0021.00
#0000008.8421.001.001.00
##0000008.8421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b3ac20;
/* rgb */ color: rgb(179, 172, 32);
/* oklch */ color: oklch(72.8% 0.148 106.4);
Tailwind
colors: {
  custom: {
    50: '#cec46a',
    500: '#b3ac20',
    950: '#000000',
  },
}
SCSS
$custom: #b3ac20;
$custom-light: #cec46a;
$custom-dark: #000000;
JSON
{
  "hex": "#b3ac20",
  "rgb": {
    "r": 179,
    "g": 172,
    "b": 32
  },
  "hsl": {
    "h": 57.143,
    "s": 69.668,
    "l": 41.373
  },
  "oklch": {
    "l": 0.7276,
    "c": 0.14751,
    "h": 106.4
  },
  "luminance": 0.39193
}

Semantic roles & 50–950 ramp

primary
#B3AC20
secondary
#656ACA
accent
#44EC3B
background
#FDFCF6
surface
#FAF8EC
border
#D3D1C7
text
#141207
muted
#83817A

Preview Lab

Preview with #B3AC20

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

Preview Lab → · Contrast checker → · Palette generator →

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