#B0AC21#B0AC21

#B0AC21 is a light, vivid yellow. Relative luminance 0.388; OKLCH L 72.5% C 0.148 H 107.8°. Best body text is #000000 at 8.77:1 contrast (WCAG AA passes).

Color values

HEX#B0AC21
RGBrgb(176, 172, 33)
HSLhsl(58, 68%, 41%)
HSVhsv(58, 81%, 69%)
CMYKcmyk(0%, 2.3%, 81.3%, 31%)
CIE-LABlab(68.64, -13.64, 65.05)
CIE-LCHlch(68.64, 66.46, 101.85°)
OKLaboklab(72.5% -0.0451 0.1405)
OKLCHoklch(72.5% 0.148 107.8)
XYZxyz(32.9329, 38.8461, 7.2018)
Luminance0.3885 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B0AC21 #2125B0
analogous
#B06421 #B0AC21 #6CB021
triadic
#B0AC21 #21B0AC #AC21B0
tetradic
#B0AC21 #21B064 #2125B0 #B0216C
square
#B0AC21 #21B064 #2125B0 #B0216C
split-complementary
#B0AC21 #216CB0 #6421B0
monochromatic
#49470E #7C7A17 #B0AC21 #D9D535 #E3DF69

Accessibility & contrast

On white

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

On black

8.77
#B0AC21 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B0AC21
8.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B0AC21#FFFFFF#000000##000000
##B0AC211.002.398.778.77
#FFFFFF2.391.0021.0021.00
#0000008.7721.001.001.00
##0000008.7721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b0ac21;
/* rgb */ color: rgb(176, 172, 33);
/* oklch */ color: oklch(72.5% 0.148 107.8);
Tailwind
colors: {
  custom: {
    50: '#ccc46b',
    500: '#b0ac21',
    950: '#000000',
  },
}
SCSS
$custom: #b0ac21;
$custom-light: #ccc46b;
$custom-dark: #000000;
JSON
{
  "hex": "#b0ac21",
  "rgb": {
    "r": 176,
    "g": 172,
    "b": 33
  },
  "hsl": {
    "h": 58.322,
    "s": 68.421,
    "l": 40.98
  },
  "oklch": {
    "l": 0.72498,
    "c": 0.1476,
    "h": 107.8
  },
  "luminance": 0.38845
}

Semantic roles & 50–950 ramp

primary
#B0AC21
secondary
#6467C8
accent
#41EB3D
background
#FDFCF6
surface
#FAF8EC
border
#D3D1C7
text
#141207
muted
#83817A

Preview Lab

Preview with #B0AC21

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

Preview Lab → · Contrast checker → · Palette generator →

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