#B0AB24#B0AB24

#B0AB24 is a light, vivid yellow. Relative luminance 0.385; OKLCH L 72.3% C 0.145 H 107.3°. Best body text is #000000 at 8.70:1 contrast (WCAG AA passes).

Color values

HEX#B0AB24
RGBrgb(176, 171, 36)
HSLhsl(58, 66%, 42%)
HSVhsv(58, 80%, 69%)
CMYKcmyk(0%, 2.8%, 79.5%, 31%)
CIE-LABlab(68.38, -13.03, 63.97)
CIE-LCHlch(68.38, 65.28, 101.51°)
OKLaboklab(72.29% -0.0432 0.1388)
OKLCHoklch(72.29% 0.145 107.3)
XYZxyz(32.7872, 38.4845, 7.3699)
Luminance0.3848 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B0AB24 #2429B0
analogous
#B06524 #B0AB24 #6FB024
triadic
#B0AB24 #24B0AB #AB24B0
tetradic
#B0AB24 #24B065 #2429B0 #B0246F
square
#B0AB24 #24B065 #2429B0 #B0246F
split-complementary
#B0AB24 #246FB0 #6524B0
monochromatic
#4A480F #7D7A1A #B0AB24 #D7D13A #E1DD6D

Accessibility & contrast

On white

2.41
#B0AB24 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.70
#B0AB24 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B0AB24
8.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B0AB24#FFFFFF#000000##000000
##B0AB241.002.418.708.70
#FFFFFF2.411.0021.0021.00
#0000008.7021.001.001.00
##0000008.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA400
Deuteranopia (green-blind)
#BDA930
Tritanopia (blue-blind)
#BD9F92
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #b0ab24;
/* rgb */ color: rgb(176, 171, 36);
/* oklch */ color: oklch(72.3% 0.145 107.3);
Tailwind
colors: {
  custom: {
    50: '#ccc36c',
    500: '#b0ab24',
    950: '#000000',
  },
}
SCSS
$custom: #b0ab24;
$custom-light: #ccc36c;
$custom-dark: #000000;
JSON
{
  "hex": "#b0ab24",
  "rgb": {
    "r": 176,
    "g": 171,
    "b": 36
  },
  "hsl": {
    "h": 57.857,
    "s": 66.038,
    "l": 41.569
  },
  "oklch": {
    "l": 0.72292,
    "c": 0.14533,
    "h": 107.3
  },
  "luminance": 0.38483
}

Semantic roles & 50–950 ramp

primary
#B0AB24
secondary
#686CC8
accent
#45E93F
background
#FDFBF6
surface
#FAF7EC
border
#D3D0C7
text
#141207
muted
#83817A

Preview Lab

Preview with #B0AB24

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

Preview Lab → · Contrast checker → · Palette generator →

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