#B1AE28#B1AE28

#B1AE28 is a light, vivid yellow. Relative luminance 0.398; OKLCH L 73.1% C 0.146 H 108.2°. Best body text is #000000 at 8.95:1 contrast (WCAG AA passes).

Color values

HEX#B1AE28
RGBrgb(177, 174, 40)
HSLhsl(59, 63%, 43%)
HSVhsv(59, 77%, 69%)
CMYKcmyk(0%, 1.7%, 77.4%, 30.6%)
CIE-LABlab(69.31, -13.99, 63.63)
CIE-LCHlch(69.31, 65.14, 102.40°)
OKLaboklab(73.06% -0.0456 0.1387)
OKLCHoklch(73.06% 0.146 108.2)
XYZxyz(33.6519, 39.7735, 7.9115)
Luminance0.3977 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1AE28 #282BB1
analogous
#B16928 #B1AE28 #70B128
triadic
#B1AE28 #28B1AE #AE28B1
tetradic
#B1AE28 #28B169 #282BB1 #B12870
square
#B1AE28 #28B169 #282BB1 #B12870
split-complementary
#B1AE28 #2870B1 #6928B1
monochromatic
#4D4C11 #7F7D1D #B1AE28 #D4D142 #E0DD74

Accessibility & contrast

On white

2.35
#B1AE28 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.95
#B1AE28 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B1AE28
8.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1AE28#FFFFFF#000000##000000
##B1AE281.002.358.958.95
#FFFFFF2.351.0021.0021.00
#0000008.9521.001.001.00
##0000008.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA701
Deuteranopia (green-blind)
#BFAB33
Tritanopia (blue-blind)
#BEA295
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #b1ae28;
/* rgb */ color: rgb(177, 174, 40);
/* oklch */ color: oklch(73.1% 0.146 108.2);
Tailwind
colors: {
  custom: {
    50: '#ccc56e',
    500: '#b1ae28',
    950: '#000000',
  },
}
SCSS
$custom: #b1ae28;
$custom-light: #ccc56e;
$custom-dark: #000000;
JSON
{
  "hex": "#b1ae28",
  "rgb": {
    "r": 177,
    "g": 174,
    "b": 40
  },
  "hsl": {
    "h": 58.686,
    "s": 63.134,
    "l": 42.549
  },
  "oklch": {
    "l": 0.73062,
    "c": 0.14604,
    "h": 108.2
  },
  "luminance": 0.39772
}

Semantic roles & 50–950 ramp

primary
#B1AE28
secondary
#6E70C7
accent
#45E642
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B1AE28

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

Preview Lab → · Contrast checker → · Palette generator →

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