#B1AD27#B1AD27

#B1AD27 is a light, vivid yellow. Relative luminance 0.394; OKLCH L 72.8% C 0.146 H 107.7°. Best body text is #000000 at 8.88:1 contrast (WCAG AA passes).

Color values

HEX#B1AD27
RGBrgb(177, 173, 39)
HSLhsl(58, 64%, 42%)
HSVhsv(58, 78%, 69%)
CMYKcmyk(0%, 2.3%, 78%, 30.6%)
CIE-LABlab(69.03, -13.51, 63.68)
CIE-LCHlch(69.03, 65.10, 101.98°)
OKLaboklab(72.84% -0.0443 0.1387)
OKLCHoklch(72.84% 0.146 107.7)
XYZxyz(33.4426, 39.3819, 7.7589)
Luminance0.3938 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1AD27 #272BB1
analogous
#B16827 #B1AD27 #70B127
triadic
#B1AD27 #27B1AD #AD27B1
tetradic
#B1AD27 #27B168 #272BB1 #B12770
square
#B1AD27 #27B168 #272BB1 #B12770
split-complementary
#B1AD27 #2770B1 #6827B1
monochromatic
#4D4B11 #7F7C1C #B1AD27 #D5D140 #E0DD72

Accessibility & contrast

On white

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

On black

8.88
#B1AD27 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B1AD27
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1AD27#FFFFFF#000000##000000
##B1AD271.002.378.888.88
#FFFFFF2.371.0021.0021.00
#0000008.8821.001.001.00
##0000008.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA600
Deuteranopia (green-blind)
#BEAB32
Tritanopia (blue-blind)
#BEA194
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #b1ad27;
/* rgb */ color: rgb(177, 173, 39);
/* oklch */ color: oklch(72.8% 0.146 107.7);
Tailwind
colors: {
  custom: {
    50: '#ccc56d',
    500: '#b1ad27',
    950: '#000000',
  },
}
SCSS
$custom: #b1ad27;
$custom-light: #ccc56d;
$custom-dark: #000000;
JSON
{
  "hex": "#b1ad27",
  "rgb": {
    "r": 177,
    "g": 173,
    "b": 39
  },
  "hsl": {
    "h": 58.261,
    "s": 63.889,
    "l": 42.353
  },
  "oklch": {
    "l": 0.72836,
    "c": 0.14558,
    "h": 107.7
  },
  "luminance": 0.39381
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B1AD27

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

Preview Lab → · Contrast checker → · Palette generator →

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