#B3AC27#B3AC27

#B3AC27 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#B3AC27
RGBrgb(179, 172, 39)
HSLhsl(57, 64%, 43%)
HSVhsv(57, 78%, 70%)
CMYKcmyk(0%, 3.9%, 78.2%, 29.8%)
CIE-LABlab(68.92, -12.12, 63.65)
CIE-LCHlch(68.92, 64.79, 100.78°)
OKLaboklab(72.79% -0.0405 0.1385)
OKLCHoklch(72.79% 0.144 106.3)
XYZxyz(33.7106, 39.2365, 7.7168)
Luminance0.3923 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3AC27 #272EB3
analogous
#B36627 #B3AC27 #74B327
triadic
#B3AC27 #27B3AC #AC27B3
tetradic
#B3AC27 #27B366 #272EB3 #B32774
square
#B3AC27 #27B366 #272EB3 #B32774
split-complementary
#B3AC27 #2774B3 #6627B3
monochromatic
#4E4B11 #817C1C #B3AC27 #D6CE41 #E1DB74

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B3AC27#FFFFFF#000000##000000
##B3AC271.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)
#BBA500
Deuteranopia (green-blind)
#BEAB32
Tritanopia (blue-blind)
#C1A093
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #b3ac27;
/* rgb */ color: rgb(179, 172, 39);
/* oklch */ color: oklch(72.8% 0.144 106.3);
Tailwind
colors: {
  custom: {
    50: '#cec46d',
    500: '#b3ac27',
    950: '#000000',
  },
}
SCSS
$custom: #b3ac27;
$custom-light: #cec46d;
$custom-dark: #000000;
JSON
{
  "hex": "#b3ac27",
  "rgb": {
    "r": 179,
    "g": 172,
    "b": 39
  },
  "hsl": {
    "h": 57,
    "s": 64.22,
    "l": 42.745
  },
  "oklch": {
    "l": 0.72794,
    "c": 0.14433,
    "h": 106.3
  },
  "luminance": 0.39235
}

Semantic roles & 50–950 ramp

primary
#B3AC27
secondary
#6E72C8
accent
#49E741
background
#FDFCF6
surface
#FAF8EC
border
#D3D1C7
text
#141208
muted
#83817B

Preview Lab

Preview with #B3AC27

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

Preview Lab → · Contrast checker → · Palette generator →

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