#B2AA29#B2AA29

#B2AA29 is a light, vivid yellow. Relative luminance 0.384; OKLCH L 72.3% C 0.142 H 105.7°. Best body text is #000000 at 8.67:1 contrast (WCAG AA passes).

Color values

HEX#B2AA29
RGBrgb(178, 170, 41)
HSLhsl(56, 63%, 43%)
HSVhsv(56, 77%, 70%)
CMYKcmyk(0%, 4.5%, 77%, 30.2%)
CIE-LABlab(68.30, -11.44, 62.42)
CIE-LCHlch(68.30, 63.46, 100.39°)
OKLaboklab(72.28% -0.0384 0.1363)
OKLCHoklch(72.28% 0.142 105.7)
XYZxyz(33.1365, 38.3758, 7.7592)
Luminance0.3837 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2AA29 #2931B2
analogous
#B26529 #B2AA29 #76B229
triadic
#B2AA29 #29B2AA #AA29B2
tetradic
#B2AA29 #29B265 #2931B2 #B22976
square
#B2AA29 #29B265 #2931B2 #B22976
split-complementary
#B2AA29 #2976B2 #6529B2
monochromatic
#4F4B12 #807A1E #B2AA29 #D4CC44 #DFD976

Accessibility & contrast

On white

2.42
#B2AA29 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.67
#B2AA29 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2AA29
8.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2AA29#FFFFFF#000000##000000
##B2AA291.002.428.678.67
#FFFFFF2.421.0021.0021.00
#0000008.6721.001.001.00
##0000008.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A407
Deuteranopia (green-blind)
#BCA933
Tritanopia (blue-blind)
#C09E92
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #b2aa29;
/* rgb */ color: rgb(178, 170, 41);
/* oklch */ color: oklch(72.3% 0.142 105.7);
Tailwind
colors: {
  custom: {
    50: '#cdc36e',
    500: '#b2aa29',
    950: '#000000',
  },
}
SCSS
$custom: #b2aa29;
$custom-light: #cdc36e;
$custom-dark: #000000;
JSON
{
  "hex": "#b2aa29",
  "rgb": {
    "r": 178,
    "g": 170,
    "b": 41
  },
  "hsl": {
    "h": 56.496,
    "s": 62.557,
    "l": 42.941
  },
  "oklch": {
    "l": 0.72278,
    "c": 0.14163,
    "h": 105.7
  },
  "luminance": 0.38375
}

Semantic roles & 50–950 ramp

primary
#B2AA29
secondary
#7075C7
accent
#4CE642
background
#FDFBF6
surface
#FAF7EC
border
#D3D0C7
text
#141208
muted
#83817B

Preview Lab

Preview with #B2AA29

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

Preview Lab → · Contrast checker → · Palette generator →

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