#B1AD20#B1AD20

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

Color values

HEX#B1AD20
RGBrgb(177, 173, 32)
HSLhsl(58, 69%, 41%)
HSVhsv(58, 82%, 69%)
CMYKcmyk(0%, 2.3%, 81.9%, 30.6%)
CIE-LABlab(69.00, -13.75, 65.66)
CIE-LCHlch(69.00, 67.08, 101.83°)
OKLaboklab(72.8% -0.0455 0.1416)
OKLCHoklch(72.8% 0.149 107.8)
XYZxyz(33.3371, 39.3397, 7.2035)
Luminance0.3934 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1AD20 #2024B1
analogous
#B16420 #B1AD20 #6CB120
triadic
#B1AD20 #20B1AD #AD20B1
tetradic
#B1AD20 #20B164 #2024B1 #B1206C
square
#B1AD20 #20B164 #2024B1 #B1206C
split-complementary
#B1AD20 #206CB1 #6420B1
monochromatic
#49480D #7D7A17 #B1AD20 #DAD634 #E4E068

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B1AD20#FFFFFF#000000##000000
##B1AD201.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)
#BEAB2D
Tritanopia (blue-blind)
#BEA194
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #b1ad20;
/* rgb */ color: rgb(177, 173, 32);
/* oklch */ color: oklch(72.8% 0.149 107.8);
Tailwind
colors: {
  custom: {
    50: '#ccc56a',
    500: '#b1ad20',
    950: '#000000',
  },
}
SCSS
$custom: #b1ad20;
$custom-light: #ccc56a;
$custom-dark: #000000;
JSON
{
  "hex": "#b1ad20",
  "rgb": {
    "r": 177,
    "g": 173,
    "b": 32
  },
  "hsl": {
    "h": 58.345,
    "s": 69.378,
    "l": 40.98
  },
  "oklch": {
    "l": 0.72802,
    "c": 0.14876,
    "h": 107.8
  },
  "luminance": 0.39339
}

Semantic roles & 50–950 ramp

primary
#B1AD20
secondary
#6466C9
accent
#40EC3C
background
#FDFCF6
surface
#FAF8EC
border
#D3D1C7
text
#141207
muted
#83817A

Preview Lab

Preview with #B1AD20

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

Preview Lab → · Contrast checker → · Palette generator →

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