#B2AC36#B2AC36

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

Color values

HEX#B2AC36
RGBrgb(178, 172, 54)
HSLhsl(57, 53%, 45%)
HSVhsv(57, 70%, 70%)
CMYKcmyk(0%, 3.4%, 69.7%, 30.2%)
CIE-LABlab(68.92, -11.88, 58.39)
CIE-LCHlch(68.92, 59.59, 101.50°)
OKLaboklab(72.8% -0.0384 0.1302)
OKLCHoklch(72.8% 0.136 106.4)
XYZxyz(33.7798, 39.2375, 9.2835)
Luminance0.3924 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2AC36 #363CB2
analogous
#B26E36 #B2AC36 #7AB236
triadic
#B2AC36 #36B2AC #AC36B2
tetradic
#B2AC36 #36B26E #363CB2 #B2367A
square
#B2AC36 #36B26E #363CB2 #B2367A
split-complementary
#B2AC36 #367AB2 #6E36B2
monochromatic
#54511A #837F28 #B2AC36 #CDC759 #DBD788

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B2AC36#FFFFFF#000000##000000
##B2AC361.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)
#BBA624
Deuteranopia (green-blind)
#BDAA3E
Tritanopia (blue-blind)
#BFA195
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #b2ac36;
/* rgb */ color: rgb(178, 172, 54);
/* oklch */ color: oklch(72.8% 0.136 106.4);
Tailwind
colors: {
  custom: {
    50: '#ccc474',
    500: '#b2ac36',
    950: '#000000',
  },
}
SCSS
$custom: #b2ac36;
$custom-light: #ccc474;
$custom-dark: #000000;
JSON
{
  "hex": "#b2ac36",
  "rgb": {
    "r": 178,
    "g": 172,
    "b": 54
  },
  "hsl": {
    "h": 57.097,
    "s": 53.448,
    "l": 45.49
  },
  "oklch": {
    "l": 0.72801,
    "c": 0.13572,
    "h": 106.4
  },
  "luminance": 0.39236
}

Semantic roles & 50–950 ramp

primary
#B2AC36
secondary
#7F82C5
accent
#52DD4B
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141209
muted
#83817B

Preview Lab

Preview with #B2AC36

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

Preview Lab → · Contrast checker → · Palette generator →

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