#B1AE27#B1AE27

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

Color values

HEX#B1AE27
RGBrgb(177, 174, 39)
HSLhsl(59, 64%, 42%)
HSVhsv(59, 78%, 69%)
CMYKcmyk(0%, 1.7%, 78%, 30.6%)
CIE-LABlab(69.30, -14.02, 63.93)
CIE-LCHlch(69.30, 65.45, 102.37°)
OKLaboklab(73.06% -0.0458 0.1392)
OKLCHoklch(73.06% 0.147 108.2)
XYZxyz(33.6351, 39.7668, 7.8231)
Luminance0.3977 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1AE27 #272AB1
analogous
#B16927 #B1AE27 #6FB127
triadic
#B1AE27 #27B1AE #AE27B1
tetradic
#B1AE27 #27B169 #272AB1 #B1276F
square
#B1AE27 #27B169 #272AB1 #B1276F
split-complementary
#B1AE27 #276FB1 #6927B1
monochromatic
#4D4B11 #7F7D1C #B1AE27 #D5D240 #E0DE72

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B1AE27#FFFFFF#000000##000000
##B1AE271.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)
#BDA700
Deuteranopia (green-blind)
#BFAB33
Tritanopia (blue-blind)
#BEA295
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #b1ae27;
/* rgb */ color: rgb(177, 174, 39);
/* oklch */ color: oklch(73.1% 0.147 108.2);
Tailwind
colors: {
  custom: {
    50: '#ccc56d',
    500: '#b1ae27',
    950: '#000000',
  },
}
SCSS
$custom: #b1ae27;
$custom-light: #ccc56d;
$custom-dark: #000000;
JSON
{
  "hex": "#b1ae27",
  "rgb": {
    "r": 177,
    "g": 174,
    "b": 39
  },
  "hsl": {
    "h": 58.696,
    "s": 63.889,
    "l": 42.353
  },
  "oklch": {
    "l": 0.73057,
    "c": 0.14653,
    "h": 108.2
  },
  "luminance": 0.39766
}

Semantic roles & 50–950 ramp

primary
#B1AE27
secondary
#6D6FC7
accent
#45E741
background
#FDFCF6
surface
#FAF8EC
border
#D3D1C7
text
#141208
muted
#83817B

Preview Lab

Preview with #B1AE27

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

Preview Lab → · Contrast checker → · Palette generator →

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