#B2AD29#B2AD29

#B2AD29 is a light, vivid yellow. Relative luminance 0.395; OKLCH L 72.9% C 0.144 H 107.2°. Best body text is #000000 at 8.90:1 contrast (WCAG AA passes).

Color values

HEX#B2AD29
RGBrgb(178, 173, 41)
HSLhsl(58, 63%, 43%)
HSVhsv(58, 77%, 70%)
CMYKcmyk(0%, 2.8%, 77%, 30.2%)
CIE-LABlab(69.12, -13.00, 63.17)
CIE-LCHlch(69.12, 64.50, 101.62°)
OKLaboklab(72.94% -0.0428 0.1379)
OKLCHoklch(72.94% 0.144 107.2)
XYZxyz(33.7053, 39.5134, 7.9488)
Luminance0.3951 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2AD29 #292EB2
analogous
#B26829 #B2AD29 #73B229
triadic
#B2AD29 #29B2AD #AD29B2
tetradic
#B2AD29 #29B268 #292EB2 #B22973
square
#B2AD29 #29B268 #292EB2 #B22973
split-complementary
#B2AD29 #2973B2 #6829B2
monochromatic
#4F4C12 #807D1E #B2AD29 #D4CF44 #DFDC76

Accessibility & contrast

On white

2.36
#B2AD29 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.90
#B2AD29 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2AD29
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2AD29#FFFFFF#000000##000000
##B2AD291.002.368.908.90
#FFFFFF2.361.0021.0021.00
#0000008.9021.001.001.00
##0000008.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA605
Deuteranopia (green-blind)
#BFAB34
Tritanopia (blue-blind)
#BFA194
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #b2ad29;
/* rgb */ color: rgb(178, 173, 41);
/* oklch */ color: oklch(72.9% 0.144 107.2);
Tailwind
colors: {
  custom: {
    50: '#cdc56e',
    500: '#b2ad29',
    950: '#000000',
  },
}
SCSS
$custom: #b2ad29;
$custom-light: #cdc56e;
$custom-dark: #000000;
JSON
{
  "hex": "#b2ad29",
  "rgb": {
    "r": 178,
    "g": 173,
    "b": 41
  },
  "hsl": {
    "h": 57.81,
    "s": 62.557,
    "l": 42.941
  },
  "oklch": {
    "l": 0.72935,
    "c": 0.1444,
    "h": 107.2
  },
  "luminance": 0.39512
}

Semantic roles & 50–950 ramp

primary
#B2AD29
secondary
#7073C7
accent
#48E642
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B2AD29

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

Preview Lab → · Contrast checker → · Palette generator →

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