#B0AC26#B0AC26

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

Color values

HEX#B0AC26
RGBrgb(176, 172, 38)
HSLhsl(58, 64%, 42%)
HSVhsv(58, 78%, 69%)
CMYKcmyk(0%, 2.3%, 78.4%, 31%)
CIE-LABlab(68.66, -13.47, 63.63)
CIE-LCHlch(68.66, 65.04, 101.95°)
OKLaboklab(72.52% -0.0442 0.1384)
OKLCHoklch(72.52% 0.145 107.7)
XYZxyz(33.0082, 38.8762, 7.5985)
Luminance0.3887 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B0AC26 #262AB0
analogous
#B06726 #B0AC26 #6FB026
triadic
#B0AC26 #26B0AC #AC26B0
tetradic
#B0AC26 #26B067 #262AB0 #B0266F
square
#B0AC26 #26B067 #262AB0 #B0266F
split-complementary
#B0AC26 #266FB0 #6726B0
monochromatic
#4B4A10 #7E7B1B #B0AC26 #D5D13E #E0DD70

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #b0ac26;
/* rgb */ color: rgb(176, 172, 38);
/* oklch */ color: oklch(72.5% 0.145 107.7);
Tailwind
colors: {
  custom: {
    50: '#cbc46d',
    500: '#b0ac26',
    950: '#000000',
  },
}
SCSS
$custom: #b0ac26;
$custom-light: #cbc46d;
$custom-dark: #000000;
JSON
{
  "hex": "#b0ac26",
  "rgb": {
    "r": 176,
    "g": 172,
    "b": 38
  },
  "hsl": {
    "h": 58.261,
    "s": 64.486,
    "l": 41.961
  },
  "oklch": {
    "l": 0.72523,
    "c": 0.14531,
    "h": 107.7
  },
  "luminance": 0.38875
}

Semantic roles & 50–950 ramp

primary
#B0AC26
secondary
#6B6DC7
accent
#45E740
background
#FDFCF6
surface
#FAF8EC
border
#D3D1C7
text
#141208
muted
#83817B

Preview Lab

Preview with #B0AC26

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

Preview Lab → · Contrast checker → · Palette generator →

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