#B0AC22#B0AC22

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

Color values

HEX#B0AC22
RGBrgb(176, 172, 34)
HSLhsl(58, 68%, 41%)
HSVhsv(58, 81%, 69%)
CMYKcmyk(0%, 2.3%, 80.7%, 31%)
CIE-LABlab(68.64, -13.61, 64.78)
CIE-LCHlch(68.64, 66.19, 101.87°)
OKLaboklab(72.5% -0.045 0.1401)
OKLCHoklch(72.5% 0.147 107.8)
XYZxyz(32.9471, 38.8518, 7.2767)
Luminance0.3885 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B0AC22 #2226B0
analogous
#B06522 #B0AC22 #6DB022
triadic
#B0AC22 #22B0AC #AC22B0
tetradic
#B0AC22 #22B065 #2226B0 #B0226D
square
#B0AC22 #22B065 #2226B0 #B0226D
split-complementary
#B0AC22 #226DB0 #6522B0
monochromatic
#49480E #7D7A18 #B0AC22 #D8D437 #E2DF6A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B0AC22#FFFFFF#000000##000000
##B0AC221.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)
#BDAA2F
Tritanopia (blue-blind)
#BDA093
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #b0ac22;
/* rgb */ color: rgb(176, 172, 34);
/* oklch */ color: oklch(72.5% 0.147 107.8);
Tailwind
colors: {
  custom: {
    50: '#ccc46b',
    500: '#b0ac22',
    950: '#000000',
  },
}
SCSS
$custom: #b0ac22;
$custom-light: #ccc46b;
$custom-dark: #000000;
JSON
{
  "hex": "#b0ac22",
  "rgb": {
    "r": 176,
    "g": 172,
    "b": 34
  },
  "hsl": {
    "h": 58.31,
    "s": 67.619,
    "l": 41.176
  },
  "oklch": {
    "l": 0.72503,
    "c": 0.14717,
    "h": 107.8
  },
  "luminance": 0.38851
}

Semantic roles & 50–950 ramp

primary
#B0AC22
secondary
#6668C8
accent
#42EA3D
background
#FDFCF6
surface
#FAF8EC
border
#D3D1C7
text
#141207
muted
#83817A

Preview Lab

Preview with #B0AC22

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

Preview Lab → · Contrast checker → · Palette generator →

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