#B3AB1D#B3AB1D

#B3AB1D is a light, vivid yellow. Relative luminance 0.388; OKLCH L 72.5% C 0.148 H 106.0°. Best body text is #000000 at 8.76:1 contrast (WCAG AA passes).

Color values

HEX#B3AB1D
RGBrgb(179, 171, 29)
HSLhsl(57, 72%, 41%)
HSVhsv(57, 84%, 70%)
CMYKcmyk(0%, 4.5%, 83.8%, 29.8%)
CIE-LABlab(68.61, -11.93, 66.16)
CIE-LCHlch(68.61, 67.23, 100.22°)
OKLaboklab(72.53% -0.0408 0.1421)
OKLCHoklch(72.53% 0.148 106)
XYZxyz(33.3766, 38.7995, 6.8931)
Luminance0.3880 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3AB1D #1D25B3
analogous
#B3601D #B3AB1D #70B31D
triadic
#B3AB1D #1DB3AB #AB1DB3
tetradic
#B3AB1D #1DB360 #1D25B3 #B31D70
square
#B3AB1D #1DB360 #1D25B3 #B31D70
split-complementary
#B3AB1D #1D70B3 #601DB3
monochromatic
#4A460C #7E7914 #B3AB1D #DDD430 #E6DF64

Accessibility & contrast

On white

2.40
#B3AB1D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.76
#B3AB1D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B3AB1D
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B3AB1D#FFFFFF#000000##000000
##B3AB1D1.002.408.768.76
#FFFFFF2.401.0021.0021.00
#0000008.7621.001.001.00
##0000008.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA400
Deuteranopia (green-blind)
#BEAA2B
Tritanopia (blue-blind)
#C19F92
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #b3ab1d;
/* rgb */ color: rgb(179, 171, 29);
/* oklch */ color: oklch(72.5% 0.148 106.0);
Tailwind
colors: {
  custom: {
    50: '#cec369',
    500: '#b3ab1d',
    950: '#000000',
  },
}
SCSS
$custom: #b3ab1d;
$custom-light: #cec369;
$custom-dark: #000000;
JSON
{
  "hex": "#b3ab1d",
  "rgb": {
    "r": 179,
    "g": 171,
    "b": 29
  },
  "hsl": {
    "h": 56.8,
    "s": 72.115,
    "l": 40.784
  },
  "oklch": {
    "l": 0.72528,
    "c": 0.14781,
    "h": 106
  },
  "luminance": 0.38798
}

Semantic roles & 50–950 ramp

primary
#B3AB1D
secondary
#6167CB
accent
#43EF39
background
#FDFBF6
surface
#FAF7EC
border
#D3D0C7
text
#141207
muted
#83817A

Preview Lab

Preview with #B3AB1D

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

Preview Lab → · Contrast checker → · Palette generator →

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