#B0AB32#B0AB32

#B0AB32 is a light, vivid yellow. Relative luminance 0.386; OKLCH L 72.4% C 0.138 H 107.0°. Best body text is #000000 at 8.72:1 contrast (WCAG AA passes).

Color values

HEX#B0AB32
RGBrgb(176, 171, 50)
HSLhsl(58, 56%, 44%)
HSVhsv(58, 72%, 69%)
CMYKcmyk(0%, 2.8%, 71.6%, 31%)
CIE-LABlab(68.45, -12.44, 59.38)
CIE-LCHlch(68.45, 60.67, 101.83°)
OKLaboklab(72.38% -0.0403 0.1316)
OKLCHoklch(72.38% 0.138 107)
XYZxyz(33.0444, 38.5874, 8.7245)
Luminance0.3859 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B0AB32 #3237B0
analogous
#B06C32 #B0AB32 #76B032
triadic
#B0AB32 #32B0AB #AB32B0
tetradic
#B0AB32 #32B06C #3237B0 #B03276
square
#B0AB32 #32B06C #3237B0 #B03276
split-complementary
#B0AB32 #3276B0 #6C32B0
monochromatic
#514E17 #807D24 #B0AB32 #CEC951 #DBD881

Accessibility & contrast

On white

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

On black

8.72
#B0AB32 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B0AB32
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B0AB32#FFFFFF#000000##000000
##B0AB321.002.418.728.72
#FFFFFF2.411.0021.0021.00
#0000008.7221.001.001.00
##0000008.7221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b0ab32;
/* rgb */ color: rgb(176, 171, 50);
/* oklch */ color: oklch(72.4% 0.138 107.0);
Tailwind
colors: {
  custom: {
    50: '#cbc372',
    500: '#b0ab32',
    950: '#000000',
  },
}
SCSS
$custom: #b0ab32;
$custom-light: #cbc372;
$custom-dark: #000000;
JSON
{
  "hex": "#b0ab32",
  "rgb": {
    "r": 176,
    "g": 171,
    "b": 50
  },
  "hsl": {
    "h": 57.619,
    "s": 55.752,
    "l": 44.314
  },
  "oklch": {
    "l": 0.72376,
    "c": 0.13764,
    "h": 107
  },
  "luminance": 0.38586
}

Semantic roles & 50–950 ramp

primary
#B0AB32
secondary
#797CC4
accent
#4FDF49
background
#FCFBF7
surface
#F9F7ED
border
#D2D0C8
text
#141208
muted
#82817B

Preview Lab

Preview with #B0AB32

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

Preview Lab → · Contrast checker → · Palette generator →

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