#B0AB21#B0AB21

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

Color values

HEX#B0AB21
RGBrgb(176, 171, 33)
HSLhsl(58, 68%, 41%)
HSVhsv(58, 81%, 69%)
CMYKcmyk(0%, 2.8%, 81.3%, 31%)
CIE-LABlab(68.36, -13.13, 64.81)
CIE-LCHlch(68.36, 66.12, 101.45°)
OKLaboklab(72.28% -0.0437 0.14)
OKLCHoklch(72.28% 0.147 107.3)
XYZxyz(32.7433, 38.4669, 7.1386)
Luminance0.3847 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B0AB21 #2126B0
analogous
#B06321 #B0AB21 #6DB021
triadic
#B0AB21 #21B0AB #AB21B0
tetradic
#B0AB21 #21B063 #2126B0 #B0216D
square
#B0AB21 #21B063 #2126B0 #B0216D
split-complementary
#B0AB21 #216DB0 #6321B0
monochromatic
#49470E #7C7917 #B0AB21 #D9D335 #E3DF69

Accessibility & contrast

On white

2.42
#B0AB21 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.69
#B0AB21 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B0AB21
8.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B0AB21#FFFFFF#000000##000000
##B0AB211.002.428.698.69
#FFFFFF2.421.0021.0021.00
#0000008.6921.001.001.00
##0000008.6921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b0ab21;
/* rgb */ color: rgb(176, 171, 33);
/* oklch */ color: oklch(72.3% 0.147 107.3);
Tailwind
colors: {
  custom: {
    50: '#ccc36a',
    500: '#b0ab21',
    950: '#000000',
  },
}
SCSS
$custom: #b0ab21;
$custom-light: #ccc36a;
$custom-dark: #000000;
JSON
{
  "hex": "#b0ab21",
  "rgb": {
    "r": 176,
    "g": 171,
    "b": 33
  },
  "hsl": {
    "h": 57.902,
    "s": 68.421,
    "l": 40.98
  },
  "oklch": {
    "l": 0.72278,
    "c": 0.14668,
    "h": 107.3
  },
  "luminance": 0.38466
}

Semantic roles & 50–950 ramp

primary
#B0AB21
secondary
#6468C8
accent
#43EB3D
background
#FDFBF6
surface
#FAF7EC
border
#D3D0C7
text
#141207
muted
#83817A

Preview Lab

Preview with #B0AB21

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

Preview Lab → · Contrast checker → · Palette generator →

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