#B3AC31#B3AC31

#B3AC31 is a light, vivid yellow. Relative luminance 0.393; OKLCH L 72.9% C 0.139 H 106.1°. Best body text is #000000 at 8.86:1 contrast (WCAG AA passes).

Color values

HEX#B3AC31
RGBrgb(179, 172, 49)
HSLhsl(57, 57%, 45%)
HSVhsv(57, 73%, 70%)
CMYKcmyk(0%, 3.9%, 72.6%, 29.8%)
CIE-LABlab(68.98, -11.69, 60.34)
CIE-LCHlch(68.98, 61.47, 100.97°)
OKLaboklab(72.85% -0.0384 0.1334)
OKLCHoklch(72.85% 0.139 106.1)
XYZxyz(33.8987, 39.3117, 8.7074)
Luminance0.3931 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3AC31 #3138B3
analogous
#B36B31 #B3AC31 #79B331
triadic
#B3AC31 #31B3AC #AC31B3
tetradic
#B3AC31 #31B36B #3138B3 #B33179
square
#B3AC31 #31B36B #3138B3 #B33179
split-complementary
#B3AC31 #3179B3 #6B31B3
monochromatic
#535017 #837E24 #B3AC31 #D0C952 #DDD882

Accessibility & contrast

On white

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

On black

8.86
#B3AC31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B3AC31
8.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B3AC31#FFFFFF#000000##000000
##B3AC311.002.378.868.86
#FFFFFF2.371.0021.0021.00
#0000008.8621.001.001.00
##0000008.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA61B
Deuteranopia (green-blind)
#BEAB3A
Tritanopia (blue-blind)
#C0A094
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #b3ac31;
/* rgb */ color: rgb(179, 172, 49);
/* oklch */ color: oklch(72.9% 0.139 106.1);
Tailwind
colors: {
  custom: {
    50: '#cdc472',
    500: '#b3ac31',
    950: '#000000',
  },
}
SCSS
$custom: #b3ac31;
$custom-light: #cdc472;
$custom-dark: #000000;
JSON
{
  "hex": "#b3ac31",
  "rgb": {
    "r": 179,
    "g": 172,
    "b": 49
  },
  "hsl": {
    "h": 56.769,
    "s": 57.018,
    "l": 44.706
  },
  "oklch": {
    "l": 0.72854,
    "c": 0.1388,
    "h": 106.1
  },
  "luminance": 0.39311
}

Semantic roles & 50–950 ramp

primary
#B3AC31
secondary
#7A7EC6
accent
#50E048
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B3AC31

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

Preview Lab → · Contrast checker → · Palette generator →

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