#B1AE20#B1AE20

#B1AE20 is a light, vivid yellow. Relative luminance 0.397; OKLCH L 73.0% C 0.150 H 108.3°. Best body text is #000000 at 8.94:1 contrast (WCAG AA passes).

Color values

HEX#B1AE20
RGBrgb(177, 174, 32)
HSLhsl(59, 69%, 41%)
HSVhsv(59, 82%, 69%)
CMYKcmyk(0%, 1.7%, 81.9%, 30.6%)
CIE-LABlab(69.27, -14.26, 65.89)
CIE-LCHlch(69.27, 67.42, 102.21°)
OKLaboklab(73.02% -0.047 0.1421)
OKLCHoklch(73.02% 0.15 108.3)
XYZxyz(33.5296, 39.7246, 7.2676)
Luminance0.3972 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1AE20 #2023B1
analogous
#B16520 #B1AE20 #6BB120
triadic
#B1AE20 #20B1AE #AE20B1
tetradic
#B1AE20 #20B165 #2023B1 #B1206B
square
#B1AE20 #20B165 #2023B1 #B1206B
split-complementary
#B1AE20 #206BB1 #6520B1
monochromatic
#49480D #7D7B17 #B1AE20 #DAD734 #E4E168

Accessibility & contrast

On white

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

On black

8.94
#B1AE20 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B1AE20
8.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1AE20#FFFFFF#000000##000000
##B1AE201.002.358.948.94
#FFFFFF2.351.0021.0021.00
#0000008.9421.001.001.00
##0000008.9421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b1ae20;
/* rgb */ color: rgb(177, 174, 32);
/* oklch */ color: oklch(73.0% 0.150 108.3);
Tailwind
colors: {
  custom: {
    50: '#ccc56a',
    500: '#b1ae20',
    950: '#000000',
  },
}
SCSS
$custom: #b1ae20;
$custom-light: #ccc56a;
$custom-dark: #000000;
JSON
{
  "hex": "#b1ae20",
  "rgb": {
    "r": 177,
    "g": 174,
    "b": 32
  },
  "hsl": {
    "h": 58.759,
    "s": 69.378,
    "l": 40.98
  },
  "oklch": {
    "l": 0.73023,
    "c": 0.14969,
    "h": 108.3
  },
  "luminance": 0.39723
}

Semantic roles & 50–950 ramp

primary
#B1AE20
secondary
#6466C9
accent
#3FEC3C
background
#FDFCF6
surface
#FAF8EC
border
#D3D1C7
text
#141207
muted
#83817A

Preview Lab

Preview with #B1AE20

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

Preview Lab → · Contrast checker → · Palette generator →

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