#B3AD1B#B3AD1B

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

Color values

HEX#B3AD1B
RGBrgb(179, 173, 27)
HSLhsl(58, 74%, 40%)
HSVhsv(58, 85%, 70%)
CMYKcmyk(0%, 3.4%, 84.9%, 29.8%)
CIE-LABlab(69.15, -13.01, 67.09)
CIE-LCHlch(69.15, 68.35, 100.98°)
OKLaboklab(72.96% -0.0439 0.1438)
OKLCHoklch(72.96% 0.15 107)
XYZxyz(33.7333, 39.5512, 6.8939)
Luminance0.3955 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3AD1B #1B21B3
analogous
#B3611B #B3AD1B #6DB31B
triadic
#B3AD1B #1BB3AD #AD1BB3
tetradic
#B3AD1B #1BB361 #1B21B3 #B31B6D
square
#B3AD1B #1BB361 #1B21B3 #B31B6D
split-complementary
#B3AD1B #1B6DB3 #611BB3
monochromatic
#49460B #7E7A13 #B3AD1B #DFD82C #E7E261

Accessibility & contrast

On white

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

On black

8.91
#B3AD1B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B3AD1B
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B3AD1B#FFFFFF#000000##000000
##B3AD1B1.002.368.918.91
#FFFFFF2.361.0021.0021.00
#0000008.9121.001.001.00
##0000008.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA600
Deuteranopia (green-blind)
#BFAB2A
Tritanopia (blue-blind)
#C1A194
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #b3ad1b;
/* rgb */ color: rgb(179, 173, 27);
/* oklch */ color: oklch(73.0% 0.150 107.0);
Tailwind
colors: {
  custom: {
    50: '#cec569',
    500: '#b3ad1b',
    950: '#000000',
  },
}
SCSS
$custom: #b3ad1b;
$custom-light: #cec569;
$custom-dark: #000000;
JSON
{
  "hex": "#b3ad1b",
  "rgb": {
    "r": 179,
    "g": 173,
    "b": 27
  },
  "hsl": {
    "h": 57.632,
    "s": 73.786,
    "l": 40.392
  },
  "oklch": {
    "l": 0.72959,
    "c": 0.15032,
    "h": 107
  },
  "luminance": 0.3955
}

Semantic roles & 50–950 ramp

primary
#B3AD1B
secondary
#5E62CC
accent
#3FF037
background
#FDFCF6
surface
#FAF8EC
border
#D3D1C7
text
#141207
muted
#83817A

Preview Lab

Preview with #B3AD1B

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

Preview Lab → · Contrast checker → · Palette generator →

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