#B3AB20#B3AB20

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

Color values

HEX#B3AB20
RGBrgb(179, 171, 32)
HSLhsl(57, 70%, 41%)
HSVhsv(57, 82%, 70%)
CMYKcmyk(0%, 4.5%, 82.1%, 29.8%)
CIE-LABlab(68.62, -11.84, 65.40)
CIE-LCHlch(68.62, 66.46, 100.26°)
OKLaboklab(72.54% -0.0403 0.141)
OKLCHoklch(72.54% 0.147 106)
XYZxyz(33.4155, 38.8151, 7.0981)
Luminance0.3881 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3AB20 #2028B3
analogous
#B36220 #B3AB20 #72B320
triadic
#B3AB20 #20B3AB #AB20B3
tetradic
#B3AB20 #20B362 #2028B3 #B32072
square
#B3AB20 #20B362 #2028B3 #B32072
split-complementary
#B3AB20 #2072B3 #6220B3
monochromatic
#4B480D #7F7917 #B3AB20 #DBD235 #E4DE69

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B3AB20#FFFFFF#000000##000000
##B3AB201.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)
#BEAA2D
Tritanopia (blue-blind)
#C19F92
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #b3ab20;
/* rgb */ color: rgb(179, 171, 32);
/* oklch */ color: oklch(72.5% 0.147 106.0);
Tailwind
colors: {
  custom: {
    50: '#cec36a',
    500: '#b3ab20',
    950: '#000000',
  },
}
SCSS
$custom: #b3ab20;
$custom-light: #cec36a;
$custom-dark: #000000;
JSON
{
  "hex": "#b3ab20",
  "rgb": {
    "r": 179,
    "g": 171,
    "b": 32
  },
  "hsl": {
    "h": 56.735,
    "s": 69.668,
    "l": 41.373
  },
  "oklch": {
    "l": 0.72541,
    "c": 0.14662,
    "h": 106
  },
  "luminance": 0.38814
}

Semantic roles & 50–950 ramp

primary
#B3AB20
secondary
#656ACA
accent
#45EC3B
background
#FDFBF6
surface
#FAF7EC
border
#D3D0C7
text
#141207
muted
#83817A

Preview Lab

Preview with #B3AB20

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

Preview Lab → · Contrast checker → · Palette generator →

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