#B1AD28#B1AD28

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

Color values

HEX#B1AD28
RGBrgb(177, 173, 40)
HSLhsl(58, 63%, 43%)
HSVhsv(58, 77%, 69%)
CMYKcmyk(0%, 2.3%, 77.4%, 30.6%)
CIE-LABlab(69.03, -13.47, 63.38)
CIE-LCHlch(69.03, 64.79, 102.00°)
OKLaboklab(72.84% -0.0441 0.1382)
OKLCHoklch(72.84% 0.145 107.7)
XYZxyz(33.4594, 39.3886, 7.8473)
Luminance0.3939 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1AD28 #282CB1
analogous
#B16828 #B1AD28 #71B128
triadic
#B1AD28 #28B1AD #AD28B1
tetradic
#B1AD28 #28B168 #282CB1 #B12871
square
#B1AD28 #28B168 #282CB1 #B12871
split-complementary
#B1AD28 #2871B1 #6828B1
monochromatic
#4D4B11 #7F7C1D #B1AD28 #D4D042 #E0DC74

Accessibility & contrast

On white

2.37
#B1AD28 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.88
#B1AD28 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B1AD28
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1AD28#FFFFFF#000000##000000
##B1AD281.002.378.888.88
#FFFFFF2.371.0021.0021.00
#0000008.8821.001.001.00
##0000008.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA602
Deuteranopia (green-blind)
#BEAB33
Tritanopia (blue-blind)
#BEA194
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #b1ad28;
/* rgb */ color: rgb(177, 173, 40);
/* oklch */ color: oklch(72.8% 0.145 107.7);
Tailwind
colors: {
  custom: {
    50: '#ccc56e',
    500: '#b1ad28',
    950: '#000000',
  },
}
SCSS
$custom: #b1ad28;
$custom-light: #ccc56e;
$custom-dark: #000000;
JSON
{
  "hex": "#b1ad28",
  "rgb": {
    "r": 177,
    "g": 173,
    "b": 40
  },
  "hsl": {
    "h": 58.248,
    "s": 63.134,
    "l": 42.549
  },
  "oklch": {
    "l": 0.72842,
    "c": 0.14509,
    "h": 107.7
  },
  "luminance": 0.39387
}

Semantic roles & 50–950 ramp

primary
#B1AD28
secondary
#6E71C7
accent
#46E642
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B1AD28

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

Preview Lab → · Contrast checker → · Palette generator →

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