#B0AC2A#B0AC2A

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

Color values

HEX#B0AC2A
RGBrgb(176, 172, 42)
HSLhsl(58, 61%, 43%)
HSVhsv(58, 76%, 69%)
CMYKcmyk(0%, 2.3%, 76.1%, 31%)
CIE-LABlab(68.68, -13.31, 62.39)
CIE-LCHlch(68.68, 63.79, 102.05°)
OKLaboklab(72.55% -0.0435 0.1365)
OKLCHoklch(72.55% 0.143 107.7)
XYZxyz(33.0763, 38.9035, 7.9568)
Luminance0.3890 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B0AC2A #2A2EB0
analogous
#B0692A #B0AC2A #71B02A
triadic
#B0AC2A #2AB0AC #AC2AB0
tetradic
#B0AC2A #2AB069 #2A2EB0 #B02A71
square
#B0AC2A #2AB069 #2A2EB0 #B02A71
split-complementary
#B0AC2A #2A71B0 #692AB0
monochromatic
#4D4B12 #7F7C1E #B0AC2A #D3CE45 #DEDB76

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B0AC2A#FFFFFF#000000##000000
##B0AC2A1.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)
#BBA509
Deuteranopia (green-blind)
#BDAA35
Tritanopia (blue-blind)
#BDA094
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #b0ac2a;
/* rgb */ color: rgb(176, 172, 42);
/* oklch */ color: oklch(72.5% 0.143 107.7);
Tailwind
colors: {
  custom: {
    50: '#cbc46e',
    500: '#b0ac2a',
    950: '#000000',
  },
}
SCSS
$custom: #b0ac2a;
$custom-light: #cbc46e;
$custom-dark: #000000;
JSON
{
  "hex": "#b0ac2a",
  "rgb": {
    "r": 176,
    "g": 172,
    "b": 42
  },
  "hsl": {
    "h": 58.209,
    "s": 61.468,
    "l": 42.745
  },
  "oklch": {
    "l": 0.72545,
    "c": 0.14326,
    "h": 107.7
  },
  "luminance": 0.38902
}

Semantic roles & 50–950 ramp

primary
#B0AC2A
secondary
#7072C6
accent
#48E543
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B0AC2A

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

Preview Lab → · Contrast checker → · Palette generator →

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