#B2AC27#B2AC27

#B2AC27 is a light, vivid yellow. Relative luminance 0.391; OKLCH L 72.7% C 0.144 H 106.8°. Best body text is #000000 at 8.82:1 contrast (WCAG AA passes).

Color values

HEX#B2AC27
RGBrgb(178, 172, 39)
HSLhsl(57, 64%, 43%)
HSVhsv(57, 78%, 70%)
CMYKcmyk(0%, 3.4%, 78.1%, 30.2%)
CIE-LABlab(68.84, -12.56, 63.54)
CIE-LCHlch(68.84, 64.77, 101.18°)
OKLaboklab(72.71% -0.0417 0.1383)
OKLCHoklch(72.71% 0.144 106.8)
XYZxyz(33.4802, 39.1177, 7.7060)
Luminance0.3912 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2AC27 #272DB2
analogous
#B26627 #B2AC27 #73B227
triadic
#B2AC27 #27B2AC #AC27B2
tetradic
#B2AC27 #27B266 #272DB2 #B22773
square
#B2AC27 #27B266 #272DB2 #B22773
split-complementary
#B2AC27 #2773B2 #6627B2
monochromatic
#4E4B11 #807B1C #B2AC27 #D5CF41 #E0DC73

Accessibility & contrast

On white

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

On black

8.82
#B2AC27 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2AC27
8.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2AC27#FFFFFF#000000##000000
##B2AC271.002.388.828.82
#FFFFFF2.381.0021.0021.00
#0000008.8221.001.001.00
##0000008.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA500
Deuteranopia (green-blind)
#BEAA32
Tritanopia (blue-blind)
#BFA093
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #b2ac27;
/* rgb */ color: rgb(178, 172, 39);
/* oklch */ color: oklch(72.7% 0.144 106.8);
Tailwind
colors: {
  custom: {
    50: '#cdc46d',
    500: '#b2ac27',
    950: '#000000',
  },
}
SCSS
$custom: #b2ac27;
$custom-light: #cdc46d;
$custom-dark: #000000;
JSON
{
  "hex": "#b2ac27",
  "rgb": {
    "r": 178,
    "g": 172,
    "b": 39
  },
  "hsl": {
    "h": 57.41,
    "s": 64.055,
    "l": 42.549
  },
  "oklch": {
    "l": 0.72705,
    "c": 0.14448,
    "h": 106.8
  },
  "luminance": 0.39117
}

Semantic roles & 50–950 ramp

primary
#B2AC27
secondary
#6D71C8
accent
#48E741
background
#FDFCF6
surface
#FAF8EC
border
#D3D1C7
text
#141208
muted
#83817B

Preview Lab

Preview with #B2AC27

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

Preview Lab → · Contrast checker → · Palette generator →

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