#B1AD2C#B1AD2C

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

Color values

HEX#B1AD2C
RGBrgb(177, 173, 44)
HSLhsl(58, 60%, 43%)
HSVhsv(58, 75%, 69%)
CMYKcmyk(0%, 2.3%, 75.1%, 30.6%)
CIE-LABlab(69.05, -13.31, 62.10)
CIE-LCHlch(69.05, 63.51, 102.10°)
OKLaboklab(72.87% -0.0433 0.1362)
OKLCHoklch(72.87% 0.143 107.6)
XYZxyz(33.5310, 39.4172, 8.2244)
Luminance0.3942 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1AD2C #2C30B1
analogous
#B16A2C #B1AD2C #73B12C
triadic
#B1AD2C #2CB1AD #AD2CB1
tetradic
#B1AD2C #2CB16A #2C30B1 #B12C73
square
#B1AD2C #2CB16A #2C30B1 #B12C73
split-complementary
#B1AD2C #2C73B1 #6A2CB1
monochromatic
#4F4D14 #807D20 #B1AD2C #D2CE49 #DEDB7A

Accessibility & contrast

On white

2.36
#B1AD2C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##B1AD2C#FFFFFF#000000##000000
##B1AD2C1.002.368.888.88
#FFFFFF2.361.0021.0021.00
#0000008.8821.001.001.00
##0000008.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA60F
Deuteranopia (green-blind)
#BEAB36
Tritanopia (blue-blind)
#BEA195
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #b1ad2c;
/* rgb */ color: rgb(177, 173, 44);
/* oklch */ color: oklch(72.9% 0.143 107.6);
Tailwind
colors: {
  custom: {
    50: '#ccc56f',
    500: '#b1ad2c',
    950: '#000000',
  },
}
SCSS
$custom: #b1ad2c;
$custom-light: #ccc56f;
$custom-dark: #000000;
JSON
{
  "hex": "#b1ad2c",
  "rgb": {
    "r": 177,
    "g": 173,
    "b": 44
  },
  "hsl": {
    "h": 58.195,
    "s": 60.181,
    "l": 43.333
  },
  "oklch": {
    "l": 0.72865,
    "c": 0.14296,
    "h": 107.6
  },
  "luminance": 0.39416
}

Semantic roles & 50–950 ramp

primary
#B1AD2C
secondary
#7375C6
accent
#49E344
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B1AD2C

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

Preview Lab → · Contrast checker → · Palette generator →

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