#B0AC28#B0AC28

#B0AC28 is a light, vivid yellow. Relative luminance 0.389; OKLCH L 72.5% C 0.144 H 107.7°. Best body text is #000000 at 8.78:1 contrast (WCAG AA passes).

Color values

HEX#B0AC28
RGBrgb(176, 172, 40)
HSLhsl(58, 63%, 42%)
HSVhsv(58, 77%, 69%)
CMYKcmyk(0%, 2.3%, 77.3%, 31%)
CIE-LABlab(68.67, -13.39, 63.02)
CIE-LCHlch(68.67, 64.43, 102.00°)
OKLaboklab(72.53% -0.0439 0.1375)
OKLCHoklch(72.53% 0.144 107.7)
XYZxyz(33.0414, 38.8895, 7.7730)
Luminance0.3889 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B0AC28 #282CB0
analogous
#B06828 #B0AC28 #70B028
triadic
#B0AC28 #28B0AC #AC28B0
tetradic
#B0AC28 #28B068 #282CB0 #B02870
square
#B0AC28 #28B068 #282CB0 #B02870
split-complementary
#B0AC28 #2870B0 #6828B0
monochromatic
#4C4B11 #7E7B1D #B0AC28 #D4D041 #DFDC73

Accessibility & contrast

On white

2.39
#B0AC28 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.78
#B0AC28 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B0AC28
8.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B0AC28#FFFFFF#000000##000000
##B0AC281.002.398.788.78
#FFFFFF2.391.0021.0021.00
#0000008.7821.001.001.00
##0000008.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA503
Deuteranopia (green-blind)
#BDAA33
Tritanopia (blue-blind)
#BDA093
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #b0ac28;
/* rgb */ color: rgb(176, 172, 40);
/* oklch */ color: oklch(72.5% 0.144 107.7);
Tailwind
colors: {
  custom: {
    50: '#cbc46d',
    500: '#b0ac28',
    950: '#000000',
  },
}
SCSS
$custom: #b0ac28;
$custom-light: #cbc46d;
$custom-dark: #000000;
JSON
{
  "hex": "#b0ac28",
  "rgb": {
    "r": 176,
    "g": 172,
    "b": 40
  },
  "hsl": {
    "h": 58.235,
    "s": 62.963,
    "l": 42.353
  },
  "oklch": {
    "l": 0.72533,
    "c": 0.14431,
    "h": 107.7
  },
  "luminance": 0.38888
}

Semantic roles & 50–950 ramp

primary
#B0AC28
secondary
#6D70C6
accent
#47E642
background
#FDFCF6
surface
#FAF8EC
border
#D3D1C7
text
#141208
muted
#83817B

Preview Lab

Preview with #B0AC28

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

Preview Lab → · Contrast checker → · Palette generator →

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