#B1AD2A#B1AD2A

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

Color values

HEX#B1AD2A
RGBrgb(177, 173, 42)
HSLhsl(58, 62%, 43%)
HSVhsv(58, 76%, 69%)
CMYKcmyk(0%, 2.3%, 76.3%, 30.6%)
CIE-LABlab(69.04, -13.39, 62.75)
CIE-LCHlch(69.04, 64.16, 102.05°)
OKLaboklab(72.85% -0.0437 0.1372)
OKLCHoklch(72.85% 0.144 107.7)
XYZxyz(33.4943, 39.4026, 8.0312)
Luminance0.3940 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1AD2A #2A2EB1
analogous
#B1692A #B1AD2A #72B12A
triadic
#B1AD2A #2AB1AD #AD2AB1
tetradic
#B1AD2A #2AB169 #2A2EB1 #B12A72
square
#B1AD2A #2AB169 #2A2EB1 #B12A72
split-complementary
#B1AD2A #2A72B1 #692AB1
monochromatic
#4E4C13 #807D1E #B1AD2A #D3CF45 #DFDC77

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B1AD2A#FFFFFF#000000##000000
##B1AD2A1.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)
#BCA608
Deuteranopia (green-blind)
#BEAB35
Tritanopia (blue-blind)
#BEA194
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #b1ad2a;
/* rgb */ color: rgb(177, 173, 42);
/* oklch */ color: oklch(72.9% 0.144 107.7);
Tailwind
colors: {
  custom: {
    50: '#ccc56f',
    500: '#b1ad2a',
    950: '#000000',
  },
}
SCSS
$custom: #b1ad2a;
$custom-light: #ccc56f;
$custom-dark: #000000;
JSON
{
  "hex": "#b1ad2a",
  "rgb": {
    "r": 177,
    "g": 173,
    "b": 42
  },
  "hsl": {
    "h": 58.222,
    "s": 61.644,
    "l": 42.941
  },
  "oklch": {
    "l": 0.72853,
    "c": 0.14404,
    "h": 107.7
  },
  "luminance": 0.39401
}

Semantic roles & 50–950 ramp

primary
#B1AD2A
secondary
#7073C6
accent
#48E543
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B1AD2A

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

Preview Lab → · Contrast checker → · Palette generator →

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