#B2AB29#B2AB29

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

Color values

HEX#B2AB29
RGBrgb(178, 171, 41)
HSLhsl(57, 63%, 43%)
HSVhsv(57, 77%, 70%)
CMYKcmyk(0%, 3.9%, 77%, 30.2%)
CIE-LABlab(68.57, -11.96, 62.67)
CIE-LCHlch(68.57, 63.80, 100.81°)
OKLaboklab(72.5% -0.0399 0.1369)
OKLCHoklch(72.5% 0.143 106.2)
XYZxyz(33.3246, 38.7521, 7.8219)
Luminance0.3875 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2AB29 #2930B2
analogous
#B26629 #B2AB29 #75B229
triadic
#B2AB29 #29B2AB #AB29B2
tetradic
#B2AB29 #29B266 #2930B2 #B22975
square
#B2AB29 #29B266 #2930B2 #B22975
split-complementary
#B2AB29 #2975B2 #6629B2
monochromatic
#4F4B12 #807B1E #B2AB29 #D4CD44 #DFDA76

Accessibility & contrast

On white

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

On black

8.75
#B2AB29 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2AB29
8.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2AB29#FFFFFF#000000##000000
##B2AB291.002.408.758.75
#FFFFFF2.401.0021.0021.00
#0000008.7521.001.001.00
##0000008.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA407
Deuteranopia (green-blind)
#BDAA33
Tritanopia (blue-blind)
#BF9F93
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #b2ab29;
/* rgb */ color: rgb(178, 171, 41);
/* oklch */ color: oklch(72.5% 0.143 106.2);
Tailwind
colors: {
  custom: {
    50: '#cdc36e',
    500: '#b2ab29',
    950: '#000000',
  },
}
SCSS
$custom: #b2ab29;
$custom-light: #cdc36e;
$custom-dark: #000000;
JSON
{
  "hex": "#b2ab29",
  "rgb": {
    "r": 178,
    "g": 171,
    "b": 41
  },
  "hsl": {
    "h": 56.934,
    "s": 62.557,
    "l": 42.941
  },
  "oklch": {
    "l": 0.72497,
    "c": 0.14254,
    "h": 106.2
  },
  "luminance": 0.38751
}

Semantic roles & 50–950 ramp

primary
#B2AB29
secondary
#7074C7
accent
#4BE642
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B2AB29

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

Preview Lab → · Contrast checker → · Palette generator →

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