#B3AB2B#B3AB2B

#B3AB2B is a light, vivid yellow. Relative luminance 0.389; OKLCH L 72.6% C 0.141 H 105.7°. Best body text is #000000 at 8.78:1 contrast (WCAG AA passes).

Color values

HEX#B3AB2B
RGBrgb(179, 171, 43)
HSLhsl(56, 61%, 44%)
HSVhsv(56, 76%, 70%)
CMYKcmyk(0%, 4.5%, 76%, 29.8%)
CIE-LABlab(68.67, -11.44, 62.14)
CIE-LCHlch(68.67, 63.18, 100.43°)
OKLaboklab(72.6% -0.0383 0.1361)
OKLCHoklch(72.6% 0.141 105.7)
XYZxyz(33.5908, 38.8852, 8.0212)
Luminance0.3888 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3AB2B #2B33B3
analogous
#B3672B #B3AB2B #77B32B
triadic
#B3AB2B #2BB3AB #AB2BB3
tetradic
#B3AB2B #2BB367 #2B33B3 #B32B77
square
#B3AB2B #2BB367 #2B33B3 #B32B77
split-complementary
#B3AB2B #2B77B3 #672BB3
monochromatic
#504D13 #827C1F #B3AB2B #D3CB48 #DFD979

Accessibility & contrast

On white

2.39
#B3AB2B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.78
#B3AB2B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B3AB2B
8.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B3AB2B#FFFFFF#000000##000000
##B3AB2B1.002.398.788.78
#FFFFFF2.391.0021.0021.00
#0000008.7821.001.001.00
##0000008.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA50D
Deuteranopia (green-blind)
#BDAA35
Tritanopia (blue-blind)
#C19F93
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #b3ab2b;
/* rgb */ color: rgb(179, 171, 43);
/* oklch */ color: oklch(72.6% 0.141 105.7);
Tailwind
colors: {
  custom: {
    50: '#cec36f',
    500: '#b3ab2b',
    950: '#000000',
  },
}
SCSS
$custom: #b3ab2b;
$custom-light: #cec36f;
$custom-dark: #000000;
JSON
{
  "hex": "#b3ab2b",
  "rgb": {
    "r": 179,
    "g": 171,
    "b": 43
  },
  "hsl": {
    "h": 56.471,
    "s": 61.261,
    "l": 43.529
  },
  "oklch": {
    "l": 0.72598,
    "c": 0.14134,
    "h": 105.7
  },
  "luminance": 0.38884
}

Semantic roles & 50–950 ramp

primary
#B3AB2B
secondary
#7378C7
accent
#4DE443
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B3AB2B

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

Preview Lab → · Contrast checker → · Palette generator →

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