#B1AD26#B1AD26

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

Color values

HEX#B1AD26
RGBrgb(177, 173, 38)
HSLhsl(58, 65%, 42%)
HSVhsv(58, 79%, 69%)
CMYKcmyk(0%, 2.3%, 78.5%, 30.6%)
CIE-LABlab(69.02, -13.55, 63.98)
CIE-LCHlch(69.02, 65.40, 101.96°)
OKLaboklab(72.83% -0.0445 0.1391)
OKLCHoklch(72.83% 0.146 107.7)
XYZxyz(33.4262, 39.3754, 7.6728)
Luminance0.3937 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1AD26 #262AB1
analogous
#B16726 #B1AD26 #70B126
triadic
#B1AD26 #26B1AD #AD26B1
tetradic
#B1AD26 #26B167 #262AB1 #B12670
square
#B1AD26 #26B167 #262AB1 #B12670
split-complementary
#B1AD26 #2670B1 #6726B1
monochromatic
#4C4B10 #7F7C1B #B1AD26 #D6D13F #E0DD71

Accessibility & contrast

On white

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

On black

8.87
#B1AD26 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B1AD26
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1AD26#FFFFFF#000000##000000
##B1AD261.002.378.878.87
#FFFFFF2.371.0021.0021.00
#0000008.8721.001.001.00
##0000008.8721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b1ad26;
/* rgb */ color: rgb(177, 173, 38);
/* oklch */ color: oklch(72.8% 0.146 107.7);
Tailwind
colors: {
  custom: {
    50: '#ccc56d',
    500: '#b1ad26',
    950: '#000000',
  },
}
SCSS
$custom: #b1ad26;
$custom-light: #ccc56d;
$custom-dark: #000000;
JSON
{
  "hex": "#b1ad26",
  "rgb": {
    "r": 177,
    "g": 173,
    "b": 38
  },
  "hsl": {
    "h": 58.273,
    "s": 64.651,
    "l": 42.157
  },
  "oklch": {
    "l": 0.72831,
    "c": 0.14608,
    "h": 107.7
  },
  "luminance": 0.39374
}

Semantic roles & 50–950 ramp

primary
#B1AD26
secondary
#6B6EC7
accent
#45E840
background
#FDFCF6
surface
#FAF8EC
border
#D3D1C7
text
#141208
muted
#83817B

Preview Lab

Preview with #B1AD26

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

Preview Lab → · Contrast checker → · Palette generator →

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