#B1AE31#B1AE31

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

Color values

HEX#B1AE31
RGBrgb(177, 174, 49)
HSLhsl(59, 57%, 44%)
HSVhsv(59, 72%, 69%)
CMYKcmyk(0%, 1.7%, 72.3%, 30.6%)
CIE-LABlab(69.36, -13.60, 60.65)
CIE-LCHlch(69.36, 62.16, 102.64°)
OKLaboklab(73.12% -0.0437 0.1341)
OKLCHoklch(73.12% 0.141 108)
XYZxyz(33.8232, 39.8421, 8.8138)
Luminance0.3984 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1AE31 #3134B1
analogous
#B16E31 #B1AE31 #74B131
triadic
#B1AE31 #31B1AE #AE31B1
tetradic
#B1AE31 #31B16E #3134B1 #B13174
square
#B1AE31 #31B16E #3134B1 #B13174
split-complementary
#B1AE31 #3174B1 #6E31B1
monochromatic
#515016 #817F24 #B1AE31 #CFCC51 #DCDA80

Accessibility & contrast

On white

2.34
#B1AE31 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.97
#B1AE31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B1AE31
8.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1AE31#FFFFFF#000000##000000
##B1AE311.002.348.978.97
#FFFFFF2.341.0021.0021.00
#0000008.9721.001.001.00
##0000008.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA71A
Deuteranopia (green-blind)
#BFAB3A
Tritanopia (blue-blind)
#BEA396
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #b1ae31;
/* rgb */ color: rgb(177, 174, 49);
/* oklch */ color: oklch(73.1% 0.141 108.0);
Tailwind
colors: {
  custom: {
    50: '#ccc572',
    500: '#b1ae31',
    950: '#000000',
  },
}
SCSS
$custom: #b1ae31;
$custom-light: #ccc572;
$custom-dark: #000000;
JSON
{
  "hex": "#b1ae31",
  "rgb": {
    "r": 177,
    "g": 174,
    "b": 49
  },
  "hsl": {
    "h": 58.594,
    "s": 56.637,
    "l": 44.314
  },
  "oklch": {
    "l": 0.73117,
    "c": 0.14103,
    "h": 108
  },
  "luminance": 0.39841
}

Semantic roles & 50–950 ramp

primary
#B1AE31
secondary
#797BC5
accent
#4BE048
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B1AE31

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

Preview Lab → · Contrast checker → · Palette generator →

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